WordPress Captcha

Here is a good captcha anti-comment-spam tool for wordpress Make sure to note This comment which has the fix for WordPress 2.0. If you don’t then the captcha is there, but any value will still allow a post. This looks to be an even better version

Blackberry Orphans?

I think not. The Wall Street Journal did a piece on On BlackBerry Orphans, children of parents who are totally obsessed with their BlackBerry or Treos. I’m getting really sick and tired of these “work/life balance” articles. I understand why the media does it. Filling column inches based on the random drivel of so-called experts is pretty easy. Still, there never seems to be much perspective, and what little there is comes in the form of a one line quote from someone interviewed for the story.

Fileserver

halsey# df -h Filesystem size used avail capacity Mounted on /dev/dsk/c0d0s0 9.6G 2.8G 6.8G 30% / proc 0K 0K 0K 0% /proc mnttab 0K 0K 0K 0% /etc/mnttab swap 849M 644K 849M 1% /etc/svc/volatile /dev/dsk/c0d0s4 9.6G 77M 9.5G 1% /var swap 849M 8K 849M 1% /tmp swap 849M 24K 849M 1% /var/run data 919G 49K 919G 1% /data halsey# uname -a SunOS halsey.home.room17.com 5.10 Generic_118855-14 i86pc i386 i86pc

perl code snipet for issuing POST

This took way to long to lookup how to do. This issues a POST command to a cgi ($url), fetches the resulting content back and then parses the XML data. <br /> use XML::Simple;<br /> use LWP::UserAgent;<br /> use HTTP::Request::Common qw(POST);</p> <p> my $ua = LWP::UserAgent->new;</p> <p> my $req = HTTP::Request->new(POST => $url);<br /> $req->content_type(‘application/x-www-form-urlencoded’);<br /> $req->content("Mac_Id=$mac");</p> <p> my $res = $ua->request($req);<br /> my $xml = $res->content;</p> <p> # Parse cfgdata<br /> my $xsl = XML::Simple->new();<br /> my $config = eval { $xsl->XMLin($xml)} ;<br /> if($@) { # bad XML<br /> print "Invalid XML for $mac\n";<br /> print ERROR "Invalid XML for $mac\n";<br /> next;<br /> }</p> <p>

Trixbox Issues

The Web GUI can’t read /var/run/asterisk/asterisk.ctl, chmod 777 fixes System Recordings can’t copy files to the /var/lib/asterisk/sounds/custom/ directory. Not sure the root cuase, but the recorded wav files are /tmp/EXT-ivrrecording.wav where EXT is the extention that dialed *77

Cheap second line – SIPPhone.com

So I’ve been wanting to find a cheap second phone line I could use for the Republican Liberty Caucus. At first I was going to go with FreeWorldDialup and LibreTel for a sip service and DID number, but it turns out LibreTel isn’t selling lines anymore. Bummer. Then I found SipPhone. They are another SIP PC-to-PC calling service, but they offer DID (Direct Inward Dialing) numbers for $12 per 3 months.

Cisco 7960 and ViaTalk

So I wanted to get a BYOD voip provider to move my vongage line to. One of the guys at work sent me a referral from ViaTalk. For $200 I get 2 years of service for about $16/mo. Unlimited minutes, voicemail, etc. Well, when I tried to configure ViaTalk on the Cisco 7960 (firmware 8.3) the phone would lock up after about 12 minutes and require a powercycle to reboot. Not good.