[asterisk-commits] file: trunk r55132 - in /trunk: ./ apps/app_queue.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Feb 16 20:01:39 MST 2007


Author: file
Date: Fri Feb 16 21:01:38 2007
New Revision: 55132

URL: http://svn.digium.com/view/asterisk?view=rev&rev=55132
Log:
Merged revisions 55129 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r55129 | file | 2007-02-16 21:59:50 -0500 (Fri, 16 Feb 2007) | 2 lines

Make the 'i' option of Queue actually work. (issue #8986 reported by utis)

........

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=55132&r1=55131&r2=55132
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Fri Feb 16 21:01:38 2007
@@ -1971,7 +1971,10 @@
 				if (!ast_strlen_zero(o->chan->call_forward) && !forwardsallowed) {
 					if (option_verbose > 2)
 						ast_verbose(VERBOSE_PREFIX_3 "Forwarding %s to '%s' prevented.\n", in->name, o->chan->call_forward);
-                                        winner = o->chan = NULL;
+					numnochan++;
+					do_hang(o);
+					winner = NULL;
+					continue;
 				} else if (!ast_strlen_zero(o->chan->call_forward)) {
 					char tmpchan[256];
 					char *stuff;



More information about the asterisk-commits mailing list