[asterisk-users] no sdp or contact replacement using externip
Gordon Henderson
gordon+asterisk at drogon.net
Tue Jun 16 10:50:40 CDT 2009
On Tue, 16 Jun 2009, Ricardo Martins wrote:
> Yes Gordon. I'm using nat=yes and I don't have an ALG enabled
> router/firewall. I used the sip debug output on the asterisk(s) and
> could see the sdp headers as they were gererated by asterisk, with the
> wrong (internal) address on it.
>
> Asterisk is sending the audio to the correct way, the public IP of
> client side NAT. But the client is sending it to the wrong address, the
> private IP of asterisk side NAT.
Er, in that case, I can't suggest what might be wrong. All my boxes out in
the field are 1.2 though...
Gordon
>
> Rgrs, Ricardo.
>
>
> Gordon Henderson escreveu:
>
> 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
>
> _______________________________________________
> -- 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
>
>
>
>
>
>
More information about the asterisk-users
mailing list