Skip to content

Commit f01a039

Browse files
InterLinked1gtjoseph
authored andcommitted
bridge_basic: Change warning to verbose if transfer cancelled
The attended transfer feature will emit a warning if the user cancels the transfer or the attended transfer doesn't complete for any reason. Changes the warning to a verbose message, since nothing is actually wrong here. ASTERISK-29612 #close Change-Id: I64c93cdb21360a0a8d45e9cb6db3af8168f66e6d
1 parent 92f9ae3 commit f01a039

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

main/bridge_basic.c

+3-4
Original file line numberDiff line numberDiff line change
@@ -3352,13 +3352,12 @@ static int feature_attended_transfer(struct ast_bridge_channel *bridge_channel,
33523352
/* Grab the extension to transfer to */
33533353
if (grab_transfer(bridge_channel->chan, exten, sizeof(exten), props->context)) {
33543354
/*
3355-
* XXX The warning here really should be removed. While the
3356-
* message is accurate, this is a normal exit for when the user
3357-
* fails to specify a valid transfer target. e.g., The user
3355+
* This is a normal exit for when the user fails
3356+
* to specify a valid transfer target. e.g., The user
33583357
* hungup, didn't dial any digits, or dialed an invalid
33593358
* extension.
33603359
*/
3361-
ast_log(LOG_WARNING, "Channel %s: Unable to acquire target extension for attended transfer.\n",
3360+
ast_verb(3, "Channel %s: Unable to acquire target extension for attended transfer.\n",
33623361
ast_channel_name(bridge_channel->chan));
33633362
ast_bridge_channel_write_unhold(bridge_channel);
33643363
attended_transfer_properties_shutdown(props);

0 commit comments

Comments
 (0)