summaryrefslogtreecommitdiff
path: root/main/cel.c
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2013-07-23 15:28:11 +0000
committerMark Michelson <mmichelson@digium.com>2013-07-23 15:28:11 +0000
commitbf22391b8d3ab34d8bfea29cf8a8ac66a80c2733 (patch)
tree9c4f35b55aea44e79fd9501b9616fc4125b7961d /main/cel.c
parente148c6e867540675d1f26e54fa91b3497d0e8b6f (diff)
Make DTMF attended transfer support feature-complete.
This greatly modifies the operation of DTMF attended transfers so that the full range of options from features.conf applies. In addition, a new option has been added that allows for a transferer to switch between bridges during a transfer before completing the transfer. (closes issue ASTERISK-21543) reported by Matt Jordan Review: https://reviewboard.asterisk.org/r/2654 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395151 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/cel.c')
-rw-r--r--main/cel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/cel.c b/main/cel.c
index 3d0e8e991..9d21cc8f5 100644
--- a/main/cel.c
+++ b/main/cel.c
@@ -1433,9 +1433,10 @@ static void cel_attended_transfer_cb(
switch (xfer->dest_type) {
case AST_ATTENDED_TRANSFER_DEST_FAIL:
return;
- /* handle these two the same */
+ /* handle these three the same */
case AST_ATTENDED_TRANSFER_DEST_BRIDGE_MERGE:
case AST_ATTENDED_TRANSFER_DEST_LINK:
+ case AST_ATTENDED_TRANSFER_DEST_THREEWAY:
extra = ast_json_pack("{s: s, s: s, s: s}",
"bridge1_id", bridge1->uniqueid,
"channel2_name", channel2->name,