[asterisk-users] no sdp or contact replacement using externip

Gordon Henderson gordon+asterisk at drogon.net
Tue Jun 16 09:13:40 CDT 2009


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



More information about the asterisk-users mailing list