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


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to