[asterisk-users] Light indicator managed by Asterisk

bakko asannucci at gmail.com
Thu May 12 14:28:54 CDT 2011


You can, using device_state function (I use asterisk 1.6.2.X)

Here is a example for a conference... when sombody enter to conference a 
light up on my aastra phone:

exten => s,1,Set(DEVICE_STATE(Custom:confer)=INUSE)
exten => s,n,Meetme(5000)
exten => s,n,Hangup
exten => h,1,MeetMeCount(5000,users)
exten => h,2,Gotoif($[${users} = 0]?end:noend)
exten => h,3(end),Set(DEVICE_STATE(Custom:confer)=NOT_INUSE)
exten => h,4(noend),Noop(Users number = ${users})

On your subscribe context:

exten => conf,hint,custom:confer

On the phone configuration, choice BLF and asign conf to the key

Regards 




More information about the asterisk-users mailing list