[Asterisk-Users] Re: SNOM extension lights programmable,
eg. based on asterisk variable setting?
Bruno.Voigt at ic3s.de
Bruno.Voigt at ic3s.de
Mon Jun 6 13:39:39 MST 2005
From: Josh Dady <jpd at indecisive.com>
>> I would like the SNOM extension light to permanently
>> reflect the current toggle status of my application logic/asterisk DB
>> variable.
>
>There's a phantom device in bristuff that can be used for this sort
>of thing. When you toggle the dialplan variable, you'd do:
> **77,n,Devstate(splat|2)
>
>And then set a hint:
> **77,hint,DS/splat
>
>Ultimately it stores device states in same database you're using, so
>you could switch on them directly rather than keeping a second set of
>variables and needing to keep them in sync.
Hi, this is great - it just works great. Thank you very much!
I want to manage this dialplan variable for each extension separately,
unfortunately this doesn't work:
**77,hint,DS/splat${CALLERIDNUM}
Do you have an idea for that?
Is there an easy place to patch it in asterisk 1.0.7 stable?
Will it be possible with CVS-head?
I'm thinking about putting each device belonging to an extension in
together
in their own context just consisting
eg.
[from-internal-104]
include => from-internal
**77,hint,DS/splat104
[from-internal-105]
include => from-internal
**77,hint,DS/splat105
Is there a more elegant and compact solution?!
bye, Bruno
More information about the asterisk-users
mailing list