[Asterisk-Users] Realtime: how to use column setvar?

Douglas Garstang dgarstang at oneeighty.com
Wed Jun 28 16:21:11 MST 2006


in sip.conf:

setvar=key=value

And then in your dialplan, you'll have a (global?) variable called ${KEY}

Doug

> -----Original Message-----
> From: Ronald Wiplinger [mailto:ronald at elmit.com]
> Sent: Wednesday, June 28, 2006 8:39 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [Asterisk-Users] Realtime: how to use column setvar?
> 
> 
> How can I use the column "setvar" in my dialplan?
> 
> I am not sure if it is for that what I need:
> Many phones have the same jump in place, but need a few variables 
> different, like tariff, silent, need_password,
> I have for tariff = 4 variations, for silent=2, for need_password=2   
> ... If I solve it like now, I need 4x4x2 = 32 context 
> variations. If I 
> could use a field in the Real-time database, these info could 
> be there 
> and it is only one context.
> 
> 
> bye
> 
> Ronald
> _______________________________________________
> --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