[Home]

Summary:ASTERISK-05169: [patch] Recent conversion to ast_goto_if_exists breaks queue exit
Reporter:Terry Wilson (twilson)Labels:
Date Opened:2005-09-27 19:17:40Date Closed:2008-01-15 15:49:29.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) app_queue.patch.txt
Description:After the patch for bug 5138, exiting the queue via a dialed digit no longer works.

****** STEPS TO REPRODUCE ******

create queue with context = queue-out
[default]
exten => 123,1,Answer
exten => 123,2,Queue(blah)
exten => 123,3,Hangup

[queue-out]
exten => 0,1,Playback(tt-monkeys)
exten => 0,2,Hangup

Dialing '0' from within the queue does not exit after the patch from bug 5138.  Reversing the logic (attached patch) fixes it.
Comments:By: Russell Bryant (russell) 2005-09-28 15:36:52

fixed in cvs head, thanks!

By: Digium Subversion (svnbot) 2008-01-15 15:49:29.000-0600

Repository: asterisk
Revision: 6677

U   trunk/apps/app_queue.c

------------------------------------------------------------------------
r6677 | russell | 2008-01-15 15:49:29 -0600 (Tue, 15 Jan 2008) | 2 lines

fix logic error that breaks queue exit (issue ASTERISK-5169)

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

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