<p>Friendly Automation <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/17790">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Kevin Harwell: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, approved
  Friendly Automation: Approved for Submit

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">pbx_variables: add missing ASTSBINDIR variable<br><br>Every config variable in the directories<br>section of asterisk.conf currently has a<br>counterpart built-in variable containing<br>the value of the config option, except<br>for the last one, astsbindir, which should<br>have an ASTSBINDIR variable.<br><br>However, the actual corresponding ASTSBINDIR<br>variable is missing in pbx_variables.c.<br><br>This adds the missing variable so that all<br>the config options have their corresponding<br>variable.<br><br>ASTERISK-29847 #close<br><br>Change-Id: I36006faf471825b36ebc8aa5e87a3bcb38d446fc<br>---<br>M main/pbx_variables.c<br>1 file changed, 2 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/main/pbx_variables.c b/main/pbx_variables.c</span><br><span>index 7a85989..6f7439f 100644</span><br><span>--- a/main/pbx_variables.c</span><br><span>+++ b/main/pbx_variables.c</span><br><span>@@ -350,6 +350,8 @@</span><br><span>                   s = ast_config_AST_RUN_DIR;</span><br><span>          } else if (!strcmp(var, "ASTLOGDIR")) {</span><br><span>                    s = ast_config_AST_LOG_DIR;</span><br><span style="color: hsl(120, 100%, 40%);">+           } else if (!strcmp(var, "ASTSBINDIR")) {</span><br><span style="color: hsl(120, 100%, 40%);">+                    s = ast_config_AST_SBIN_DIR;</span><br><span>                 } else if (!strcmp(var, "ENTITYID")) {</span><br><span>                     ast_eid_to_str(workspace, sizeof(workspace), &ast_eid_default);</span><br><span>                  s = workspace;</span><br><span></span><br></pre><div style="white-space:pre-wrap"></div><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/17790">change 17790</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/+/17790"/><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: I36006faf471825b36ebc8aa5e87a3bcb38d446fc </div>
<div style="display:none"> Gerrit-Change-Number: 17790 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </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: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>