[asterisk-bugs] [Asterisk 0017954]: Peer does not hang up when caller hangup while app_dial is executing - Deadagi

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Dec 6 04:24:13 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17954 
====================================================================== 
Reported By:                mn3250
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   17954
Category:                   Applications/app_dial
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Target Version:             1.6.2.15
Asterisk Version:           1.6.2.11 
JIRA:                       SWP-2171 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-09-05 13:36 CDT
Last Modified:              2010-12-06 04:24 CST
====================================================================== 
Summary:                    Peer does not hang up when caller hangup while
app_dial is executing - Deadagi
Description: 
I am trying to execute a dead agi application:

exten => 1111,1,DeadAgi,calling.pl
exten => 1111,n,Hangup()

in calling.pl I have:
$result=$AGI->exec("Background", "connecting");
$dialstr = $type."/$callednumber@".$providerip."|90|rHL(" . ($calltime *
60 * 1000) . ")";
$result=$AGI->exec("DIAL $dialstr");

everything works fine if the caller does not hangup and the progress tone
is played to the caller but if the caller disconnect the call while
connecting.gsm is played, the peer does not disconnect even after the
originating channel is hung up.
Should * not disconnect the briged channel when originating channel
dissconnects?
Asterisk reports the caller disconnect and DIALSTATUS is CANCEL but the
bridged call stays in progress and connects unless a restart is issued. If
this is normal (I do not think so), is there a workaround to disconnect the
bridged leg after caller hangs up in my agi script?

====================================================================== 

---------------------------------------------------------------------- 
 (0129322) anest (reporter) - 2010-12-06 04:24
 https://issues.asterisk.org/view.php?id=17954#c129322 
---------------------------------------------------------------------- 
any news? how exactly to bebug that thing?
ps: as i know this bug exists and well known about
https://issues.asterisk.org/view.php?id=8#c5 years already. i
heard in first time about that on A2Billing forum long time ago, people
complaining about this all the time there. And in some reasons Areski
recommend to use DeadAGI to resolve that problem, not AGI. weird, huh?
dejavu. i hope the solution will be found soon. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-06 04:24 anest          Note Added: 0129322                          
======================================================================




More information about the asterisk-bugs mailing list