I have a peculiar RTP issue. I'm experimenting with Jitsi as a softphone on one of my desktop Windows machines. That machine can either be connected to Asterisk via an VPN connection (with a static IP address) or not (via NAT). When it's connected via NAT, all is OK. When it's connected with VPN, the following occurs: The voice path inbound to Jitsi works fine when Jitsi originates the call, no matter what it's calling. The voice path inbound to Jitsi works fine when it's called from another SIP device. The voice path inbound to Jitsi is silent when it's called from something on the other side of a PRI via DAHDI. I've run Wireshark on my desktop and see the RTP packets coming at the same rate and protocol (g711) in all the cases and "sip set debug peer xyz" doesn't shed any light on the situation (the SDP data looks similar in the working and non-worknig cases). Does anybody have any ideas what to look at next?
Richard Kenner wrote:> I have a peculiar RTP issue. I'm experimenting with Jitsi as a softphone > on one of my desktop Windows machines. That machine can either be connected > to Asterisk via an VPN connection (with a static IP address) or not (via NAT). > When it's connected via NAT, all is OK. > > When it's connected with VPN, the following occurs: > > The voice path inbound to Jitsi works fine when Jitsi originates the call, > no matter what it's calling. > > The voice path inbound to Jitsi works fine when it's called from another SIP > device. > > The voice path inbound to Jitsi is silent when it's called from something > on the other side of a PRI via DAHDI.What's the configuration like for Jitsi in sip.conf? What version of Asterisk? What does the SIP signaling look like? Cheers, -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: www.digium.com & www.asterisk.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/24/12 4:07 PM, Richard Kenner wrote:> I have a peculiar RTP issue. I'm experimenting with Jitsi as a > softphone on one of my desktop Windows machines. That machine can > either be connected to Asterisk via an VPN connection (with a > static IP address) or not (via NAT). When it's connected via NAT, > all is OK. > > When it's connected with VPN, the following occurs: > > The voice path inbound to Jitsi works fine when Jitsi originates > the call, no matter what it's calling. > > The voice path inbound to Jitsi works fine when it's called from > another SIP device. > > The voice path inbound to Jitsi is silent when it's called from > something on the other side of a PRI via DAHDI. > > I've run Wireshark on my desktop and see the RTP packets coming at > the same rate and protocol (g711) in all the cases and "sip set > debug peer xyz" doesn't shed any light on the situation (the SDP > data looks similar in the working and non-worknig cases). > > Does anybody have any ideas what to look at next? >The most common problem is that the VPN network is not declared as a localnet on Asterisk so it assumes that it has to do NAT and so replaces the external IP for communication. Make sure that your VPN segment is in sip.conf. - -- Telecomunicaciones Abiertas de M?xico S.A. de C.V. Carlos Ch?vez Prats Director de Tecnolog?a +52-55-91169161 ext 2001 -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlCzsncACgkQqmNh+MyHzx7VOACdFnmfl2q1ruLAyJC3KxB2hWjL C/sAn2pBt5ltCJKCgLzEMUhSQxw8YQVL =spv9 -----END PGP SIGNATURE-----