Hello,
this light indicator thing is working just great by following the same
guide as BLF (with hints).
There is just 1 thing bothering me : it is a call that is being made to
an extension, which Asterisk immediately hangs up. This makes the
IP-phone go "beep beep beep beep", a normal ringtone when the other end
(Asterisk) has terminated the call.
But is there a way to give a signal to the phone that the line has not
been disconnected so it does not make this annoying "beep beep beep
beep" sound ? Perhaps a stupid question...
This is my dialplan :
exten => 7777,1,NoOp(devstate)
exten => 7777,n,Answer()
exten =>
7777,n,GoToIf($["${DEVICE_STATE(Custom:light)}"="BUSY"]?unbusy:busy)
exten => 7777,n(busy),Set(DEVICE_STATE(Custom:light)=BUSY)
exten => 7777,n,Hangup()
exten => 7777,n(unbusy),Set(DEVICE_STATE(Custom:light)=NOT_INUSE)
exten => 7777,n,Hangup()
After the Hangup(), the IP-phone goes "beep beep beep beep" indicating
the call has ended. I should be glad with this ringtone signal, but not
in this case.
Kind regards,
Jonas.
On 05/12/2011 07:34 PM, Eric Wieling wrote:
-----Original Message-----
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of
Jonas Kellens
Sent: Thursday, May 12, 2011 1:28 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Light indicator managed by Asterisk
On 05/12/2011 07:12 PM, Carlos Chavez wrote:
On Thu, 2011-05-12 at 18:50 +0200, Jonas Kellens wrote:
Hello,
is there some way to make Asterisk light up a certain light on an
IP-phone ?
Like MWI, the message waiting indicator can light up if there is
voicemail.
Could this light, or even other lights (like BLF-buttons)
be used to
give a visual notification to the user ?
For example : if a certain value is set in the Mysql-DB
and Asterisk
reads out this value, can Asterisk react upon it inside
the dialplan
to make a light lit up ?
2nd example : if a certain extension is called, can we
perform inside
the dialplan an action that makes a light lit up on a Snom
or Yealink
IP-phone ?
I don't know if all this is at all possible, but it doesn't harm
asking I guess...
If BLF works, then maybe more things are possible in the same way.
Just thinking outside the box here.
BLF lights can be manipulated with Hints and the
DEVSTATE function to
set custom device states. This way you can have a BLF
light react to
any event you want.
This means that extensions/hints need to be defined to be able to
control a BLF-light that monitors this extension ?
I agree that this gives some control over a light/button on
an IP-phone.
The MWI can be manipulated in several ways. Last week
someone asked
this question and got several answers.
You don't perhaps have a link to the discussion ? I don't
really follow
this list constantly so I've certainly missed out on this subject.
pbx*CLI> core show application minivmmwi
-= Info about application 'MinivmMWI' =-
[Synopsis]
Send Message Waiting Notification to subscriber(s) of mailbox.
[Description]
This application is part of the Mini-Voicemail system, configured in "min
ivm.conf".
MinivmMWI is used to send message waiting indication to any devices whose
channels have subscribed to the mailbox passed in the first parameter.
[Syntax]
MinivmMWI(username@domain,urgent,new,old)
[Arguments]
username
Voicemail username
domain
Voicemail domain
urgent
Number of urgent messages in mailbox.
new
Number of new messages in mailbox.
old
Number of old messages in mailbox.
[See Also]
Not available
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users