[asterisk-bugs] [JIRA] (ASTERISK-21464) with directrtpsetup the A party codec identifiers are not passed to the B party
Kevin Stewart (JIRA)
noreply at issues.asterisk.org
Tue Apr 16 23:57:01 CDT 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-21464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=205360#comment-205360 ]
Kevin Stewart commented on ASTERISK-21464:
------------------------------------------
The fault appears to be caused by ast_rtp_instance_early_bridge_make_compatible calling ast_rtp_codecs_payloads_copy to copy from the outgoing channel to the incoming channel.
ast_rtp_codecs_payloads_copy(&instance0->codecs, &instance1->codecs, instance1);
this does nothing as codecs is zeroed on creation
I would think copying the other way woulf be the correct thing to do
ast_rtp_codecs_payloads_copy(&instance1->codecs, &instance0->codecs, instance0);
This causes the identifiers from the incoming leg to be used in the outgoing leg
> with directrtpsetup the A party codec identifiers are not passed to the B party
> -------------------------------------------------------------------------------
>
> Key: ASTERISK-21464
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-21464
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Core/RTP
> Affects Versions: 1.8.20.1
> Reporter: Kevin Stewart
>
> with directrtpsetup=yes
> an incoming invite with an SDP containing
> a=rtpmap:119 telephone-event/8000
> will produce and outgoing invite with an SDP containing
> a=rtpmap:101 telephone-event/8000
--
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