[asterisk-bugs] [Asterisk 0012046]: Disable dead channel notice if AGI is called in the 'h' extension.

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Feb 21 10:26:24 CST 2008


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12046 
====================================================================== 
Reported By:                explidous
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   12046
Category:                   Resources/res_agi
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.0-beta1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             02-21-2008 10:25 CST
Last Modified:              02-21-2008 10:26 CST
====================================================================== 
Summary:                    Disable dead channel notice if AGI is called in the
'h' extension.
Description: 
I am trying to get VICIDIAL to work properly with Asterisk 1.6. VICIDIAL
has an AGI script that has to run on every hangup, thus it is called in the
'h' extension. This used to be done in with the DeadAGI application which
assumed that the channel was dead, but now that you have to use the AGI
application it does not make that assumption and prints a notice if it
finds a dead channel. If I am calling an AGI from the 'h' extension this
comes as absolutely no surprise and can get rather annoying when you have
100 hangups per minute. I can for see getting many VICIDIAL support
questions related to this along the lines of "Why am I getting so many
notices."

My original solution for this annoyance was to just comment the line out
in the source code, and make it into a patch to distribute with VICIDIAL
called "get-rid-of-annoying-notices.patch". After thinking about it, it
would probably be good to know if one of the other AGIs that are call got a
dead channel. So what I am proposing is to have res_agi upon getting a dead
channel see if it was called from the 'h' extension, and if so not print
the notice.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-21-08 10:26  putnopvut      Status                   new => assigned     
02-21-08 10:26  putnopvut      Assigned To               => putnopvut       
======================================================================




More information about the asterisk-bugs mailing list