[asterisk-bugs] [JIRA] (ASTERISK-24205) DTLS-SRTP fails on SIP over WebSockets call from SIPML5(chrome) to Asterisk

Aleksei Kulakov (JIRA) noreply at issues.asterisk.org
Thu Aug 14 13:31:30 CDT 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-24205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=221685#comment-221685 ] 

Aleksei Kulakov commented on ASTERISK-24205:
--------------------------------------------

I believe it is about "incorrect"(lack of right magic) config. Just try using sipDtls.conf with keys generated by ast_tls_cert contrib script. If this not helps, then it is probably environment/build related issue, because it works fine on my side.

> DTLS-SRTP fails on SIP over WebSockets call from SIPML5(chrome) to Asterisk
> ---------------------------------------------------------------------------
>
>                 Key: ASTERISK-24205
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24205
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General, Channels/chan_sip/WebSocket
>    Affects Versions: SVN, 12.4.0
>         Environment: Asterisk SVN-branch-12-r420805 (August 11th 2014), Chrome (38.0.2114.2 dev), Chrome (36.0.1985.125). SIPML5 live demo (?svn=224)
>            Reporter: Rusty Newton
>         Attachments: full_2.pcap, full_2.txt, full.txt, sip.conf.txt, sipDtls.conf
>
>
> Attempting to make a call from SIPML5 in Chrome to a Playback of demo-congrats in Asterisk. Call fails upon hitting the playback.
> {noformat}
>   == Using SIP RTP CoS mark 5
>     -- Executing [1000 at default:1] Answer("SIP/354-00000004", "") in new stack
>     -- Executing [1000 at default:2] Playback("SIP/354-00000004", "demo-congrats") in new stack
>     -- <SIP/354-00000004> Playing 'demo-congrats.gsm' (language 'en')
> [Aug 11 16:28:52] ERROR[31257][C-00000004]: res_rtp_asterisk.c:1732 __rtp_recvfrom: DTLS failure occurred on RTP instance '0x7f6540009138' due to reason '(null)', terminating
> [Aug 11 16:28:52] WARNING[31257][C-00000004]: res_rtp_asterisk.c:3944 ast_rtp_read: RTP Read error: Unspecified.  Hanging up.
> [Aug 11 16:28:52] WARNING[31257][C-00000004]: app_playback.c:493 playback_exec: Playback failed on SIP/354-00000004 for demo-congrats
> {noformat}
> Once Asterisk hits the sound, we see a DTLS failure and the call disconnects.
> Attached full debug file with SIP trace.
> h2. Environment detail:
> Asterisk SVN-branch-12-r420805 (August 11th 2014), Chrome (38.0.2114.2 dev), Chrome (36.0.1985.125). SIPML5 live demo (?svn=224) 
> Machines involved:
>  * Chrome(SIPML5) at 10.24.17.254
>  * Asterisk at 10.24.18.124



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list