[Asterisk-Users] SNOM extension lights programmable, eg. based on asterisk variable setting?

Josh Dady jpd at indecisive.com
Mon Jun 6 07:44:28 MST 2005


On Jun 4, 2005, at 4:52 AM, Bruno.Voigt at ic3s.de wrote:

> 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.

--
Joshua P. Dady
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3721 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050606/b7b929d0/smime.bin


More information about the asterisk-users mailing list