linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] RTP Stream Bug via VPN


From: pradeep kumar M
Subject: Re: [Linphone-developers] RTP Stream Bug via VPN
Date: Thu, 9 Jul 2020 11:43:37 +0530

Hi,
    I did Git clone of Linphone-SDK and build was done successfully.
 I want to call the Linphone calling features from console (C code ) application,but unable to find the main calling functions,
please share the procedure or any examples to achieve the same.

Thanks & Regards,
Pradeep M

On Wed, Jul 8, 2020 at 11:33 PM Peio Rigaux <peio.rigaux@belledonne-communications.com> wrote:

Hello.

I think that after a re-reading I have an idea.

I may be wrong, not knowing anything yet about ICE, STUN or TURN, but I think that you can add the following :

[proxy_0]

reg_route=<sip:sip.example.org;transport=tls>

Replace it with your proxy address and according transport value, it seems to enable outbound proxy, i.e. redirection of media towards the "gateway" (I took a look at the Android code).

Make also sure that the proxy number is matching the right account.

Please tell me if you managed to get it working on desktop.


Regards,

Peio Rigaux
Junior Software Engineer
Belledonne Communications, the company behind Linphone
Linphone.org

Le 26/03/2020 à 16:57, Benny Puder a écrit :
Dear developers,

I'm part of a small company and would like to use linphone from the home office via VPN. The SIP registration works well but when the call is established, I don't hear anything from the counterpart. There is also no indication on the little icons that speech is transmitted. So I started to do some investigations.

I'm currently working on Ubuntu 18.04 and installed Linphone 4.1.1 from the flatpak repository as you described on the internet site. The VPN tunnel works fine. My ip configuration can be viewed in the attached file linphone-ipa.log. My computer has the VPN IP address 10.8.0.10 and the local address 192.168.42.132 for the internet connection.

The SIP gateway (172.22.0.100) is located in the company network. This route is working properly and my pc can ping other pcs in the company and vice versa. I'm registering with username "16". No password is required.

I also attached the linphone log and a wireshark capture of the tunnel. There you can see that the session was established and the counterpart is sending RTP packets to the port 26935. This should be the right port as you can see in the INVITE message.

I had a short look on the netstat command and saw that linphone didn't listen on this port. But shouldn't it? I also attached the output of the netstat command before the call and during the call.

I also used linphone from my companies computer (also Ubuntu 18.04) and it worked well. I would guess that there is something wrong in conjunction with the VPN network. Or do I need to apply a special configuration? STUN/TURN/ICE related settings are still off or empty.

I also tried to use my android phone with VPN and linphone and it worked nearly fine. It was really important to switch on that all calls were redirected to the gateway. There are sometimes lost connections but maybe they have other reasons which are not related to linphone. This occurs very rarely.

Here are my settings on the computer. I only added the SIP account. I didn't change other settings.

Thank you for your time.


_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/linphone-developers

reply via email to

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