[asterisk-users] RTP sent to remote internal IP

Joshua Colp jcolp at digium.com
Mon Mar 23 08:59:14 CDT 2015


Harel Cohen wrote:
> Hello List,
> I need your advise please.
> I am trying to establish a call from Asterisk 1.8.15-cert5 to one remote SIP
> UA (not Asterisk), both are behind NAT. That remote peer is configured with
> nat=yes in my sip.conf but yet RTP packets are being sent to its internal IP
> address which is declared in the Connection Information (c) in the SDP,
> obviously reaching nowhere. I need RTP to be sent to the public IP address
> as it is seen on the packet header. Signalling is flowing correctly with no
> issues.
> Could you please advise why is this happening and how to correct this?
> Here is the [peer] in my sip.conf and the SDP in the setup (INVITE + OK).
> I'll be happy to provide any other information if needed:

I think before anyone can fathom a guess you'd need to include Asterisk 
level information. Such as SIP debug on its side, rtp debug. As well - 
have you opened the firewall so RTP can be received at the Asterisk that 
advertises the public IP?

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