[asterisk-users] Light indicator managed by Asterisk

Andrew Thomas andy at datavox.co.uk
Tue May 17 05:24:21 CDT 2011


I would think that that is down to either your indications.conf (could
be wrong) or the handset itself.

I know most Yealink and GrandStream handsets let you change tones in
their individual config.  Not too sure about others.


-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jonas
Kellens
Sent: 16 May 2011 17:18
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Light indicator managed by Asterisk


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-bounces at lists.digium.com
[mailto:asterisk-users-bounces at 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 at 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

  


 If you have received this communication in error we would appreciate
you advising us either by telephone or return of e-mail. The contents
of this message, and any attachments, are the property of DataVox,
and are intended for the confidential use of the named recipient only.
If you are not the intended recipient, employee or agent responsible
for delivery of this message to the intended recipient, take note that
any dissemination, distribution or copying of this communication and
its attachments is strictly prohibited, and may be subject to civil or
criminal action for which you may be liable.
Every effort has been made to ensure that this e-mail or any attachments
are free from viruses. While the company has taken every reasonable
precaution to minimise this risk, neither company, nor the sender can
accept liability for any damage which you sustain as a result of viruses.
It is recommended that you should carry out your own virus checks
before opening any attachments. 

Registered in England. No. 27459085.





More information about the asterisk-users mailing list