[Asterisk-code-review] bridge basic: don't play an attended transfer fail sound aft... (asterisk[13])

Kevin Harwell asteriskteam at digium.com
Thu Jan 14 16:05:55 CST 2016


Kevin Harwell has uploaded a new change for review.

  https://gerrit.asterisk.org/2017

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(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/17/2017/1

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: newchange
Gerrit-Change-Id: I97f142fe4fc2805d1a24b7c16143069dc03d9ded
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Kevin Harwell <kharwell at digium.com>



More information about the asterisk-code-review mailing list