[Freeswitch-users] DTLS handshake problem

Johannes Singler johannes.singler at qnective.com
Thu Oct 8 15:56:29 MSD 2015


Have you set up certificates correctly for your FS instance? According to
here, it's mandatory:

https://freeswitch.org/confluence/display/FREESWITCH/mod_verto

When using a self-signed cert, you must have the same on FS and your web
server, so the exception for the HTTPS cert will also cover the WSS
connection to FS.

Hope that helps...

On Wed, Oct 7, 2015 at 4:58 AM, Tao Zhang <tao at petatrading.com> wrote:

> Hi,
>
> Now I think the problem I am having with my verto video demo setup is
> about DTLS setup. From the FS server log, I can see both audio DTLS and
> video DTLS states are changed from OFF to HANDSHAKE, but then there is no
> more event regarding to DTLS state, there is no failure regarding to the
> HANDSHAKE either. It seems the HANDSHAKE just stuck there...?
>
> Could anybody help? The server log is pasted below.
>
> 2015-10-07 02:34:58.770773 [INFO] switch_core_media.c:6233 Skipping RTCP
> ICE (Same as RTP)
> 2015-10-07 02:34:58.770773 [INFO] switch_rtp.c:3240 Activate RTP/RTCP
> audio DTLS client
> 2015-10-07 02:34:58.770773 [INFO] switch_rtp.c:3369 Changing audio DTLS
> state from OFF to HANDSHAKE
> 2015-10-07 02:34:58.770773 [DEBUG] switch_core_media.c:1929 Setting
> Jitterbuffer to 20ms (1 frames) (30 max frames)
> 2015-10-07 02:34:58.770773 [DEBUG] switch_core_media.c:6306 Set 2833 dtmf
> send payload to 126
> 2015-10-07 02:34:58.770773 [DEBUG] switch_core_media.c:6312 Set 2833 dtmf
> receive payload to 126
> 2015-10-07 02:34:58.770773 [DEBUG] switch_rtp.c:3731 Starting video timer.
> 2015-10-07 02:34:58.770773 [DEBUG] switch_core_media.c:6523 VIDEO RTP
> [verto.rtc/3500] 10.240.15.244:30526->100.8.240.191:54763 codec: 100 ms:
> 0 [SUCCESS]
> 2015-10-07 02:34:58.770773 [DEBUG] switch_core_media.c:5180 verto.rtc/3500
> Starting Video thread
> 2015-10-07 02:34:58.770773 [INFO] switch_core_media.c:6564 Activating
> Video ICE
> 2015-10-07 02:34:58.770773 [NOTICE] switch_rtp.c:4198 Activating RTP video
> ICE: OVGmvVZ6AiMvzY7t:2nnpMO2EHNETp4ym 100.8.240.191:54763
> 2015-10-07 02:34:58.770773 [INFO] switch_core_media.c:6602 Activating
> VIDEO RTCP PORT 54763 interval 2000 mux 1
> 2015-10-07 02:34:58.770773 [DEBUG] switch_rtp.c:4095 RTCP send rate is:
> 2000 and packet rate is: 90000 Remote Port: 54763
> 2015-10-07 02:34:58.770773 [INFO] switch_core_media.c:6613 Skipping VIDEO
> RTCP ICE (Same as VIDEO RTP)
> 2015-10-07 02:34:58.770773 [INFO] switch_rtp.c:3240 Activate RTP/RTCP
> video DTLS client
> 2015-10-07 02:34:58.770773 [INFO] switch_rtp.c:3369 Changing video DTLS
> state from OFF to HANDSHAKE
>
> Thanks so much
>
> Tao
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.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
> http://www.freeswitch.org
>



-- 
Johannes Singler
Software Engineer

Qnective
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151008/098a7ec3/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list