diff --git a/apps/app_queue.c b/apps/app_queue.c index 5812180430d5dd73e13cade73a74aae7043d19b2..d368658914d9c4b95c3f17cc0867f97ceeaa7948 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);