mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-21 09:10:36 +00:00
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
This commit is contained in:
@@ -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 */
|
/* 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");
|
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;
|
cur = args.peers;
|
||||||
do {
|
do {
|
||||||
/* Remember where to start next time */
|
/* Remember where to start next time */
|
||||||
|
|||||||
Reference in New Issue
Block a user