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

Joshua Colp jcolp at digium.com
Mon Mar 7 16:06:03 CST 2016


Chirag Desai wrote:
> I'm dialling from the snom and every few calls asterisk sends media to
> the phones external IP and it works!
>
> And then now and again it sends the media to the phones internal IP and
> I hear nothing. I'm really at a loss.

In the non-working case check the IP address in the SDP, if it's the 
external then we've told the phone to send it to the right place. After 
that do a packet capture and see if the packets are arriving on the 
machine. If not then look outside the machine at things.

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