summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzuul <zuul@gerrit.asterisk.org>2016-11-02 14:08:32 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-11-02 14:08:32 -0500
commitc573ace4457bda508e3eea689a52ad8162b52c39 (patch)
tree5c5a5582e36d2209d44822f649f26ba5039b33a6
parentabfb7b5d4a77b6fc2a624b545aab53f4319be908 (diff)
parentb2a078efc9c622674dafe960b87dfbd83c26c7e8 (diff)
Merge "app_dial: Fix incorrect device state when channel is picked up." into 14
-rw-r--r--apps/app_dial.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index b5d8f50c7..c80caeb48 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -1303,6 +1303,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in,
}
}
peer = c;
+ publish_dial_end_event(in, out_chans, peer, "CANCEL");
ast_copy_flags64(peerflags, o,
OPT_CALLEE_TRANSFER | OPT_CALLER_TRANSFER |
OPT_CALLEE_HANGUP | OPT_CALLER_HANGUP |