From: BJ Weschke Date: Sun, 3 Sep 2006 17:38:22 +0000 (+0000) Subject: Make sure the forwarded channel inherits variables appropriately when we receive... X-Git-Tag: 1.2.12~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a05a361fc3bde6094c954dd23f87a209fdfa409d;p=thirdparty%2Fasterisk.git Make sure the forwarded channel inherits variables appropriately when we receive a call forward in the queue. (#7867 - raarts reported and patched) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41882 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_queue.c b/apps/app_queue.c index a03dd8522f..d3071a8193 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -1829,6 +1829,7 @@ static struct localuser *wait_for_answer(struct queue_ent *qe, struct localuser 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;