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

FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045

Email: brian@freeswitch.com

Mobile: 918-424-9378

Website: https://www.FreeSWITCH.com

https://www.facebook.com/signalwireinc?src=email https://twitter.com/freeswitch