[asterisk-commits] bweschke: branch 1.2 r41882 - /branches/1.2/apps/app_queue.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Sep 3 10:38:23 MST 2006


Author: bweschke
Date: Sun Sep  3 12:38:22 2006
New Revision: 41882

URL: http://svn.digium.com/view/asterisk?rev=41882&view=rev
Log:
 Make sure the forwarded channel inherits variables appropriately when we receive a call forward in the queue. (#7867 - raarts reported and patched)


Modified:
    branches/1.2/apps/app_queue.c

Modified: branches/1.2/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_queue.c?rev=41882&r1=41881&r2=41882&view=diff
==============================================================================
--- branches/1.2/apps/app_queue.c (original)
+++ branches/1.2/apps/app_queue.c Sun Sep  3 12:38:22 2006
@@ -1829,6 +1829,7 @@
 						o->stillgoing = 0;
 						numnochan++;
 					} else {
+						ast_channel_inherit_variables(in, o->chan);
 						if (o->chan->cid.cid_num)
 							free(o->chan->cid.cid_num);
 						o->chan->cid.cid_num = NULL;



More information about the asterisk-commits mailing list