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

George Joseph (JIRA) noreply at issues.asterisk.org
Wed Aug 2 10:07:13 CDT 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Joseph updated ASTERISK-26419:
-------------------------------------

    Target Release Version/s: 15.0.0

> audiohooks: 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
>            Assignee: Unassigned
>      Target Release: 13.17.0, 14.6.0, 15.0.0
>
>
> 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