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