Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] What replaces Macro() now? And how do you d


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
philipp_subx at redfis...
Guest





PostPosted: Sun Mar 09, 2008 9:59 pm    Post subject: [asterisk-users] What replaces Macro() now? And how do you d Reply with quote

I've been working on getting the sample configuration of extensions.conf
to be more usable, i.e. to make the examples be more flexible or cover
more territory... I thought it might be handy to show people how to use
more contexts for virtual hosting, for example.

Problem is I was using the existing stdexten macro from 1.2. See:

http://bugs.digium.com/view.php?id=11969

If Macro()/MacroExit() is deprecated, how does one go about achieving
the same functionality with Gosub()/Return()?

Not having named parameters is a bit of a hassle.

I was thinking about setting up variables, and using a template, but
that's clumsy also.

So... if we're giving up Macro(), what functionality do we get instead?

Thanks,

-Philip
Back to top
pllamosas at telecall....
Guest





PostPosted: Wed Mar 12, 2008 4:01 pm    Post subject: [asterisk-users] What replaces Macro() now? And how do you d Reply with quote

Hello,

I believe that using "GoSub" combined with "Set" replaces "macro"
perfectly. There is even a "Return" application.

PLL.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services