Page 1 of 1

Asterisk behind NAT

PostPosted: Tue Jul 01, 2014 9:59 am
by DarnoQ
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.

Re: Asterisk behind NAT

PostPosted: Tue Jul 01, 2014 11:27 am
by geoff3dmg
your router is doing bad things and mangling the SIP in an attempt to 'help'. Tell it to stop and leave the packets alone.