Thursday, January 1, 2009

Asterisk and a WGR614v9

I have a nice asterisk setup in a Buffalo Linkstation to get cheap international calls. It's worked nicely for several months.

On the other hand, the wireless router I used to have (a hand me down) had issues. A LAN port burned out, it provides 800.11b and the new laptop I have communicates poorly with it.

So with the new year I decided to get a new shiny WGR614 wireless router. Setting it up from my Linux network went fine. You are instructed to use http://www.routerconfig.net/ to get to the web setup provided by the router. So far so good.

But then Asterisk stopped working... strange. My VoIP provider (Sipphone) started giving 401 and 404 errors. As if my user and/or password were wrong. After many tries and false attempts to 'fix' asterisk and the router setup I stumbled on the answer.

Upgrade the firmware. That gives a nice new setting:

WAN Setup >> Disable SIP ALG


Voila!

Now I wonder. What was the router doing to mangle SIP packets such that other programs (Ekiga, for example) would work but not Asterisk?

But now it works, so I am happy.