[asterisk-commits] bridge basic: don't play an attended transfer fail sound aft... (asterisk[13])
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sat Jan 16 08:29:51 CST 2016
Joshua Colp has submitted this change and it was merged.
Change subject: bridge_basic: don't play an attended transfer fail sound after target hangs up
......................................................................
bridge_basic: don't play an attended transfer fail sound after target hangs up
If the attended transfer destination answers (picks call up or goes to
voicemail) and then hangs up on the transferer then transferer hears the
fail sound.
This patch makes it so the fail sound is not played when the transfer
destination/target hangs up after answering.
ASTERISK-25697 #close
Change-Id: I97f142fe4fc2805d1a24b7c16143069dc03d9ded
---
M main/bridge_basic.c
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
Mark Michelson: Looks good to me, but someone else must approve
Richard Mudgett: Looks good to me, but someone else must approve
Anonymous Coward #1000019: Verified
Joshua Colp: Looks good to me, approved
diff --git a/main/bridge_basic.c b/main/bridge_basic.c
index 29b3f37..dc5d7f0 100644
--- a/main/bridge_basic.c
+++ b/main/bridge_basic.c
@@ -2178,6 +2178,7 @@
bridge_unhold(props->transferee_bridge);
return TRANSFER_COMPLETE;
case STIMULUS_TRANSFER_TARGET_HANGUP:
+ return TRANSFER_REBRIDGE;
case STIMULUS_DTMF_ATXFER_ABORT:
play_sound(props->transferer, props->failsound);
return TRANSFER_REBRIDGE;
--
To view, visit https://gerrit.asterisk.org/2017
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I97f142fe4fc2805d1a24b7c16143069dc03d9ded
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
More information about the asterisk-commits
mailing list