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

Asterisk Team (JIRA) noreply at issues.asterisk.org
Sun Oct 9 15:42:01 CDT 2016


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

Asterisk Team updated ASTERISK-26419:
-------------------------------------

    Assignee: Asterisk Team  (was: Michael Walton)
      Status: Triage  (was: Waiting for Feedback)

> 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: Asterisk Team
>
> 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