mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 11:42:27 +00:00
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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user