]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Make sure the forwarded channel inherits variables appropriately when we receive...
authorBJ Weschke <bweschke@btwtech.com>
Sun, 3 Sep 2006 17:38:22 +0000 (17:38 +0000)
committerBJ Weschke <bweschke@btwtech.com>
Sun, 3 Sep 2006 17:38:22 +0000 (17:38 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41882 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index a03dd8522f843fe6bd51eafc69ba71a5078734a7..d3071a819371e4e4e6792bc858429ec7af53dfb4 100644 (file)
@@ -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;