[asterisk-commits] mmichelson: trunk r81730 - in /trunk: ./ apps/app_queue.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Sep 6 11:31:31 CDT 2007
Author: mmichelson
Date: Thu Sep 6 11:31:30 2007
New Revision: 81730
URL: http://svn.digium.com/view/asterisk?view=rev&rev=81730
Log:
Merged revisions 81713 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r81713 | mmichelson | 2007-09-06 11:25:40 -0500 (Thu, 06 Sep 2007) | 6 lines
Fixes an issue where valid DTMF had to be pressed twice to exit a queue if a member's phone
was ringing.
(closes issue #10655, reported by strider2k, patched by me)
........
Modified:
trunk/ (props changed)
trunk/apps/app_queue.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?view=diff&rev=81730&r1=81729&r2=81730
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Thu Sep 6 11:31:30 2007
@@ -2637,11 +2637,11 @@
/* Must gotten hung up */
res = -1;
} else {
+ /* User exited by pressing a digit */
res = digit;
- if (res > 0 && !valid_exit(qe, res))
- res = 0;
- }
- ast_debug(1, "%s: Nobody answered.\n", qe->chan->name);
+ }
+ if (res == -1)
+ ast_debug(1, "%s: Nobody answered.\n", qe->chan->name);
} else { /* peer is valid */
/* Ah ha! Someone answered within the desired timeframe. Of course after this
we will always return with -1 so that it is hung up properly after the
More information about the asterisk-commits
mailing list