[asterisk-bugs] [JIRA] (ASTERISK-26339) asterisk change the codec of inbound channel when bridge to another channel.

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Thu Sep 8 13:15:01 CDT 2016


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

Richard Mudgett commented on ASTERISK-26339:
--------------------------------------------

There is no negotiation problem shown in the packet capture.  The caller says he can do g729, ulaw, and alaw.  Asterisk says OK to all three codecs.  No reINVITE is necessary to switch between the negotiated codecs since the codecs are distinguished by the RTP patyload type values negotiated.

This is really a problem with the caller when it cannot handle receiving RTP payload types other than the first in the response.

ASTERISK-26317 Works around the limitation of the caller in this issue by supplying a patch adding a configuration option.

> asterisk change the codec of inbound channel when bridge to another channel. 
> -----------------------------------------------------------------------------
>
>                 Key: ASTERISK-26339
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26339
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: 13.8.0
>         Environment: CentOS6.5x64
>            Reporter: Aaron An
>            Assignee: Unassigned
>            Severity: Minor
>         Attachments: 4.cap, debug_log_26339, snapshot.png
>
>
> think about this scenario.
> Alice call in asterisk. Asterisk dialplan answer Alice and then playback "welcome and wait to dial Bob", then dialplan dial Bob. When Bob answer the call and bridge to Alice, the codec of Alice channel read/write direction are not same.
> something like this:
> {noformat}
> Alice========Asteriks==========Bob
> -----G729---------->answer
> <----G729-----------playback
>                              dial 
>                                      ----------ulaw-------->
>                                     <--------ulaw---------
> --------G729-------->bridged
> <---------ulaw-------
> {noformat}
> this scenario will cause oneway voice on Dialogic Gateway.



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



More information about the asterisk-bugs mailing list