[asterisk-commits] bweschke: branch 1.4 r43864 - /branches/1.4/apps/app_queue.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Sep 28 06:24:10 MST 2006


Author: bweschke
Date: Thu Sep 28 08:24:10 2006
New Revision: 43864

URL: http://svn.digium.com/view/asterisk?rev=43864&view=rev
Log:
 Autopause not working for queue members. (#8042 - jmls reported and patch)


Modified:
    branches/1.4/apps/app_queue.c

Modified: branches/1.4/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_queue.c?rev=43864&r1=43863&r2=43864&view=diff
==============================================================================
--- branches/1.4/apps/app_queue.c (original)
+++ branches/1.4/apps/app_queue.c Thu Sep 28 08:24:10 2006
@@ -1902,9 +1902,11 @@
 					peer = o;
 				}
 			} else if (o->chan && (o->chan == winner)) {
+
+				ast_copy_string(on, o->member->interface, sizeof(on));
+				ast_copy_string(membername, o->member->membername, sizeof(membername));
+
 				if (!ast_strlen_zero(o->chan->call_forward) && !forwardsallowed) {
-					ast_copy_string(on, o->member->interface, sizeof(on));
-					ast_copy_string(membername, o->member->membername, sizeof(membername));
 					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;



More information about the asterisk-commits mailing list