*Sent*: Tuesday, January 17, 2012 5:53 AM
*To*: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@lists.digium.com
*Subject*: [asterisk-users] Macro vs sub
Hello list,
can I conclude that it is better to use sub's in stead of macro's ?
I read the following in an Asterisk-book
*: Tuesday, January 17, 2012 5:53 AM
*To*: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@lists.digium.com asterisk-users@lists.digium.com
*Subject*: [asterisk-users] Macro vs sub
Hello list,
can I conclude that it is better to use sub's in stead of macro's ?
I read
, January 17, 2012 5:53 AM
*To*: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@lists.digium.com
mailto:asterisk-users@lists.digium.com
*Subject*: [asterisk-users] Macro vs sub
Hello list,
can I conclude that it is better to use sub's in stead
- Original Message -
From: Jonas Kellens jonas.kell...@telenet.be
To: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@lists.digium.com
Sent: Wednesday, January 18, 2012 6:36:35 AM
Subject: Re: [asterisk-users] Macro vs sub
Thank you for sharing your
On 01/18/2012 01:51 PM, Matthew Jordan wrote:
Anyone else ? Maybe one of the developers can confirm this risk of
working with macros ?
I don't think you need an Asterisk developer to tell you the risks of using
macros in deeply nested situations. Quoting the documentation of Macro:
Because
Hi, why don't you try write two macros only and recursively call both of
them incrementing a counter each time you call the inner macro. Also
print(NOOP) system stats along with the counter. You'll soon see what
happens.
The para Matthew quoted is cent percent true. But if you don't need to
call
Hello list,
can I conclude that it is better to use sub's in stead of macro's ?
I read the following in an Asterisk-book :
GoSub() works in a different manner from Macro(), though, in that it
doesn't have the stack space requirements, so
it nests effectively. Essentially, GoSub() acts like
Sent: Tuesday, January 17, 2012 5:53 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@lists.digium.com
Subject: [asterisk-users] Macro vs sub
Hello list,
can I conclude that it is better to use sub's in stead of macro's ?
I read the following in an Asterisk