I am currently running FreePBX with Asterisk 1.8.32.1 installed and it has been working fine for quite some time but recently I noticed my inbound calls were failing.
Upon discussing with the service provider they indicated that the Contact URI is in an incorrect format. In the Registration message being sent to to the provider the header for the From and To addresses are fine in the format of sip:[email protected].
The Contact URI though in which they key on for delivery of calls is showing:
I have a dynamic IP address in theory but it has not changed in 6 months I have it set in the PBX as a static IP as it rarely will change. The FreePBX is behind a router… Regarding Asterisk SIP settings the External IP address is set correctly as well as the Local Network.
Thanks very much for the help - this is driving me nuts!
It’s a DLink DIR-825, but running DD-WRT for the firmware version V24-SP2.
In regards to the router though I don’t believe this to be the problem. The main reason is when performing a packet trace on the inside of my network and looking at the initial register message coming from the FreePBX box the Contact URI already shows "s@.
Thanks again - Asterisk SIP settings were set to NAT Yes already, and I did add it in to one of the sip trunks that is having the issue but still no change. On another note, I have another SIP trunk that is working and putting in the correct Contact URI but to a different provider.
Thanks again for the info and yes definitely one of the first things I had done was reboot (first step in troubleshooting 101 hehe - second step…reboot again!)
I’ll take a look at the other link provided and see what might help from that.