<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 align="center" size="2" width="100%" />
<b>From</b>: "Jonas Kellens" <jonas.kellens@telenet.be><br />
<b>Sent</b>: Tuesday, January 17, 2012 5:53 AM<br />
<b>To</b>: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com><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>