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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Oct 20 16:14:17 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16106 
====================================================================== 
Reported By:                ajohnson
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16106
Category:                   Core/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.0-rc3 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-10-20 16:09 CDT
Last Modified:              2009-10-20 16:14 CDT
====================================================================== 
Summary:                    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.
====================================================================== 

---------------------------------------------------------------------- 
 (0112496) ebroad (manager) - 2009-10-20 16:14
 https://issues.asterisk.org/view.php?id=16106#c112496 
---------------------------------------------------------------------- 
That's because Congestion(5) will Hangup() after 5 seconds, so you don't
need the additional Hangup(). 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-20 16:14 ebroad         Note Added: 0112496                          
======================================================================




More information about the asterisk-bugs mailing list