Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] DTLS and media description proto


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
johan.pascal at linpho...
Guest





PostPosted: Mon Jun 07, 2021 8:48 am    Post subject: [Freeswitch-users] DTLS and media description proto Reply with quote

Hi,
I'm trying to get freeswitch to direct a call to a linphone client using DTLS, as described here:
https://freeswitch.org/confluence/display/FREESWITCH/Certificates#Certificates-DTLS

The A leg with a DTLS client works fine but the B leg, while enabling correctly DTLS in the SDP INVITE(fingerprint and setup attributes) produces a media description using the proto "RTP/SAVPF".
Linphone does not accept this proto as a DTLS call but expect "UDP/TLS/RTP/SAVPF". I'm using freeswitch v1.10.6, I found in the freeswitch code there

https://github.com/signalwire/freeswitch/blob/v1.10.6/src/switch_core_media.c#L9715
a test to switch to the expected proto but I can't find a way in the freeswitch settings/dialplan to get the CF_AVPF_MOZ flag on. When forcing the outcome of the test to be always true, I get my particular use case to work but I guess there is a more harmless way to proceed. Any suggestion?
Thanks,
Johan
Back to top
brian at freeswitch.com
Guest





PostPosted: Mon Jun 07, 2021 9:39 am    Post subject: [Freeswitch-users] DTLS and media description proto Reply with quote

Try setting webrtc_enable_dtls=true in {} on the originate.

On Mon, Jun 7, 2021 at 8:47 AM Johan Pascal <johan.pascal@linphone.org (johan.pascal@linphone.org)> wrote:

Quote:

Hi,
I'm trying to get freeswitch to direct a call to a linphone client using DTLS, as described here:
https://freeswitch.org/confluence/display/FREESWITCH/Certificates#Certificates-DTLS

The A leg with a DTLS client works fine but the B leg, while enabling correctly DTLS in the SDP INVITE(fingerprint and setup attributes) produces a media description using the proto "RTP/SAVPF".
Linphone does not accept this proto as a DTLS call but expect "UDP/TLS/RTP/SAVPF". I'm using freeswitch v1.10.6, I found in the freeswitch code there

https://github.com/signalwire/freeswitch/blob/v1.10.6/src/switch_core_media.c#L9715
a test to switch to the expected proto but I can't find a way in the freeswitch settings/dialplan to get the CF_AVPF_MOZ flag on. When forcing the outcome of the test to be always true, I get my particular use case to work but I guess there is a more harmless way to proceed. Any suggestion?
Thanks,
Johan

_________________________________________________________________________

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@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com



--



Brian West | Co-founder and Developer
Need Commercial support? email sales@freeswitch.com (sales@freeswitch.com)
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com (brian@freeswitch.com)
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com
[/url] [url=https://twitter.com/freeswitch]
Back to top
johan.pascal at linpho...
Guest





PostPosted: Wed Jun 09, 2021 10:00 am    Post subject: [Freeswitch-users] DTLS and media description proto Reply with quote

Quote:
Thanks Brian for your suggestion but the webrtc_enable_dtls flag does not seem to have an effect.

Without the "media_webrtc=true" I have no DTLS in the B leg SDP INVITE(no fingerprint nor setup attributes), having or not "webrtc_enable_dtls" on top of the "media_webrtc=true" does not seem to have any effect on the INVITE produced.



On 07/06/2021 14::35, Brian West wrote:

Try setting webrtc_enable_dtls=true in {} on the originate.
On 07/06/2021 09:55, Johan Pascal wrote:

Quote:

Hi,
I'm trying to get freeswitch to direct a call to a linphone client using DTLS, as described here:
https://freeswitch.org/confluence/display/FREESWITCH/Certificates#Certificates-DTLS

The A leg with a DTLS client works fine but the B leg, while enabling correctly DTLS in the SDP INVITE(fingerprint and setup attributes) produces a media description using the proto "RTP/SAVPF".
Linphone does not accept this proto as a DTLS call but expect "UDP/TLS/RTP/SAVPF". I'm using freeswitch v1.10.6, I found in the freeswitch code there

https://github.com/signalwire/freeswitch/blob/v1.10.6/src/switch_core_media.c#L9715
a test to switch to the expected proto but I can't find a way in the freeswitch settings/dialplan to get the CF_AVPF_MOZ flag on. When forcing the outcome of the test to be always true, I get my particular use case to work but I guess there is a more harmless way to proceed. Any suggestion?
Thanks,
Johan

Quote:
_________________________________________________________________________

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@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services