[Asterisk-Users] Setting variable for a context for all
extensions?
Walt Reed
asterisk at linuxguy.com
Mon May 9 06:46:59 MST 2005
On Mon, May 09, 2005 at 03:28:22PM +0200, Mark Wormgoor said:
> 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.
Use dbput/dbget.
More information about the asterisk-users
mailing list