diff options
Diffstat (limited to 'apps/app_dial.c')
-rw-r--r-- | apps/app_dial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index 72a38ce9c..ceca20f12 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -2478,7 +2478,7 @@ static int dial_exec_full(struct ast_channel *chan, const char *data, struct ast ast_autoservice_start(chan); ast_replace_subargument_delimiter(opt_args[OPT_ARG_PREDIAL_CALLEE]); AST_LIST_TRAVERSE(&out_chans, tmp, node) { - ast_app_exec_sub(NULL, tmp->chan, opt_args[OPT_ARG_PREDIAL_CALLEE]); + ast_pre_call(tmp->chan, opt_args[OPT_ARG_PREDIAL_CALLEE]); } ast_autoservice_stop(chan); } |