<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body 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><br>
On 01/17/2012 03:02 PM, Bryant Zimmerman wrote:
<blockquote cite="mid:5d088a74$7e2e5a40$2491a08d$@com" type="cite"><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 id="divSignature">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 class="moz-txt-link-rfc2396E" href="mailto:jonas.kellens@telenet.be"><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 class="moz-txt-link-rfc2396E" href="mailto:asterisk-users@lists.digium.com"><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>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
<a class="moz-txt-link-freetext" href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a>
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
</blockquote>
</body>
</html>