I have a problem with Asterisk Server in connect to SIP Provider. Please help me. Thanks.
Here are information about Asterisk Server below :
Asterisk has 2 NIC : eth0 with IP 10.0.0.2 , eth1 with IP 10.165.1.30
eth0 with NAT (internet FTTH), used for many SIP client with NAT mode.
eth1 with no NAT (used leased line) to connect SIP Provider with SIP Trunking (peer-to-peer).
For local calls : internal calls is OK (configure in SIP setting with NAT = yes, localnet = 10.0.0.0/255.255.0.0, externip = 118.69.68.15)
For PSTN : call in without voice, call out hangup with error “488 = Not Acceptable Here” from Provider Server.
About routing IP (layer 3) : routing with 2 NIC for Asterisk is OK (check with ping, tracert, and SIP message debug).
About SIP connection (layer 7): After check debug, i found that a problem in Contact in SIP message from Asterisk.
Contact: sip:19001234[color=#BF4000]@118.69.68.15 [/color]in SDP session. So the SIP Provider deny calls because of the wrong IP in Contact. Now, i want to change SIP Message Contact sip:19001234@10.165.1.30 to the provider accept calls. However, i don’t know how to change the information. Please help me soon.
PS : when i have tried to remove NAT in SIP setting , call in/call out with the provider is OK (because this time Contact in SIP Signalling will be sip:19001234@10.165.1.30). But with this configuration, SIP clients in WAN is fail. So, asterisk server can’t remove NAT in eth0.
As well as using unsupported software, you haven’t told Asterisk what your public address is. Asterisk is too old to support. FeePBX isn’t supported here.
The problem is almost certainly a configuration error, although I would note that improper dual homed systems are never going to be easy (i.e. ones without autonomous system numbers). For new installs of Asterisk you should use the latest non-beta/non-release candidate minor version of Asterisk 13. We have no knowledge of FreePBX.