[Asterisk-code-review] app_amd: Fixed timeout issue (asterisk[13])

Joshua Colp asteriskteam at digium.com
Wed Nov 13 10:29:30 CST 2019


Joshua Colp has uploaded a new patch set (#5) to the change originally created by Michael Cargile. ( https://gerrit.asterisk.org/c/asterisk/+/13161 )

Change subject: app_amd: Fixed timeout issue
......................................................................

app_amd: Fixed timeout issue

ASTERISK-28143 attempted to fix an issue where calls with no audio would never
timeout. It did so by adding AST_FRAME_NULL as a frame type to process in its
calculations. Unfortunately these frames seem to show up at irregular time
intervals. This resulted in app_amd returning prematurely most of the time.
Removed AST_FRAME_NULL from the calculations. Added a check to see how much
time has actually passed since app_amd started.

Change-Id: I642a21b02d389b17e40ccd5357754b034c3daa42
---
M apps/app_amd.c
1 file changed, 23 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/61/13161/5
-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/13161
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Change-Id: I642a21b02d389b17e40ccd5357754b034c3daa42
Gerrit-Change-Number: 13161
Gerrit-PatchSet: 5
Gerrit-Owner: Michael Cargile <mikec at vicidial.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20191113/6edddd45/attachment-0001.html>


More information about the asterisk-code-review mailing list