Page 1 of 1

Inbound Call Through NAT

PostPosted: Mon Mar 19, 2012 5:44 am
by hasanshahriar
Dear All,

If anybody knows, please answer the following NAT issue.

My outbound calls through NAT is working fine. But the inbound calls are not coming through DID's. I'm using Cisco 1841 router and I've forwarded TCP/UDP Port 5060 and UDP port range 10000-20000 to the ViCiDial SIP server. I've also permitted the inbound carrier IP in the router as well. My inbound trunk is registering fine with the carrier and the configuration is as follows:

[CarrierName_Inbound]
type=friend
host=xxxx.xxxx.xxxx.xxxx
dtmfmode=rfc2833
fromdomain=xxxx.xxxx.xxxx.xxxx
context=trunkinbound
nat=yes
qualify=yes
externip=xxxx.xxxx.xxxx.xxxx
insecure=very
dtmfmode=rfc2833
disallow=all
allow=g729
allow=uLaw
allow=aLaw

Version:
Asterisk: 1.4.39
ViCIDial Ver: 2.4b0.5
Cent OS: 5.6

inbound via NAT

PostPosted: Tue Mar 20, 2012 5:51 am
by striker
did you tried by entering the following sip configuration

register => username:password@ip:5060/DID


also post your asterisk CLI results while dialling the inbound DID

PostPosted: Wed Mar 21, 2012 9:39 am
by hasanshahriar
I am using IP authentication and hence register string is not required. From the CLI, I can see that my server is NOT getting any hit while I'm calling the DID.

Any idea.