[Asterisk-bugs] [Asterisk 0010209]: ast_check_hangup does not return true after Hangup() has been called.

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Jul 17 14:44:19 CDT 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://www.example.com/var/www/insects.digium.com/core/view.php?id=10209 
====================================================================== 
Reported By:                juggie
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   10209
Category:                   Channels/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.7.1  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        Yes 
Request Review:              
====================================================================== 
Date Submitted:             07-16-2007 17:29 CDT
Last Modified:              07-17-2007 14:44 CDT
====================================================================== 
Summary:                    ast_check_hangup does not return true after Hangup()
has been called.
Description: 
ast_check_hangup does not properly return 1 (to indicate a hangup is in
progress) after Hangup() has been called in the dialplan and the channel
has gone into the h extension.

I discovered this while working on a patch for res_agi.

This bug has been confirmed with russellb and Corydon76 in #asterisk-dev

This bug affects 1.2,1.4 and trunk.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0010196 my asterisk comes down in flames random...
child of            0010210 [patch] res_agi, some long outstanding ...
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 07-17-07 14:44  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 75403

------------------------------------------------------------------------
r75403 | russell | 2007-07-17 14:44:17 -0500 (Tue, 17 Jul 2007) | 12 lines

(closes issue
http://www.example.com/var/www/insects.digium.com/core/view.php?id=10209)
Reported by: juggie
Patches:
      10209-trunk-2.patch uploaded by juggie
Tested by: juggie, blitzrage

In ast_pbx_run(), mark a channel as hung up after an application returned
-1, 
or when it runs out of extensions to execute.  This is so that code can
detect
that this channel has been hung up for things like making sure DeadAGI is
used
on actual dead channels, and is beneficial for other things, like making
sure
someone doesn't try to start spying on a channel that is about to go away.

------------------------------------------------------------------------ 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-17-07 14:44  svnbot         Checkin                                      
07-17-07 14:44  svnbot         Note Added: 0067470                          
07-17-07 14:44  svnbot         Status                   ready for testing =>
assigned
======================================================================




More information about the asterisk-bugs mailing list