[asterisk-bugs] [Asterisk 0016106]: [patch] Hangup extension executed twice in 1.6.2 RC2

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Nov 24 13:01:01 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16106 
====================================================================== 
Reported By:                ajohnson
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   16106
Category:                   Core/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.2.0-rc3 
JIRA:                       SWP-392 
Regression:                 Yes 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-10-20 16:09 CDT
Last Modified:              2009-11-24 13:01 CST
====================================================================== 
Summary:                    [patch] Hangup extension executed twice in 1.6.2 RC2
Description: 
When a user hangs up a call, in certain circumstances, the hangup extension
can end up being executed twice.

If I comment out this section of my dialplan, the hangup extension is only
executed once:

exten => _X.,n,Goto(s-${DIALSTATUS})

exten => s-CONGESTION,1,Congestion(5)
exten => s-BUSY,1,Busy(5)
exten => s-.,1,Congestion(5)

Otherwise, the hangup extension is executed twice.  The odd thing is that
the console output does not display that the code above is being executed.
====================================================================== 

---------------------------------------------------------------------- 
 (0114246) svnbot (reporter) - 2009-11-24 13:01
 https://issues.asterisk.org/view.php?id=16106#c114246 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 231097

_U  branches/1.6.1/
U   branches/1.6.1/main/features.c

------------------------------------------------------------------------
r231097 | jpeeler | 2009-11-24 13:01:00 -0600 (Tue, 24 Nov 2009) | 18
lines

Merged revisions 231095 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r231095 | jpeeler | 2009-11-24 12:50:36 -0600 (Tue, 24 Nov 2009) | 11
lines
  
  Fix erroneous hangup extension execution
  
  ast_spawn_extension behaves differently from 1.4 in that hangups and
extensions
  that do not exist do not return an error, whereas in 1.6 it does. This
is now 
  taken into account so that the AST_FLAG_BRIDGE_HANGUP_RUN flag gets set
  properly.
  
  (closes issue https://issues.asterisk.org/view.php?id=16106)
  Reported by: ajohnson
  Tested by: ajohnson
........

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

http://svn.digium.com/view/asterisk?view=rev&revision=231097 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-24 13:01 svnbot         Checkin                                      
2009-11-24 13:01 svnbot         Note Added: 0114246                          
======================================================================




More information about the asterisk-bugs mailing list