[Asterisk-code-review] bridge basic: Display failed target (asterisk[13])
Niklas Larsson
asteriskteam at digium.com
Wed Nov 29 06:21:26 CST 2017
Niklas Larsson has uploaded this change for review. ( https://gerrit.asterisk.org/7392
Change subject: bridge_basic: Display failed target
......................................................................
bridge_basic: Display failed target
When failing to acquire target during attended transfer, display wanted
extension and context
ASTERISK-27449 #close
Change-Id: Idac66b7628c99379cc9269158377fd87dc97a880
---
M main/bridge_basic.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/92/7392/1
diff --git a/main/bridge_basic.c b/main/bridge_basic.c
index ef6d47c..fdb885d 100644
--- a/main/bridge_basic.c
+++ b/main/bridge_basic.c
@@ -3349,7 +3349,7 @@
/* Grab the extension to transfer to */
if (grab_transfer(bridge_channel->chan, exten, sizeof(exten), props->context)) {
- ast_log(LOG_WARNING, "Unable to acquire target extension for attended transfer.\n");
+ ast_log(LOG_WARNING, "Unable to acquire target extension for attended transfer: '%s@%s'\n", exten, props->context);
ast_bridge_channel_write_unhold(bridge_channel);
attended_transfer_properties_shutdown(props);
return 0;
--
To view, visit https://gerrit.asterisk.org/7392
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idac66b7628c99379cc9269158377fd87dc97a880
Gerrit-Change-Number: 7392
Gerrit-PatchSet: 1
Gerrit-Owner: Niklas Larsson <niklas at tese.se>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171129/62eb88ba/attachment.html>
More information about the asterisk-code-review
mailing list