[Asterisk-Users] Setting variable for a context for all extensions?

Mark Wormgoor mark at wormgoor.com
Mon May 9 06:28:22 MST 2005


Hi,

>> Is it possible to set a variable for a context for all extensions?  I
>> haven't been able to find it.
>
> Try looking up the application "SetVar":
>
> demo*CLI> show application SetVar
> demo*CLI>
>    -= Info about application 'SetVar' =-
>
> [Synopsis]:
> Set variable to value
>
> [Description]:
>    Setvar(#n=value): Sets channel specific variable n to value

But how do I link SetVar() to all extensions in a config?
If I use exten => _.,1,SetVar() it will never continue on exten =>
1234,1,Dial or exten => 1234,2,Dial.

Kind regards,

Mark
-- 
***************************************************************
* |\    /|      |  /|  /       Mark Wormgoor                  *
* | \  / |      | / | /        mailto:mark at wormgoor.com       *
* |  \/  |ark   |/  |/ormgoor  http://www.wormgoor.com/mark/  *
***************************************************************



More information about the asterisk-users mailing list