Wednesday, September 24, 2008

Get a SIP phone to work with openwrt on a linksys WRT54GL

Update: I've changed this to put the file in /tmp which avoids touching the flash memory for the pid file and also avoids the need to mkdir and chmod (which I typoed BTW) and thus allow siproxd to come back up automatically after a reboot.

I bought a WRT54GL today and get openwrt running on it with no hassle. More importantly I got my SIP router thing (a Linksys SPA3102) to work behind it (initially the SIP router was in front of it which is inconvenient in many ways).

To get the SIP thingy working (and also SIP clients on PCs in my home network) I just installed siproxd with

ipkg install siproxd vi /etc/siproxd.conf

The editing of the config file (like most of useful stuff in this post) comes from this page. I changed the following four entries

if_inbound = br-lan if_outbound = eth0.1 registration_file = /tmp/siproxd_registrations pid_file = /tmp/

the first two were the only ones that required any "figuring out". Then I started siproxd and set it to start at boot time too

/etc/init.d/siproxd enable /etc/init.d/siproxd start

After setting up the openwrt box, I just set the outbound proxy for my SIP router and other clients to be my openwrt box and that was that.

Thursday, September 11, 2008

Is the govt's Lisbon study legal?

The govt survey into why Lisbon didn't pass is out. I haven't yet tried to find the original and I wonder what questions were on the survey. I assume it was along the lines of

If you voted "no", was it because you thought Lisbon would bring a) abortion, b) EU army, c) corporation tax harmonisation?
The point being to uncover why "no" voters voted that way.

There could equally have been a survey that went along these lines

If you voted "yes", was it because you thought Lisbon a) would help fight climate change b) necessary for Croatia's entry to the EU c) would give national parliaments to ability to stop bad EU laws?
but no such survey exists.

Is it legal for this government to spend public money on a survey whose sole purpose is to help turn "no" voters into "yes" voters without also spending or providing money for a similar survey to investigate the misunderstandings of "yes" voters and correct them.