X-Git-Url: http://git.asterisk.org/gitweb/?p=asterisk%2Fasterisk.git;a=blobdiff_plain;f=apps%2Fapp_dial.c;h=f3f5276691da55a682a9e29a323d39e5260e2ab8;hp=6461c4003dd8dac537f33f3d0fa371c0b44f1624;hb=360d076dfc9d1e7d7424fa5f3d4cf9f18b01edd0;hpb=680b76eb2541229f6bd2261c55960e7174314ed3 diff --git a/apps/app_dial.c b/apps/app_dial.c index 6461c40..f3f5276 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -2724,7 +2724,7 @@ static int dial_exec_full(struct ast_channel *chan, const char *data, struct ast chans[0] = chan; chans[1] = peer; - /* we need to stream the announcment while monitoring the caller for a hangup */ + /* we need to stream the announcement while monitoring the caller for a hangup */ /* stream the file */ res = ast_streamfile(peer, opt_args[OPT_ARG_ANNOUNCE], ast_channel_language(peer)); @@ -2803,7 +2803,6 @@ static int dial_exec_full(struct ast_channel *chan, const char *data, struct ast if (ast_pbx_start(peer)) { ast_autoservice_chan_hangup_peer(chan, peer); } - hanguptree(&out_chans, NULL, ast_test_flag64(&opts, OPT_CANCEL_ELSEWHERE) ? 1 : 0); if (continue_exec) *continue_exec = 1; res = 0;