diff --git a/apps/app_dial.c b/apps/app_dial.c index 7c0cc62995..174ff776ea 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -1215,7 +1215,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