linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Fwd: no audio in sip call over vpn in S5 only


From: Adrian Schwartz
Subject: [Linphone-developers] Fwd: no audio in sip call over vpn in S5 only
Date: Tue, 9 Dec 2014 11:58:15 +0200


Hello linphone developers group

I created a testing lab, wifi router (192.168.111.0/24) connected to asterisk server that is behind a vpn gateway , the wifi network is (192.168.111.2/24) and vpn network 192.168.165.0/24 for smartphone, 192.168.11.0/24 for the sip server (vpn tunnel, 192.168.165.0/24<=>192.168.11.0/24)

I'm  seeing a strange behavior in the S5 phone (192.168.11.5) ; vpn is enabled ( tested both manual and automatic mode), run the sip client application, and it registers, Established a sip call and saw that on S5 all the audio is going through the non vpn interface (un encrypted) while all other date is going over the vpn interface.

when using other phone (sip2.pcap file) it seems that all data (sip, rtp and h264) is going over the vpn tunnel, it is observed that while the S5 is indicating in the sip header its via address 192.168.111.x the other is doing right and goes through the vpn  tunnel 192.168.165.y
for example 
Sip5.pcap message 18 the via header in S5 indicating 192.168.111.4 in the via header while , the other phone indicates normal or no via header for example message 68 in the same file.

Moreover:
1. When I disable the vpn, the s5 audio is working well,
2. When I enable h264 video and then disable it, audio starts working.(sip1.pcap)
3. I changed the forwarding routing rule for vpn 0.0.0.0/0 and it didn't solved the it. 
4.When using the adb it shows many interfaces including wifi, rmnet and ipsec, the default route goes through non vpn interface, I also found this issue in android that may be relevant, https://code.google.com/p/android/issues/detail?id=65738



attached (https://drive.google.com/folderview?id=0B_qzpHpKGpHQZjItSFhwb2xKZlE&usp=sharing)  few pcap files:

Sip5.pcap: showing h264 and sip packets over 165 network + rtp audio packets going unencrypted directly over 11.0/24 network.
Sip2.pcap: showing the behavior of Other phone where all data (audio and sip) goes encrypted.
Sip1.pcap: similar to Sip5 just without the video packets (h264)
Another difference between the sip1.pcap and sip5.pcap is that when there is h264 packets going in sib5.pcap, audio is also working.


Can you help me in bypassing this issue, I don't mind patching the linphone and getting the right via header from file, can you please point me to the right area?

Regards
Adrian


reply via email to

[Prev in Thread] Current Thread [Next in Thread]