[asterisk-bugs] [JIRA] (ASTERISK-26257) AGI scripts called from dialplan disturb confbrige audio quality

Joshua Colp (JIRA) noreply at issues.asterisk.org
Tue Aug 2 06:45:56 CDT 2016


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

Joshua Colp commented on ASTERISK-26257:
----------------------------------------

I'm not really sure if there's anything that can be done for this. ConfBridge requires a constant timer in order to wake up, mix audio, and dispatch it. If this is not guaranteed by the system then you will see exactly the behavior you are seeing - gaps. If spawning a process for AGI causes the system to use resources such that the timer doesn't fire when it should there's nothing that Asterisk itself can do about that.

> AGI scripts called from dialplan disturb confbrige audio quality
> ----------------------------------------------------------------
>
>                 Key: ASTERISK-26257
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26257
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_confbridge, Resources/res_agi
>    Affects Versions: 11.13.0
>         Environment: CentOS 6.5 x64 8 core RAM 16 GB
>            Reporter: Marco Nicoloso
>
> The issue has been reported in the Asterisk community and investigated.
> Here the link to the forum.
> The version we are using is quite old (11.13), but the problem can affect also other versione as, reading through the changelogs, I do not have any evidence that the problem is solved.
> We have some clients that receive continuously audio from confbridge and try to setup once every 5 seconds new channels if the configured ones are  down. In parallel Asterisk records the audio of these conferences into some wav files.
> The effect that wwe observed was that we were detecting some strange audio "holes" on client-side generated by asterisk  (20-40 ms) at least once every 2 seconds.
> Looking at the recorded files, we noticed that there was about 2% of samples missing (during an hour of recording we had a loss of 1 minute and a half in record duration)
> The dialplan was starting with an AGI script in order to retrieve from a PostgreSQL 8.4 DB some data and setup some channel variables.
> After that step, dialplan was executing simple checks which wouold terminate eventually in confbridge or busy.
> After switching from AGI script to func_odbc the loss is approximately 0,01 % of samples



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



More information about the asterisk-bugs mailing list