[asterisk-bugs] [JIRA] (ASTERISK-26365) rtp: Offer with multiple payloads for same codec is incorrectly handled

Joshua Colp (JIRA) noreply at issues.asterisk.org
Tue Sep 13 08:24:01 CDT 2016


Joshua Colp created ASTERISK-26365:
--------------------------------------

             Summary: rtp: Offer with multiple payloads for same codec is incorrectly handled
                 Key: ASTERISK-26365
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26365
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Core/RTP
    Affects Versions: 14.0.0-beta2
            Reporter: Joshua Colp


Given the following configuration:

allow=!all,ulaw,h264

And an offer that contains a media stream with ulaw and a media stream with *2* H264 payloads our answer will contain the first payload of their offer, but we incorrectly remove that payload mapping internally. This results in the call negotiating the first payload in the offer but incoming traffic NOT being identified as H264. If a static payload exists it will be matched as that instead. For example if the first payload is 97 we would read the H264 in as iLBC.

We need to only add and accept the first payload when doing SDP negotiation.



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



More information about the asterisk-bugs mailing list