[asterisk-bugs] [JIRA] (ASTERISK-23989) SDP offer/answer fails if crypto keys added to non-crypto offer

Rusty Newton (JIRA) noreply at issues.asterisk.org
Tue Jul 8 18:47:56 CDT 2014


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

Rusty Newton edited comment on ASTERISK-23989 at 7/8/14 6:47 PM:
-----------------------------------------------------------------

Feel free to throw it on reviewboard for some others to test/review.


was (Author: rnewton):
Feel free to throw it on reviewboard for some others to test/review?

> SDP offer/answer fails if crypto keys added to non-crypto offer
> ---------------------------------------------------------------
>
>                 Key: ASTERISK-23989
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23989
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/SRTP
>    Affects Versions: 1.8.28.2
>         Environment: Planet earth
>            Reporter: Olle Johansson
>         Attachments: sdes-rtp-avp.diff
>
>
> 1) We got a new SNOM phone configured so it offered RTP/AVP but for some reason added a=crypto SDES keys. 
> 2) Microsoft Lync offers RTP/AVP and optional RTP/SAVP in the same SDP, also adding keys if RTP/SAVP is accepted
> Asterisk fails offer answer with the message:
> "We are requesting SRTP for audio, but they responded without it!"
> and sends 488. This error message is wrong and failing is wrong.
> We should ignore non-relevant attributes. If RTP/AVP is the offer, just don't check for the crypto keys and activate p->srtp.



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



More information about the asterisk-bugs mailing list