[asterisk-users] Macro inside macro

Rushowr rushowr at phreaker.net
Mon Aug 14 13:45:52 MST 2006


I know I could do that, and I do for some instances, but the biggest point
of writing the macros (at least in my case) is to reduce typing etc... 

Murf and I have uncovered a bug relating to this. Macros can call macros
just fine pre-dial, but once there's been a hangup, we've discovered that
Asterisk no longer processes the macros properly. A bug has been submitted
to the digium bug system.

Cheers,
Sherwood McGowan

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Eric
"ManxPower" Wieling
Sent: Monday, August 14, 2006 1:26 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Macro inside macro

Any reason that you can't set variables before you use Gosub, then access
them in the subroutine?

Attilla De Groot wrote:
> 
> On Aug 14, 2006, at 6:39 PM, Eric ManxPower Wieling wrote:
> 
>> Rushowr wrote:
>>> Hey Attilla, thanks for the update. I'm also working on a solution, 
>>> but unfortunately the system I'm working with needs the separate macros.
>>> I'll
>>> update the list if anything gets worked out.
>>
>> pbx-1*CLI> show application gosub
>> pbx-1*CLI>
>>   -= Info about application 'Gosub' =-
>>
>> [Synopsis]
>> Jump to label, saving return address
>>
>> [Description]
>> Gosub([[context|]exten|]priority)
>>   Jumps to the label specified, saving the return address.
>>
>> pbx-1*CLI>
> 
> Already considered this option, but I want to give it some arguments. 
> And that isn't possible with gosub.

--
Now accepting new clients in Birmingham, Atlanta, Huntsville, Chattanooga,
and Montgomery.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list