<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
<font face="Helvetica, Arial, sans-serif">Hello,<br>
<br>
this light indicator thing is working just great by following the same
guide as BLF (with hints).<br>
<br>
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.<br>
<br>
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...<br>
<br>
This is my dialplan :<br>
<br>
exten => 7777,1,NoOp(devstate)<br>
exten => 7777,n,Answer()<br>
exten =>
7777,n,GoToIf($["${DEVICE_STATE(Custom:light)}"="BUSY"]?unbusy:busy)<br>
exten => 7777,n(busy),Set(DEVICE_STATE(Custom:light)=BUSY)<br>
exten => 7777,n,Hangup()<br>
exten => 7777,n(unbusy),Set(DEVICE_STATE(Custom:light)=NOT_INUSE)<br>
exten => 7777,n,Hangup()<br>
<br>
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.<br>
<br>
<br>
<br>
Kind regards,<br>
Jonas.<br>
<br>
<br>
<br>
</font><br>
On 05/12/2011 07:34 PM, Eric Wieling wrote:
<blockquote
cite="mid:C262B52114110B4586FAF49F074F05800D2AB9B663@mailserver2007.nyigc.globe"
type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>
[<a class="moz-txt-link-freetext" href="mailto:asterisk-users-bounces@lists.digium.com">mailto:asterisk-users-bounces@lists.digium.com</a>] 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:
</pre>
<blockquote type="cite">
<pre wrap="">On Thu, 2011-05-12 at 18:50 +0200, Jonas Kellens wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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)
</pre>
</blockquote>
</blockquote>
<pre wrap="">be used to
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">give a visual notification to the user ?
For example : if a certain value is set in the Mysql-DB
</pre>
</blockquote>
</blockquote>
<pre wrap="">and Asterisk
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">reads out this value, can Asterisk react upon it inside
</pre>
</blockquote>
</blockquote>
<pre wrap="">the dialplan
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">to make a light lit up ?
2nd example : if a certain extension is called, can we
</pre>
</blockquote>
</blockquote>
<pre wrap="">perform inside
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">the dialplan an action that makes a light lit up on a Snom
</pre>
</blockquote>
</blockquote>
<pre wrap="">or Yealink
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap=""> BLF lights can be manipulated with Hints and the
</pre>
</blockquote>
<pre wrap="">DEVSTATE function to
</pre>
<blockquote type="cite">
<pre wrap="">set custom device states. This way you can have a BLF
</pre>
</blockquote>
<pre wrap="">light react to
</pre>
<blockquote type="cite">
<pre wrap="">any event you want.
</pre>
</blockquote>
<pre wrap="">
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.
</pre>
<blockquote type="cite">
<pre wrap=""> The MWI can be manipulated in several ways. Last week
</pre>
</blockquote>
<pre wrap="">someone asked
</pre>
<blockquote type="cite">
<pre wrap="">this question and got several answers.
</pre>
</blockquote>
<pre wrap="">
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.
</pre>
</blockquote>
<pre wrap="">
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 <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
<a class="moz-txt-link-freetext" href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a>
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</pre>
</blockquote>
</body>
</html>