[asterisk-bugs] [JIRA] (ASTERISK-23279) [patch]Asterisk doesn't support the dynamic payload change in rtp mapping in the 200 OK response

Matt Jordan (JIRA) noreply at issues.asterisk.org
Thu Feb 13 15:25:03 CST 2014


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

Matt Jordan commented on ASTERISK-23279:
----------------------------------------

Off the cuff, I don't see anything wrong with the patch. My only concern would be turning a (usually) O(1) search to an O(n) search, which is what the change from {{ao2_find}} to {{ao2_callback}} would do. Without resorting to another container, however, there may not be much else that can be done here.

It might be a good idea to go ahead and push the patch up to review board to see if anyone else has any thoughts on it, or if there might be another way to solve it.
                
> [patch]Asterisk doesn't support the dynamic payload change in rtp mapping in the 200 OK response
> ------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-23279
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23279
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/RTP
>    Affects Versions: 11.4.0
>         Environment: Debian wheezy amd64
>            Reporter: NITESH BANSAL
>         Attachments: dynamic_payload_change.patch, sip.conf, uac_asterisk.xml, uas_asterisk.xml
>
>
> Scenario:
> Asterisk sends the INVITE proposing alaw and telephone-event, it proposes rtpmap:101 for telephone-event.
> Peer responds with 2xx, it answers with alaw and telephone-event also, but it proposes a different rtpmap number(rtpmap:103) for telephone-event.
> Expected Behaviour: Asterisk should honour the rtpmapping in the response and send DTMF packets using 103 as payload type for DTMF.
> Actual Behaviour: Asterisk sends DTMF packets using payload type 101.
> Regards,
> Nitesh 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list