[asterisk-users] Macro inside macro

Eric "ManxPower" Wieling eric at fnords.org
Mon Aug 14 10:26:08 MST 2006


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.



More information about the asterisk-users mailing list