Asterisk behind NAT

All installation and configuration problems and questions

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

Asterisk behind NAT

Postby DarnoQ » Tue Jul 01, 2014 9:59 am

Dear All,
My setup involves router (zentyal) and vicibox 5.0. Im trying to get inbound trunk working but with no success.
This is my carier setup:

register => username:pass@voip.provider.com/trunkinbound

[voipinbound]
host=voip.provide.com
username= username
secret=pass
allow=ulaw,alaw
context=trunkinbound
insecure=port,invite
type=friend
dtmfmode=rfc2833
nat=yes
trustrpid=yes

sip show registry shows that carier is registered ok

I've setup the did and inbound group as stated in manual.

I get this error in CLI:
Failed to authenticate device "numer_im_calling_from" <sip:numer_im_calling_from@router_ip:1028>;tag=as3efa5308

if i change host to my router_ip the calls gets connected but dropped due to lack of packets.
DarnoQ
 
Posts: 32
Joined: Wed Mar 18, 2009 10:59 am

Re: Asterisk behind NAT

Postby geoff3dmg » Tue Jul 01, 2014 11:27 am

your router is doing bad things and mangling the SIP in an attempt to 'help'. Tell it to stop and leave the packets alone.
Vicibox 5.03 from .iso | VERSION: 2.10-451a BUILD: 140902-0816 | Asterisk 1.8.28.2-vici | Multi-Server | Amfeltec H/W Timing Cards | No Extra Software After Installation | Dell PowerEdge 1850 | Pentium 4 'Prescott' Xenon Quad @ 3.40GHz
geoff3dmg
 
Posts: 403
Joined: Tue Jan 29, 2013 4:35 am
Location: Lancashire, UK


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 104 guests