VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
johan.pascal at linpho... Guest
|
Posted: Mon Jun 07, 2021 8:48 am Post subject: [Freeswitch-users] DTLS and media description proto |
|
|
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
|
|
Back to top |
|
|
johan.pascal at linpho... Guest
|
Posted: Wed Jun 09, 2021 10:00 am Post subject: [Freeswitch-users] DTLS and media description proto |
|
|
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
|
|
|
Back to top |
|
|
|
|
|
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
|