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

xrobau (JIRA) noreply at issues.asterisk.org
Sat Jul 28 18:00:54 CDT 2018


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

xrobau commented on ASTERISK-26257:
-----------------------------------

As a late update to this ticket, we've spent some time diagnosing this in ASTERISK-27987 and it is an issue with the timerfd timing source freezing when asterisk uses the fork() system call to spawn an AGI.

The workaround is to use dahdi timing, or, switch to using FastAGI, which does not require a fork().

> 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