Richard Webb
2011-Sep-21 09:52 UTC
[asterisk-users] RTP stream when * and Xlite are both behind Nat devices.
Hi, I have an Asterisk box behind a NAT address and also a Xlite 4 soft phone behind a different NAT network. Asterisk -> Nat -> Internet -> Nat -> Softphone. I can register my softphone to the asterisk box ok via SIP but the RTP stream from the asterisk box is addressed to the private non-routeable address of the softphone when I turn on rtp debuging. How can I configure the rtp stream to be sent to the public facing address of the softphone? Cheers, Richard. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110921/2caf6a7d/attachment.htm>
neo haux
2011-Sep-22 20:53 UTC
[asterisk-users] RTP stream when * and Xlite are both behind Nat devices.
Hi rcswebb, I had a problem like yours : Asterisk -NAT - internet - NAT - 3CX phone Without modifiyng Astrisk conf I could start a call from the client but without hearing a sound. The solution for me was to force Asterisk to modify the outgoing udp packet to insert it's public ip and not the private IP behind the NAT . So in your sip.conf I modified : [general] *externip=YouEternalIP* NAT=Yes Hope that'll help :-) Message: 11 Date: Wed, 21 Sep 2011 10:52:08 +0100 From: Richard Webb <rcswebb at gmail.com> Subject: [asterisk-users] RTP stream when * and Xlite are both behind Nat devices. To: asterisk-users at lists.digium.com Message-ID: <CAM39q6oL6yTW4SkHq0vmRoUXx_4MkR7P6Zo4shbdh8HVqOd6+Q at mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Hi, I have an Asterisk box behind a NAT address and also a Xlite 4 soft phone behind a different NAT network. Asterisk -> Nat -> Internet -> Nat -> Softphone. I can register my softphone to the asterisk box ok via SIP but the RTP stream from the asterisk box is addressed to the private non-routeable address of the softphone when I turn on rtp debuging. How can I configure the rtp stream to be sent to the public facing address of the softphone? Cheers, -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110922/5bbc7412/attachment.htm>