<p> Attention is currently required from: N A, Richard Mudgett. </p>
<p>N A <strong>uploaded patch set #4</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/18369">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">core_local: Fix local channel parsing with slashes<br><br>Currently, trying to call a Local channel with a slash<br>in the extension will fail due to the parsing of characters<br>after such a slash as being dial modifiers. Additionally,<br>core_local is inconsistent and incomplete with<br>its parsing of Local dial strings in that sometimes it<br>uses the first slash and at other times it uses the last.<br><br>For instance, something like DAHDI/5 or PJSIP/device<br>is a perfectly usable extension in the dialplan, but Local<br>channels in particular prevent these from being called.<br><br>This creates inconsistent behavior for users, since using<br>a slash in an extension is perfectly acceptable, and using<br>a Goto to accomplish this works fine, but if specified<br>through a Local channel, the parsing prevents this.<br><br>This addresses this by consistently using the last '/' in<br>a dial string as the beginning of options. Additionally,<br>the 'z' option is reserved to do nothing, so that it can<br>be specified in the dial string for elegance. The 'b' option<br>is not used, even though it no longer exists, because it<br>could cause confusion.<br><br>This allows for slashes to be used in extensions, provided<br>the destination still has a trailing slash for options,<br>including the dummy 'z' option if desired.<br><br>ASTERISK-30013 #close<br><br>Change-Id: I8e85bc14072e452d0537a801aba17779569d0360<br>---<br>M main/core_local.c<br>1 file changed, 20 insertions(+), 7 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/69/18369/4</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/18369">change 18369</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/+/18369"/><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: I8e85bc14072e452d0537a801aba17779569d0360 </div>
<div style="display:none"> Gerrit-Change-Number: 18369 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </div>
<div style="display:none"> Gerrit-Owner: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Attention: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-Attention: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>