[asterisk-bugs] [JIRA] (ASTERISK-26419) Remove redundant codec translations when using audiohooks

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Sep 28 12:45:01 CDT 2016


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

Asterisk Team commented on ASTERISK-26419:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> Remove redundant codec translations when using audiohooks
> ---------------------------------------------------------
>
>                 Key: ASTERISK-26419
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26419
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Core/Channels, Core/General
>    Affects Versions: 11.23.1, 13.11.2, 14.0.1
>         Environment: All
>            Reporter: Michael Walton
>
> Channel.c currently calls audiohooks and passes channel voice data in its native format. In most cases, the native format is later transcoded to linear for bridging or other dialplan functions. When using audiohooks, e.g. for recording or conference, the required codec translation from native to linear and vice versa is instantiated separately for each hook, alongside the translation required for bridging. This can result in 2 or 3 simultaneous codec translations for a single bridged call, which is very inefficient in terms of CPU usage.
> By moving the audiohook location in the read and write functions in channel.c, we can share the expensive codec translation amongst all users of the frame data.



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



More information about the asterisk-bugs mailing list