Freeswitch webRTC - audio DTLS key err
Hello, according to the instructions on https://freeswitch.org/confluence/display/FREESWITCH/WebRTC I have enabled webrtc on one Sip profile. I’ve added my own cerificate and installed in /usr/local/freeswitch/certs. I’m connecting to freeswitch using JsSip library. The signaling part works fine, I can see all SIP messages in the log, but then it fails to establish the audio/rtp connection: 2014-11-10 17:36:27.065688 [INFO] switch_core_media.c:5206 Skipping RTCP ICE (Same as RTP) 2014-11-10 17:36:27.065688 [INFO] switch_rtp.c:3065 Activate RTP/RTCP audio DTLS client 2014-11-10 17:36:27.065688 [ERR] switch_rtp.c:3117 audio DTLS key err [1] I’m a bit confused about this message, I thought all tls settings in a sip profile and the dtls-srtp.pem certificate is not relevant for webrtc / wss, or what does this error message want to tell me? Thanks Markus
You could run tshark on a terminal on the box and filter for dtls traffic to get a better idea. Contrary to your statement, the dtls-srtp.pem is only relevant to WebRTC. You can try deleting that file and let FS generate a new one by restarting it. Also check the date and time on your box to make sure its correct. On Mon, Nov 10, 2014 at 10:53 AM, mbo <mbodbg@gmx.net> wrote:
Hello,
according to the instructions on https://freeswitch.org/confluence/display/FREESWITCH/WebRTC I have enabled webrtc on one Sip profile. I’ve added my own cerificate and installed in /usr/local/freeswitch/certs. I’m connecting to freeswitch using JsSip library. The signaling part works fine, I can see all SIP messages in the log, but then it fails to establish the audio/rtp connection:
2014-11-10 17:36:27.065688 [INFO] switch_core_media.c:5206 Skipping RTCP ICE (Same as RTP) 2014-11-10 17:36:27.065688 [INFO] switch_rtp.c:3065 Activate RTP/RTCP audio DTLS client 2014-11-10 17:36:27.065688 [ERR] switch_rtp.c:3117 audio DTLS key err [1]
I’m a bit confused about this message, I thought all tls settings in a sip profile and the dtls-srtp.pem certificate is not relevant for webrtc / wss, or what does this error message want to tell me?
Thanks
Markus
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬ ☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>* ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900
I’ve deleted dtls-srtp.pem (and dtls-srtp.key) and restartet freeswitch.The file dtls-srtp.pem was regenerated and the error does not appear anymore :-). One other question, the certificate dtls-srtp.pem was generated, but not the private key file dtls-srtp.key. Where can I find it? Thanks Markus Am 10.11.2014 um 18:32 schrieb Anthony Minessale <anthony.minessale@gmail.com>:
You could run tshark on a terminal on the box and filter for dtls traffic to get a better idea. Contrary to your statement, the dtls-srtp.pem is only relevant to WebRTC. You can try deleting that file and let FS generate a new one by restarting it.
Also check the date and time on your box to make sure its correct.
On Mon, Nov 10, 2014 at 10:53 AM, mbo <mbodbg@gmx.net> wrote: Hello,
according to the instructions on https://freeswitch.org/confluence/display/FREESWITCH/WebRTC I have enabled webrtc on one Sip profile. I’ve added my own cerificate and installed in /usr/local/freeswitch/certs. I’m connecting to freeswitch using JsSip library. The signaling part works fine, I can see all SIP messages in the log, but then it fails to establish the audio/rtp connection:
2014-11-10 17:36:27.065688 [INFO] switch_core_media.c:5206 Skipping RTCP ICE (Same as RTP) 2014-11-10 17:36:27.065688 [INFO] switch_rtp.c:3065 Activate RTP/RTCP audio DTLS client 2014-11-10 17:36:27.065688 [ERR] switch_rtp.c:3117 audio DTLS key err [1]
I’m a bit confused about this message, I thought all tls settings in a sip profile and the dtls-srtp.pem certificate is not relevant for webrtc / wss, or what does this error message want to tell me?
Thanks
Markus
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬
☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ http://freeswitch.org/g+
ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Anthony Minessale
-
mbo