Ricardo Martins
2009-Jun-16 13:39 UTC
[asterisk-users] no sdp or contact replacement using externip
Hi all! Do anybody has a full working environment using externip on an asterisk box behind a nat? I tried with two diferent boxes (Elastix-1.4.24 e Trixbox-1.4.22-3)and the asterisk do not replace neither contact, neither sdp headers info with the externip informed on sip.conf general parameters. I used these two statements: externip=XXX.XXX.XXX.XXX localnet=192.168.200.0/255.255.255.0 Do anybody in list had those dificulties? That's strange because I could not make this work on two diferent instalations! Trying hard to think about what's missing. Regards, Ricardo.
Michelle Dupuis
2009-Jun-16 14:02 UTC
[asterisk-users] no sdp or contact replacement using externip
Yes - we typically install behind NAT. The issue will usually be your firewall setup ...assuming you have setup your peers for NAT. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Ricardo Martins Sent: Tuesday, June 16, 2009 9:40 AM To: Asterisk Users List Subject: [asterisk-users] no sdp or contact replacement using externip Hi all! Do anybody has a full working environment using externip on an asterisk box behind a nat? I tried with two diferent boxes (Elastix-1.4.24 e Trixbox-1.4.22-3)and the asterisk do not replace neither contact, neither sdp headers info with the externip informed on sip.conf general parameters. I used these two statements: externip=XXX.XXX.XXX.XXX localnet=192.168.200.0/255.255.255.0 Do anybody in list had those dificulties? That's strange because I could not make this work on two diferent instalations! Trying hard to think about what's missing. Regards, Ricardo. _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Gordon Henderson
2009-Jun-16 14:13 UTC
[asterisk-users] no sdp or contact replacement using externip
On Tue, 16 Jun 2009, Ricardo Martins wrote:> Hi all! Do anybody has a full working environment using externip on an > asterisk box behind a nat? I tried with two diferent boxes > (Elastix-1.4.24 e Trixbox-1.4.22-3)and the asterisk do not replace > neither contact, neither sdp headers info with the externip informed on > sip.conf general parameters. > > I used these two statements: > > externip=XXX.XXX.XXX.XXX > localnet=192.168.200.0/255.255.255.0 > > > Do anybody in list had those dificulties? That's strange because I could > not make this work on two diferent instalations! Trying hard to think > about what's missing.I have dozens of boxes doing it this way. All "just work". Have you nat=yes in there too? Also you did port-forward from the router to the box as well, didn't you? Often the router will have a broke SIP ALG which will get in the way too. Turn it off if you can. Gordon
Apparently Analagous Threads
- Asterisk behind NAT and Kamailio --> Internal IP in SDP and not "externip"
- Script to automatically update externip. Useful for a host with dynamic public IP
- SIP behind NAT - use of "externip" option
- Using a DNS name for externip in sip.conf
- externip nat audio sip trunk issue problem