alberto@msoft-italia.com
2006-Dec-17 06:33 UTC
[asterisk-users] Day/night service and indications on the phone
Hello everybody. I have created an extension that enables/disables the night service mode on asterisk (i.e. voicemail is started on incoming calls, instead of entering a queue). The night mode is activated/deactivated by the front desk operator when the office is about to close, by pressing a line key on the phone, which dials the related extension. Does anyone know a way to have an indication on the operator's phone using BLF-style hints or similar? I'd like to have a LED turned on when night mode is active (most traditional PBXes offer this feature). Is there a way, for instance, to force the device state for a dialplan "hint", e.g. on a fake or local channel, so that I can map a BLF key on the phone to that hint? I have not find anything suitable so far (except for a PC system tray's icon, which is not applicable to my situation). Thanks, Alberto.
Doug Lytle
2006-Dec-17 07:26 UTC
[asterisk-users] Day/night service and indications on the phone
alberto@msoft-italia.com wrote:> Is there a way, for instance, to force the device state > for a dialplan "hint", e.g. on a fake or local channel, > so that I can map a BLF key on > the phone to that hint? > >[turn on mwi] touch /var/spool/asterisk/voicemail/context/device/msg0001.txt [turn off mwi] rm /var/spool/asterisk/voicemail/context/device/msg0001.txt -f Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
Michiel van Baak
2006-Dec-17 07:56 UTC
[asterisk-users] Day/night service and indications on the phone
On Dec 17, 2006, at 3:26 PM, Doug Lytle wrote:> alberto@msoft-italia.com wrote: >> Is there a way, for instance, to force the device state >> for a dialplan "hint", e.g. on a fake or local channel, >> so that I can map a BLF key on >> the phone to that hint? >> >> > [turn on mwi] > > touch /var/spool/asterisk/voicemail/context/device/msg0001.txt > > [turn off mwi] > > rm /var/spool/asterisk/voicemail/context/device/msg0001.txt -fYou can also use the devicestate commands in BRIstuffed asterisk. Michiel van Baak michiel@vanbaak.eu http://michiel.vanbaak.eu GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD "Why is it drug addicts and computer afficionados are both called users?" -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20061217/ab43d0d6/PGP.pgp