[asterisk-users] Differences between Chan_SIP and PJSIP with NAT and STUN

Joshua Colp jcolp at digium.com
Mon Mar 7 14:44:04 CST 2016


Chirag Desai wrote:
>
>     Joshua Colp wrote:
>
>     There should be nothing different, except for how you configure things.
>     What is the full PJSIP configuration? What is the environment where
>     Asterisk is running? Is ICE actually in use on the other side? What is
>     the full SIP trace?
>
>
>
> The full configuration is here:
>
> http://pastebin.com/XqZG1m5X
>
> I am connection over TLS / SRTP on port 5063.
> When I put in a stun server asterisk sends media to the phone's external IP.
>
> The asterisk is has a public IP and internal IP. It is internet facing,
> and is not behind NAT.

Have you done a packet capture to see if the RTP from the remote device 
is hitting the machine to narrow things down?

-- 
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