mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 12:52:33 +00:00
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
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user