From e69171dc061543e3df9b899c0a70197bb02d25c1 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Tue, 13 Dec 2005 05:53:00 +0000 Subject: [PATCH] restore ability of caller to hangup calls that are still ringing (issue #5839) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7453 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_dial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_dial.c b/apps/app_dial.c index 641e07e258..a020fefe00 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -962,7 +962,7 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags /* If a channel group has been specified, get it for use when we create peer channels */ outbound_group = pbx_builtin_getvar_helper(chan, "OUTBOUND_GROUP"); - ast_copy_flags(peerflags, &opts, OPT_DTMF_EXIT | OPT_GO_ON | OPT_ORIGINAL_CLID); + ast_copy_flags(peerflags, &opts, OPT_DTMF_EXIT | OPT_GO_ON | OPT_ORIGINAL_CLID | OPT_CALLER_HANGUP); cur = args.peers; do { /* Remember where to start next time */