[asterisk-bugs] [JIRA] (ASTERISK-27365) [patch] chan_sip: Crypto attribute not last but first on SDP media level.

Friendly Automation (JIRA) noreply at issues.asterisk.org
Tue Oct 24 09:29:21 CDT 2017


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

Friendly Automation commented on ASTERISK-27365:
------------------------------------------------

Change 6859 merged by Joshua Colp:
chan_sip: Crypto attribute not last but first on SDP media level.

[https://gerrit.asterisk.org/6859|https://gerrit.asterisk.org/6859]

> [patch] chan_sip: Crypto attribute not last but first on SDP media level.
> -------------------------------------------------------------------------
>
>                 Key: ASTERISK-27365
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27365
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/Interoperability, Channels/chan_sip/SRTP
>            Reporter: Alexander Traud
>            Assignee: Alexander Traud
>            Severity: Minor
>         Attachments: sdp_media_level_required_at_begin.patch
>
>
> Some VoIP/SIP implementations have a limit of 32 attributes on the media level in SDP. You hit this limitation, if you allow a lot of audio codecs. Without Compact Headers enabled (see ASTERISK-26932), each audio codec creates a rtpmap attribute. Some codecs even create a fmtp attribute. If you have more than 32, affected devices like the desktop phone Gigaset DE900 IP Pro (firmware [02.01.00|https://teamwork.gigaset.com/gigawiki/pages/viewpage.action?pageId=372408431]) ignore all further attributes on that specific media level. If a sRTP a:crypto= is sent as last attribute, the Gigaset is not aware of the crypto and establishes a non-encrypted call.
> In the channel driver {{chan_sip}}, any crypto attribute is sent last. In {{chan_pjsip}} those attributes are send first. The attached patch changes {{chan_sip}} to match {{chan_pjsip}}.



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



More information about the asterisk-bugs mailing list