[Asterisk-Users] Running Asterisk behind NAT?
Terence Chan
terence.chan at verizon.net
Tue Aug 12 22:36:11 MST 2003
Hi! I am sorry to send the question again, I would like to check if someone
can help me out on this.
I would like to ask if it is possible to run Asterisk behind NAT. I have a
linksys router that forwarded the port UDP 5082 to the local IP of my
Asterisk box, I got the error 479 when I try to register my Asterisk box
with FWD. (see detail below).
Have anyone got Asterisk working behind NAT and successfully registers with
FWD?
Any pointer or information will be appreciated.
Thanks!
Terence
-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Terence Chan
Sent: Sunday, August 10, 2003 3:13 PM
To: asterisk-users at lists.digium.com
Subject: RE: [Asterisk-Users] Registering SIP with FWD and ICONNECTHERE
Hi! I am new to Asterisk too, I got the similar problem and I would like to
know how to get * to work behind NAT.
When I have the SIP Debug turn on, I got the error 479 from FWD when * try
to register with FWD, it looks like * is using the local IP (192.168.x.x) in
the Contact field. I have put the nat=yes in the [FWD.Pulver.com] content,
but it does not seems to make Asterisk aware the external IP
I would like to check if there anyway set * to work behind NAT and
successfully register with FWD.
Thanks a lot!
Terence
-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Senad Jordanovic
Sent: Sunday, August 10, 2003 8:57 AM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] Registering SIP with FWD and ICONNECTHERE
Hi,
I am trying to register a SIP service(s) with FWD and ICONNECTHERE.
Here is my sip.conf:
------------------------------------------------
[general]
port =5060
bindaddr =0.0.0.0
context =default
calledid=No CallID
register => 400703:PASSWORD at fwd.pulver.com/400703
register => USERNAME:PASSWORD at sipauth.deltathree.com/400703
[fwd]
type=friend
username=USERNAME
secret=PASSWORD
host=fwd.pulver.com
dtmfmode=inband
[iconnect]
type=friend
username=USERNAME
secret=PASSWORD
host=sipauth.deltathree.com
dtmfmode=inband
----------------------------------------------
Here is error output i get:
File chan_sip.c, Line 388 (retrans_pkt): Maximum retries exceeded on call
23bb9b484917dd803090b59678ee9a4c at 212.159.81.202 for seqno 102 (Request)
NOTICE[81926]: File chan_sip.c, Line 2476 (sip_reg_timeout): Registration
for '400703 at 192.246.69.223' timed out, trying again
WARNING[81926]: File chan_sip.c, Line 388 (retrans_pkt): Maximum retries
exceeded on call 23bb9b484917dd803090b59678ee9a4c at 212.159.81.202 for seqno
102 (Request)
NOTICE[81926]: File chan_sip.c, Line 2476 (sip_reg_timeout): Registration
for '400703 at 192.246.69.223' timed out, trying again
It shows "212.159.81.202" IP, which is one of old IPs i used when astrisk
was originally installed. Now the asterisk is behind NAT.
Anyone had the same problem?
Senad
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list