[Freeswitch-users] DTLS and media description proto

Brian West brian at freeswitch.com
Mon Jun 7 14:35:23 UTC 2021


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

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

> 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 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



-- 

Brian West | Co-founder and Developer

Need Commercial support? email sales at freeswitch.com

FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
<https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>

Email: brian at freeswitch.com

Mobile: 918-424-9378

Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>

[image: https://www.facebook.com/signalwireinc?src=email]
<https://www.facebook.com/freeswitch> [image:
https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20210607/cb05979e/attachment.html>


More information about the FreeSWITCH-users mailing list