On May 19, 2008, at 2:32 AM, Philip Prindeville wrote:

> Darrick Hartman (lists) wrote:
>> [snip]
>> Interesting.  I usually use use the park and announce feature.  So  
>> you
>> just transfer the call to 1187 in your example, then have someone  
>> else
>> dial 1188 (etc) to pick up the call.
>>
>> I'm just thinking how much of a pain in the butt it's going to be to
>> redo all the Macro logic to a non-macro approach when the Macro  
>> function
>> is deprecated.
>>
>> Darrick
>>
>
> Actually, I didn't find the new GoSub with arguments to be all that
> painful.  It wasn't as bad as I thought it would be.
>
> -Philip

It appears that MACRO() is not going away, though deprecated.
"for the sake of backwards compatibility it will not be removed" see  
below.

 From asterisk /tags/1.6.0-beta9/UPGRADE.txt

88   Macro() is now deprecated.  If you need subroutines, you should  
use the
89   Gosub()/Return() applications.  To replace MacroExclusive(), we  
have
90   introduced dialplan functions LOCK(), TRYLOCK(), and UNLOCK().   
You may use
91   these functions in any location where you desire to ensure that  
only one
92   channel is executing that path at any one time.  The Macro()  
applications
93   are deprecated for performance reasons.  However, since Macro()  
has been
94   around for a long time and so many dialplans depend heavily on  
it, for the
95   sake of backwards compatibility it will not be removed.  It is  
also worth
96   noting that using both Macro() and GoSub() at the same time is  
_heavily_
97   discouraged.

Lonnie


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to