[Asterisk-code-review] spelling: blindxfer (asterisk[master])

Josh Soref asteriskteam at digium.com
Sun Nov 7 00:04:20 CDT 2021


Josh Soref has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/16771 )


Change subject: spelling: blindxfer
......................................................................

spelling: blindxfer

Change-Id: Ifc57391a24c4ceb454faa59fe65c2fef06b449e3
---
M main/bridge_basic.c
1 file changed, 6 insertions(+), 6 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/71/16771/1

diff --git a/main/bridge_basic.c b/main/bridge_basic.c
index de3e5c7..a78930e 100644
--- a/main/bridge_basic.c
+++ b/main/bridge_basic.c
@@ -3473,7 +3473,7 @@
 	char xfer_exten[AST_MAX_EXTENSION] = "";
 	struct ast_bridge_features_blind_transfer *blind_transfer = hook_pvt;
 	const char *xfer_context;
-	char *goto_on_blindxfr;
+	char *goto_on_blindxfer;
 
 	ast_verb(3, "Channel %s: Started DTMF blind transfer.\n",
 		ast_channel_name(bridge_channel->chan));
@@ -3483,7 +3483,7 @@
 	ast_channel_lock(bridge_channel->chan);
 	xfer_context = ast_strdupa(get_transfer_context(bridge_channel->chan,
 		blind_transfer ? blind_transfer->context : NULL));
-	goto_on_blindxfr = ast_strdupa(S_OR(pbx_builtin_getvar_helper(bridge_channel->chan,
+	goto_on_blindxfer = ast_strdupa(S_OR(pbx_builtin_getvar_helper(bridge_channel->chan,
 		"GOTO_ON_BLINDXFR"), ""));
 	ast_channel_unlock(bridge_channel->chan);
 
@@ -3496,13 +3496,13 @@
 	ast_debug(1, "Channel %s: Blind transfer target '%s@%s'\n",
 		ast_channel_name(bridge_channel->chan), xfer_exten, xfer_context);
 
-	if (!ast_strlen_zero(goto_on_blindxfr)) {
+	if (!ast_strlen_zero(goto_on_blindxfer)) {
 		const char *chan_context;
 		const char *chan_exten;
 		int chan_priority;
 
 		ast_debug(1, "Channel %s: After transfer, transferrer goes to %s\n",
-			ast_channel_name(bridge_channel->chan), goto_on_blindxfr);
+			ast_channel_name(bridge_channel->chan), goto_on_blindxfer);
 
 		ast_channel_lock(bridge_channel->chan);
 		chan_context = ast_strdupa(ast_channel_context(bridge_channel->chan));
@@ -3510,12 +3510,12 @@
 		chan_priority = ast_channel_priority(bridge_channel->chan);
 		ast_channel_unlock(bridge_channel->chan);
 		ast_bridge_set_after_go_on(bridge_channel->chan,
-			chan_context, chan_exten, chan_priority, goto_on_blindxfr);
+			chan_context, chan_exten, chan_priority, goto_on_blindxfer);
 	}
 
 	if (ast_bridge_transfer_blind(0, bridge_channel->chan, xfer_exten, xfer_context,
 		blind_transfer_cb, bridge_channel->chan) != AST_BRIDGE_TRANSFER_SUCCESS
-		&& !ast_strlen_zero(goto_on_blindxfr)) {
+		&& !ast_strlen_zero(goto_on_blindxfer)) {
 		ast_bridge_discard_after_goto(bridge_channel->chan);
 	}
 

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/16771
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Ifc57391a24c4ceb454faa59fe65c2fef06b449e3
Gerrit-Change-Number: 16771
Gerrit-PatchSet: 1
Gerrit-Owner: Josh Soref <jsoref at gmail.com>
Gerrit-CC: Friendly Automation
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20211107/e750f06e/attachment.html>


More information about the asterisk-code-review mailing list