diff --git a/apps/app_dial.c b/apps/app_dial.c index b48a226c79ca19eb66414c1a8c4c94c588af8823..2faff8478981516af40c47e4106bc7f7df260e8b 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -1212,7 +1212,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, ast_channel_unlock(in); } - do_forward(o, &num, peerflags, single, caller_entertained, to, + do_forward(o, &num, peerflags, single, caller_entertained, &orig, forced_clid, stored_clid); if (single && o->chan