[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 12:57:37 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: assigned
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:
======================================================================
Date Submitted: 2009-10-20 16:09 CDT
Last Modified: 2009-11-24 12:57 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.
======================================================================
----------------------------------------------------------------------
(0114244) svnbot (reporter) - 2009-11-24 12:57
https://issues.asterisk.org/view.php?id=16106#c114244
----------------------------------------------------------------------
Repository: asterisk
Revision: 231095
U trunk/main/features.c
------------------------------------------------------------------------
r231095 | jpeeler | 2009-11-24 12:57:35 -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=231095
Issue History
Date Modified Username Field Change
======================================================================
2009-11-24 12:57 svnbot Checkin
2009-11-24 12:57 svnbot Note Added: 0114244
======================================================================
More information about the asterisk-bugs
mailing list