<p> Attention is currently required from: Sean Bright, Joshua Colp, George Joseph, Kevin Harwell. </p>
<p>N A <strong>uploaded patch set #7</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/17792">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">pbx_variables: Add variable registration and validation<br><br>Adds a mechanism for modules to register the special<br>variables they use with the PBX core. This allows us<br>to do a few things:<br><br>First, a CLI command is added to allow the user to see<br>all special Asterisk variables, along with a description<br>of what each variable is for. This includes core Asterisk<br>variables and those registered by modules.<br><br>Secondly, at runtime the variable setter now is aware<br>of what variables names are reserved and in use by<br>Asterisk, and it can throw a warning if a user tries to<br>set one of these variables. This operation would currently<br>fail, but would do so silently since the variable would<br>be saved to the channel; however, it can never be retrieved<br>as the variable substituter will match a built-in first,<br>and thus the stored value is not usable.<br><br>Consequently, more robust variable validation is now<br>possible and users are warned about conflicts with<br>variable set operations.<br><br>ASTERISK-29849 #close<br><br>Change-Id: Iad3b8d9833c7d9debe04aca59260d7316c3ad28c<br>---<br>M apps/app_morsecode.c<br>M include/asterisk/chanvars.h<br>M include/asterisk/pbx.h<br>M main/pbx_variables.c<br>4 files changed, 376 insertions(+), 4 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/92/17792/7</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/17792">change 17792</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/+/17792"/><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: Iad3b8d9833c7d9debe04aca59260d7316c3ad28c </div>
<div style="display:none"> Gerrit-Change-Number: 17792 </div>
<div style="display:none"> Gerrit-PatchSet: 7 </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: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <default.enum@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Sean Bright <sean@seanbright.com> </div>
<div style="display:none"> Gerrit-CC: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Attention: Sean Bright <sean@seanbright.com> </div>
<div style="display:none"> Gerrit-Attention: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Attention: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Attention: Kevin Harwell <default.enum@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>