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

Olle Johansson (JIRA) noreply at issues.asterisk.org
Thu Jul 3 01:36:56 CDT 2014


Olle Johansson created ASTERISK-23989:
-----------------------------------------

             Summary: 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


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