[Asterisk-Users] Asterisk NAT spa-2000

Simon Chappell s.chappell at isnsuk.com
Sun Jul 18 04:48:31 MST 2004


Hi All,

I have a asterisk box that is now on its own static address on the 
net.it was originally behind a nat firewall.
The problem I have is that the remote SPA-2000's that are behind nat 
firewalls now fail.

here is relevent sip.con entry
[2001]
type=friend
username=2001
host=dynamic
defaultip=81.178.77.67
allow=ulaw
dtmfmode=rfc2833
mailbox=2001 at local
context=sip
callerid="James" <2001>
secret=hidden
canreinvite=no
allow=ulaw
nat=yes
qualify=yes

I added the nat and qualify entries after hunting round google but still 
get this error, spot the no nat bit.
 to 81.178.77.67:34504
Retransmitting #2 (no NAT):
OPTIONS sip:81.178.77.67:34504 SIP/2.0
Via: SIP/2.0/UDP 62.188.201.123:5060;branch=z9hG4bK68af34fa
From: "asterisk" <sip:asterisk at 62.188.201.123>;tag=as5582cfae
To: <sip:81.178.77.67:34504>
Contact: <sip:asterisk at 62.188.201.123>
Call-ID: 338da4884b37c7f352f548ae133cdd4a at 62.188.201.123
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Date: Sun, 18 Jul 2004 12:43:12 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Content-Length: 0

any ideas anyone

thanks in advance

Simon




More information about the asterisk-users mailing list