I have a standard Asterisk box running on Ubuntu (latest version of both Asterisk & Ubuntu). SIP is working properly and I can make calls from soft phones within my LAN. I have a static IP Address and have port-forwarded 5060 + 10000/10010 UDP through my router allowing SIP registrations from the WAN.
This seems to work. The CLI shows the connection, but then fails saying that the password is wrong. (which it isn’t). If I remove the ‘secret line’ from sip.conf (i.e. no password) the user can then connect externally to my asterisk box. I suspect the MD5 hash forming the password is including the local IP address of the connecting machine, thus when the incoming IP address doesn’t match, neither does the password…? But I might be miles out.
This is the error I get, when I include a password and connect remotely: (static ip & users blanked out)
I’ve had a good delve around the docs and the web - I came across this site - which seemed to suggest a similar problem, but I didn’t understand their solution: forum.voxilla.com/threads/sipura … word.9450/