From: BJ Weschke Date: Sun, 3 Sep 2006 17:40:08 +0000 (+0000) Subject: Merged revisions 41882 via svnmerge from X-Git-Tag: 1.4.0-beta1~191 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=06b98dcc77c77d9c2c998a0f6ecfd23942741997;p=thirdparty%2Fasterisk.git Merged revisions 41882 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r41882 | bweschke | 2006-09-03 13:38:22 -0400 (Sun, 03 Sep 2006) | 3 lines 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/trunk@41883 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_queue.c b/apps/app_queue.c index 5812180430..d368658914 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -1919,6 +1919,7 @@ static struct callattempt *wait_for_answer(struct queue_ent *qe, struct callatte 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 = ast_strdup(in->cid.cid_num);