Yes I've personally experienced issue with nested macros and eventually asterisk failing to process call any further. So I moved onto using GoSUBs and everything worked perfectly. Since then I'm using GoSUBs happily.<br>
<br><div class="gmail_quote">On Wed, Jan 18, 2012 at 4:54 PM, Jonas Kellens <span dir="ltr"><<a href="mailto:jonas.kellens@telenet.be">jonas.kellens@telenet.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div text="#000000" bgcolor="#ffffff">
<font face="Helvetica, Arial, sans-serif">Can someone confirm that
the nesting of macro's or the continuous and simultaneous use of
different macro's, can lead to stack-problems and cause an
Asterisk spontaneous reboot/restart ?<br>
<br>
<br>
Kind regards,<br>
Jonas.<br>
<br>
<br>
</font><div><div class="h5"><br>
On 01/17/2012 03:02 PM, Bryant Zimmerman wrote:
</div></div><blockquote type="cite"><div><div class="h5"><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt">Jonas<br>
<br>
>From what I understand they are trying to phase out Macros.
We are slowly removing them from our dialplans as time allows
for testing. <br>
<br>
<div>Thanks<br>
<br>
Bryant Zimmerman (ZK Tech Inc.)<br>
616-855-1030 Ext. 2003</div>
<br>
<br>
<span style="font-family:tahoma,arial,sans-serif;font-size:10pt">
<hr size="2" width="100%" align="center">
<b>From</b>: "Jonas Kellens" <a href="mailto:jonas.kellens@telenet.be" target="_blank"><jonas.kellens@telenet.be></a><br>
<b>Sent</b>: Tuesday, January 17, 2012 5:53 AM<br>
<b>To</b>: "Asterisk Users Mailing List - Non-Commercial
Discussion" <a href="mailto:asterisk-users@lists.digium.com" target="_blank"><asterisk-users@lists.digium.com></a><br>
<b>Subject</b>: [asterisk-users] Macro vs sub</span><br>
<br>
<span style="font-family:helvetica,arial,sans-serif">Hello
list,<br>
<br>
can I conclude that it is better to use sub's in stead of
macro's ?<br>
<br>
I read the following in an Asterisk-book :<br>
<br>
GoSub() works in a different manner from Macro(), though, in
that it doesn’t have the stack space requirements, so<br>
it nests effectively. Essentially, GoSub() acts like Goto()
with a memory of where it came from.<br>
<br>
Is it then not better to use a method that does not stack ?!<br>
<br>
<br>
Kind regards,<br>
<br>
Jonas.<br>
</span><br>
</span>
</div></div><pre><span class="HOEnZb"><font color="#888888"><fieldset></fieldset>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a>
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></font></span></pre>
</blockquote>
</div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>