[asterisk-users] Lamps on Snom phones

Russell Brown russell at lls.lls.com
Wed Jan 2 13:24:35 CST 2008


Quoth "Phil Knighton" <phil.knighton at mjog.com>
>I've just completed porting from Asterisk 1.2 to 1.4.
> 
>Anyway, one lingering issue is that the function key "lamps" on our Snom
>phones have all stopped working!  

I'm using Snom's with 1.4.X

The fkeys on the Snom's are set to Type "Extension" and the number is
"<sip:123 at 192.168.5.6>" (no quotes).  This also means that you can press
"John's" button to ring his phone.

Works for me (ISTR the hints for sip phones are automagically generated
by Asterisk 1.4.X; check it with CLI> show hints).

I also use func_devstate module and Snom buttons to do things like light
up when a group is in night service.

I've a hint like so:

	exten => 200,hint,Custom:nightservice200

in my dialplan and point a Snom button at <sip:200 at 192.168.5.6>.  Then
in my dialplan that sets/clears nightservice I have the following:

	exten => _*20*200.,n,Set(DEVSTATE(Custom:nightservice200)=INUSE)
	and
	exten => _*21*200.,n,Set(DEVSTATE(Custom:nightservice200)=NOT_INUSE)

Voila!  The group gets put into night service and the corresponding
light on my Snom370 comes on.

HtH

-- 
 Regards,
     Russell
 --------------------------------------------------------------------
| Russell Brown          | MAIL: russell at lls.com PHONE: 01780 471800 |
| Lady Lodge Systems     | WWW Work: http://www.lls.com              |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk         |
 --------------------------------------------------------------------



More information about the asterisk-users mailing list