Inbound Call Through NAT

Any and all non-support discussions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Inbound Call Through NAT

Postby hasanshahriar » Mon Mar 19, 2012 5:44 am

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
hasanshahriar
 
Posts: 14
Joined: Fri Jan 27, 2012 6:37 am

inbound via NAT

Postby striker » Tue Mar 20, 2012 5:51 am

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
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Postby hasanshahriar » Wed Mar 21, 2012 9:39 am

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.
hasanshahriar
 
Posts: 14
Joined: Fri Jan 27, 2012 6:37 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 49 guests