RTP not transmitting over NAT

I K iriik at yahoo.com
Sat Feb 22 10:32:29 UTC 2020


 
Dear Sergey Safarov,
As I said earlier there are several scenario that I'm working on hoping one of them to work. When I use internal profile and I set bypass-media to "true", all clients residing on the same network can have voice and video call with or without ZRTP and adding or removing video to/from call works excellent.But, when using internal profile if I try to call one of clients on another network such as mobile data, the call takes place but no audio is gransmitted(no ZRTP).And if I use external profile and set bypass-media and inbound-zrtp-passthru to "true", all clients regardless of NAT, Wi-fi or mobile data can call each other with ZRTP but no video! when I press the video button on Linphone nothing happens! and of course I've added H26x to codecs.I've also reviewed Jira topics and commits you mentioned but they are not related to my problem.
Thanks again for helping.
  


Is without ZRTP video/addition removing works well?
Case 1Without ZRTP similar case fixed about two years ago. Sorry I cannot find related ticked created by me (jira login safarov).
Please retest master and try bisect with commits 1-3 years ago.
Think you will find working version and where bug is introduced.

Case 2
Please look https://freeswitch.org/jira/browse/FS-9203
https://freeswitch.org/jira/browse/FS-9206

Here you will find commit where it worked properly.
Just need bisect with master and find commit introduced bug.
Case 3Useless for you. This not designed for users behind NAT.
So simple do not use.
Sergey
On Fri, Feb 21, 2020 at 7:22 AM Faisal Hanif <imfanee at gmail.com> wrote:

In you are using linphone mobile clients make sure you have added "stun.linphone.org" in account specific stun settings,If you need both ZRTP & NAT handling keep media in proxy mode.
On Fri, Feb 21, 2020, 6:29 AM I K via FreeSWITCH-users <freeswitch-users at lists.freeswitch.org> wrote:




---------- Forwarded message ----------
From: I K <iriik at yahoo.com>
To: "freeswitch-users at lists.freeswitch.org" <freeswitch-users at lists.freeswitch.org>
Cc: 
Bcc: 
Date: Sat, 15 Feb 2020 22:11:12 +0000 (UTC)
Subject: RTP not transmitting over NAT
Hi every one,
I'm new to Freeswitch and I'm having some difficulty configuring it, despite reading the documents. I have a Freeswitch running on a server with public IP and several Linphone android clients running behind NAT.How should I configure it to transfer audio and video and use ZRTP if one client is on a LAN behind NAT and the other client is using mobile data?!
Things I've acheived so far:1- bypass-media = false and proxy-media = false:In this mode audio works but when I turn on video no request is sent to the other phone. It other use just has to know when to turn on the camera to receive video. and of course ZRTP does not work well.
2-  bypass-media = false and proxy-media = true:audio works but video shows blank3- bypass-media = true and proxy-media = false:If both clients are on the same LAN everything works fine, but if one client connects via mobile data, they can still call each other but no media is transferred and the call is dropped after 30s.
I've been working on this scenario for over a week and I'm desperate to make it work. Thanks in advance for your help.




---------- Forwarded message ----------
From: I K via FreeSWITCH-users <freeswitch-users at lists.freeswitch.org>
To: "freeswitch-users at lists.freeswitch.org" <freeswitch-users at lists.freeswitch.org>
Cc: 
Bcc: 
Date: Thu, 20 Feb 2020 17:29:02 -0800 (PST)
Subject: [Freeswitch-users] RTP not transmitting over NAT
_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales at freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales at freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
If your fs is behind nat, you should set sip-ext-ip and rtp-ext-ip.
This is done so that when fs sends an offer out it puts the sip-ext-ip and rtp ip in that offer.
On the client side set the stun
On Fri, 21 Feb 2020 at 04:38, Faisal Hanif <imfanee at gmail.com> wrote:

In you are using linphone mobile clients make sure you have added "stun.linphone.org" in account specific stun settings,If you need both ZRTP & NAT handling keep media in proxy mode.
On Fri, Feb 21, 2020, 6:29 AM I K via FreeSWITCH-users <freeswitch-users at lists.freeswitch.org> wrote:




---------- Forwarded message ----------
From: I K <iriik at yahoo.com>
To: "freeswitch-users at lists.freeswitch.org" <freeswitch-users at lists.freeswitch.org>
Cc: 
Bcc: 
Date: Sat, 15 Feb 2020 22:11:12 +0000 (UTC)
Subject: RTP not transmitting over NAT
Hi every one,
I'm new to Freeswitch and I'm having some difficulty configuring it, despite reading the documents. I have a Freeswitch running on a server with public IP and several Linphone android clients running behind NAT.How should I configure it to transfer audio and video and use ZRTP if one client is on a LAN behind NAT and the other client is using mobile data?!
Things I've acheived so far:1- bypass-media = false and proxy-media = false:In this mode audio works but when I turn on video no request is sent to the other phone. It other use just has to know when to turn on the camera to receive video. and of course ZRTP does not work well.
2-  bypass-media = false and proxy-media = true:audio works but video shows blank3- bypass-media = true and proxy-media = false:If both clients are on the same LAN everything works fine, but if one client connects via mobile data, they can still call each other but no media is transferred and the call is dropped after 30s.
I've been working on this scenario for over a week and I'm desperate to make it work. Thanks in advance for your help.




---------- Forwarded message ----------
From: I K via FreeSWITCH-users <freeswitch-users at lists.freeswitch.org>
To: "freeswitch-users at lists.freeswitch.org" <freeswitch-users at lists.freeswitch.org>
Cc: 
Bcc: 
Date: Thu, 20 Feb 2020 17:29:02 -0800 (PST)
Subject: [Freeswitch-users] RTP not transmitting over NAT
_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales at freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales at freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
-- 
Regards,
David Villasmilemail: david.villasmil.work at gmail.comphone: +34669448337_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales at freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200222/4a034ea9/attachment-0001.html>


More information about the FreeSWITCH-users mailing list