<p>Josh Soref has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/16771">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">spelling: blindxfer<br><br>Change-Id: Ifc57391a24c4ceb454faa59fe65c2fef06b449e3<br>---<br>M main/bridge_basic.c<br>1 file changed, 6 insertions(+), 6 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/71/16771/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/main/bridge_basic.c b/main/bridge_basic.c</span><br><span>index de3e5c7..a78930e 100644</span><br><span>--- a/main/bridge_basic.c</span><br><span>+++ b/main/bridge_basic.c</span><br><span>@@ -3473,7 +3473,7 @@</span><br><span> char xfer_exten[AST_MAX_EXTENSION] = "";</span><br><span> struct ast_bridge_features_blind_transfer *blind_transfer = hook_pvt;</span><br><span> const char *xfer_context;</span><br><span style="color: hsl(0, 100%, 40%);">- char *goto_on_blindxfr;</span><br><span style="color: hsl(120, 100%, 40%);">+ char *goto_on_blindxfer;</span><br><span> </span><br><span> ast_verb(3, "Channel %s: Started DTMF blind transfer.\n",</span><br><span> ast_channel_name(bridge_channel->chan));</span><br><span>@@ -3483,7 +3483,7 @@</span><br><span> ast_channel_lock(bridge_channel->chan);</span><br><span> xfer_context = ast_strdupa(get_transfer_context(bridge_channel->chan,</span><br><span> blind_transfer ? blind_transfer->context : NULL));</span><br><span style="color: hsl(0, 100%, 40%);">- goto_on_blindxfr = ast_strdupa(S_OR(pbx_builtin_getvar_helper(bridge_channel->chan,</span><br><span style="color: hsl(120, 100%, 40%);">+ goto_on_blindxfer = ast_strdupa(S_OR(pbx_builtin_getvar_helper(bridge_channel->chan,</span><br><span> "GOTO_ON_BLINDXFR"), ""));</span><br><span> ast_channel_unlock(bridge_channel->chan);</span><br><span> </span><br><span>@@ -3496,13 +3496,13 @@</span><br><span> ast_debug(1, "Channel %s: Blind transfer target '%s@%s'\n",</span><br><span> ast_channel_name(bridge_channel->chan), xfer_exten, xfer_context);</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- if (!ast_strlen_zero(goto_on_blindxfr)) {</span><br><span style="color: hsl(120, 100%, 40%);">+ if (!ast_strlen_zero(goto_on_blindxfer)) {</span><br><span> const char *chan_context;</span><br><span> const char *chan_exten;</span><br><span> int chan_priority;</span><br><span> </span><br><span> ast_debug(1, "Channel %s: After transfer, transferrer goes to %s\n",</span><br><span style="color: hsl(0, 100%, 40%);">- ast_channel_name(bridge_channel->chan), goto_on_blindxfr);</span><br><span style="color: hsl(120, 100%, 40%);">+ ast_channel_name(bridge_channel->chan), goto_on_blindxfer);</span><br><span> </span><br><span> ast_channel_lock(bridge_channel->chan);</span><br><span> chan_context = ast_strdupa(ast_channel_context(bridge_channel->chan));</span><br><span>@@ -3510,12 +3510,12 @@</span><br><span> chan_priority = ast_channel_priority(bridge_channel->chan);</span><br><span> ast_channel_unlock(bridge_channel->chan);</span><br><span> ast_bridge_set_after_go_on(bridge_channel->chan,</span><br><span style="color: hsl(0, 100%, 40%);">- chan_context, chan_exten, chan_priority, goto_on_blindxfr);</span><br><span style="color: hsl(120, 100%, 40%);">+ chan_context, chan_exten, chan_priority, goto_on_blindxfer);</span><br><span> }</span><br><span> </span><br><span> if (ast_bridge_transfer_blind(0, bridge_channel->chan, xfer_exten, xfer_context,</span><br><span> blind_transfer_cb, bridge_channel->chan) != AST_BRIDGE_TRANSFER_SUCCESS</span><br><span style="color: hsl(0, 100%, 40%);">- && !ast_strlen_zero(goto_on_blindxfr)) {</span><br><span style="color: hsl(120, 100%, 40%);">+ && !ast_strlen_zero(goto_on_blindxfer)) {</span><br><span> ast_bridge_discard_after_goto(bridge_channel->chan);</span><br><span> }</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/16771">change 16771</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/16771"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ifc57391a24c4ceb454faa59fe65c2fef06b449e3 </div>
<div style="display:none"> Gerrit-Change-Number: 16771 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Josh Soref <jsoref@gmail.com> </div>
<div style="display:none"> Gerrit-CC: Friendly Automation </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>