Chirag Desai
2016-Mar-07 23:43 UTC
[asterisk-users] Differences between Chan_SIP and PJSIP with NAT and STUN
So I see: EXTERNAL_SNOM_IP -> EXTERNAL_ASTERISK_IP (UDP, length 218, src: 60798, dst 11128) EXTERNAL_ASTERISK_IP -> INTERNAL_SNOM_IP (UDP, length 218, src: 11128 dst 60478 So i see udp from the phone, but there's no audio. I do also see some packets :: EXTERNAL_ASTERISK_IP -> EXTERNAL_SNOM_IP (ICMP, length 246, Destination unreachable (Host administratively prohibited) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160307/daf4b7ba/attachment.html>
Joshua Colp
2016-Mar-07 23:57 UTC
[asterisk-users] Differences between Chan_SIP and PJSIP with NAT and STUN
Chirag Desai wrote:> So I see: > > EXTERNAL_SNOM_IP -> EXTERNAL_ASTERISK_IP (UDP, length 218, src: > 60798, dst 11128) > > EXTERNAL_ASTERISK_IP -> INTERNAL_SNOM_IP (UDP, length 218, src: 11128 > dst 60478 > > So i see udp from the phone, but there's no audio.If "rtp set debug on" shows no packets being received then they are not being read off the socket, so I'd check the system and make sure there really is no firewall like I said. Once packets start getting received then we'll change the target address and audio will flow. It may even be that when using TCP or UDP you have some sort of helper which is opening up the right firewall ports and when TLS is in use it can't see the traffic and thus doesn't. -- 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
Chirag Desai
2016-Mar-08 00:02 UTC
[asterisk-users] Differences between Chan_SIP and PJSIP with NAT and STUN
You were right. I had non-default rtp ports open in iptables. Edited rtp.conf et voila. Everything seems to be working. Thanks so much for your patience and guidance! Have a lovely eening. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160308/e8aa90f5/attachment.html>