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

Santiago Gimeno santiago.gimeno at gmail.com
Tue Jun 16 10:23:16 CDT 2009


I'm not sure if your problem is addressed by this:
https://issues.asterisk.org/view.php?id=14546 . If that's the case it was
solved in version 1.4.25

Best regards,

Santi


2009/6/16 Ricardo Martins <rpoppi77 at gmail.com>

>  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.
>
> 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
>
>
>
> _______________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090616/58a969ef/attachment.htm 


More information about the asterisk-users mailing list