[asterisk-users] RTP / NAT question ( pjsip )
Joshua Colp
jcolp at digium.com
Wed Mar 2 19:00:18 CST 2016
Kevin Long wrote:
>
> I am having trouble with RTP and NAT :
>
>
> Below is a SIP SDP invite from a remote endpoint which is trying to
> call extension 420 which is the ECHO application .
>
>
> As you can see, the public IP is where the request comes in from,
> but the SDP contains the private, internal IP in numerous places.
>
>
> I do have rewrite_contact=yes; on in my pjsip endpoint
> configuration, but still the “rtp set debug on” command is showing
> me that when I dial into the echo application, RTP packets are being
> sent to the private IP and not the public IP .
The "rtp_symmetric" option is used to control this for RTP. When set to
yes media will be sent to the source IP address+port of the received RTP.
Cheers,
--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-users
mailing list