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

Dmitry Komov (JIRA) noreply at issues.asterisk.org
Mon Sep 28 03:45:34 CDT 2015


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

Dmitry Komov commented on ASTERISK-24205:
-----------------------------------------

Also have an intermittent issue  "DTLS failure occurred on RTP instance '0x7f8654508938' due to reason 'bad message type', terminating" on asterisk 13.5. 
I collected tcpdump trace on asterisk and see that when error occurs STUN frame comes to the same server port right after client sends DTLS Client Hello frame. I suppose this STUN message is considered as 'bad message type'.

> 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: Resources/res_rtp_asterisk
>    Affects Versions: SVN, 12.4.0, 13.1.0
>         Environment: Asterisk SVN-branch-12-r420805 (August 11th 2014), SVN-branch-13-r429983(Dec 22nd 2014, Chrome (38.0.2114.2 dev), Chrome (36.0.1985.125). Firefox 34.0 , SIPML5 live demo (?svn=224), OpenSSL( 1.0.1-4ubuntu5.20)
>            Reporter: Rusty Newton
>         Attachments: full_2.pcap, full_2.txt, full.txt, sip.conf.txt, sipDtls.conf
>
>
> [Edit by Rusty - Environment updated on 12/22/14 as I ran into this issue with a newer environment (Asterisk, pjproject and openssl.)
> 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