aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/app_dial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index 66e8bb865..95c0b359e 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -1910,7 +1910,7 @@ static int dial_exec_full(struct ast_channel *chan, const char *data, struct ast
connected.id.number_presentation = AST_PRES_ALLOWED_USER_NUMBER_PASSED_SCREEN;
ast_channel_set_connected_line(tmp->chan, &connected);
} else {
- ast_connected_line_copy_from_caller(&tmp->chan->connected, &chan->cid);
+ ast_connected_line_copy_from_caller(&tc->connected, &chan->cid);
}
S_REPLACE(tc->cid.cid_rdnis, ast_strdup(chan->cid.cid_rdnis));