diff options
author | bweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-03 17:38:22 +0000 |
---|---|---|
committer | bweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-03 17:38:22 +0000 |
commit | 9c0c0ef9578573604d688198ec48484d4575dfb8 (patch) | |
tree | cf367959bdb2156eca0cd04d8087fefb66c5ad24 | |
parent | db7cbaa1b78123102554b61ffbbd0429edb904b6 (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.2@41882 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | apps/app_queue.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index a03dd8522..d3071a819 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; |