<p>Friendly Automation <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/11020">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Kevin Harwell: Looks good to me, but someone else must approve
Joshua C. Colp: Looks good to me, approved
Friendly Automation: Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Core: Increase AST_PBX_MAX_STACK to 512 if not LOW_MEMORY<br><br>The current settings AST_PBX_MAX_STACK is 128 entries which is<br>too low for some FreePBX installations with complex parking<br>arrangements. Increased to 512 if LOW_MEMORY is not defined.<br><br>ASTERISK-28300<br><br>Change-Id: I7c4b540bc92e6642df0f3da639b003f7da8b1299<br>---<br>M include/asterisk/extconf.h<br>M include/asterisk/pbx.h<br>2 files changed, 9 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/asterisk/extconf.h b/include/asterisk/extconf.h</span><br><span>index 1a04b01..043d245 100644</span><br><span>--- a/include/asterisk/extconf.h</span><br><span>+++ b/include/asterisk/extconf.h</span><br><span>@@ -220,7 +220,11 @@</span><br><span> E_SPAWN = 0x12, /* want to spawn an extension. Requires exact match */</span><br><span> E_FINDLABEL = 0x22 /* returns the priority for a given label. Requires exact match */</span><br><span> };</span><br><span style="color: hsl(120, 100%, 40%);">+#ifdef LOW_MEMORY</span><br><span> #define AST_PBX_MAX_STACK 128</span><br><span style="color: hsl(120, 100%, 40%);">+#else</span><br><span style="color: hsl(120, 100%, 40%);">+#define AST_PBX_MAX_STACK 512</span><br><span style="color: hsl(120, 100%, 40%);">+#endif</span><br><span> </span><br><span> /* request and result for pbx_find_extension */</span><br><span> struct pbx_find_info {</span><br><span>diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h</span><br><span>index 6dea744..1cb05cf 100644</span><br><span>--- a/include/asterisk/pbx.h</span><br><span>+++ b/include/asterisk/pbx.h</span><br><span>@@ -1548,7 +1548,12 @@</span><br><span> #define STATUS_NO_PRIORITY 3</span><br><span> #define STATUS_NO_LABEL 4</span><br><span> #define STATUS_SUCCESS 5</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+#ifdef LOW_MEMORY</span><br><span> #define AST_PBX_MAX_STACK 128</span><br><span style="color: hsl(120, 100%, 40%);">+#else</span><br><span style="color: hsl(120, 100%, 40%);">+#define AST_PBX_MAX_STACK 512</span><br><span style="color: hsl(120, 100%, 40%);">+#endif</span><br><span> </span><br><span> /* request and result for pbx_find_extension */</span><br><span> struct pbx_find_info {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/11020">change 11020</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/11020"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I7c4b540bc92e6642df0f3da639b003f7da8b1299 </div>
<div style="display:none"> Gerrit-Change-Number: 11020 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation (1000185) </div>
<div style="display:none"> Gerrit-Reviewer: Joshua C. Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>