<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.23588">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Nandy, can you elaborate more on the work around,
how to you get this to the phone once a subscribe is received from the
Phone. Lighting it the first time is easy, keeping it lit is the issue for
me.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Thanks in advance</FONT></DIV>
<DIV><FONT size=2 face=Arial>Darcy</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=nandy1925@gmail.com href="mailto:nandy1925@gmail.com">Nandy
Dagondon</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org">FreeSWITCH Users Help</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, July 16, 2014 9:08
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users] blf with
event socket</DIV>
<DIV><BR></DIV>
<DIV dir=ltr><BR>
<DIV class=gmail_extra>I'd like to put more info here because I'm also having
the same problem. In my case, I capture CHANNEL_CALLSTATE of FreeTDM FXO
to light BLF LEDs on the operator phone.</DIV>
<DIV class=gmail_extra><BR></DIV>
<DIV class=gmail_extra>Perhaps the phone clears the LEDs when it receives
SUBSCRIBE reply from FS. A refresh is necessary from FS. As a
workaround, I save the channel state into a database record. PRESENCE_IN
will be generated from all records when a SUBSCRIBE event is received from the
phone.</DIV>
<DIV class=gmail_extra><BR></DIV>
<DIV class=gmail_extra>I prefer to see a PRESENCE refresh but I don't know
it's compliance to the RFCs (I'm still a dummy:-). My cents worth.</DIV>
<DIV class=gmail_extra><BR></DIV>
<DIV class=gmail_extra>/Nandy <BR><BR><BR>
<DIV class=gmail_quote>On Thu, Jul 17, 2014 at 2:06 AM, Darcy Primrose <SPAN
dir=ltr><<A href="mailto:fs@voice2net.ca"
target=_blank>fs@voice2net.ca</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote><U></U>
<DIV bgcolor="#ffffff">
<DIV><FONT face=Arial>Some time ago I started this and got side
tracked. I am trying to light a lamp on the phones with
event_socket. I send the following message which does lite the LEDs on
the IP Phones, snom, grandstream and yealink. The trouble is, as soon
as the phone sends a subscription message re this identity, the freeswitch
responds with a message that kills the led. It appears to me that when
the freeswitch gets the event socket it sends the message on to the required
phones, but does not keep this status within the freeswitch, so a subsequent
subscribe query kills the lamp. I did create a dummy
extension to match the led I need to lite. We will use this for Nite
Answer Keys and Agent Logins.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Am I missing something or is there a further step I
need to take.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>sendevent PRESENCE_IN<BR>proto: sip<BR>from: <A
href="mailto:70@xxxx.voice2net.ca"
target=_blank>70@xxxx.voice2net.ca</A><BR>login: <A
href="mailto:70@xxxx.voice2net.ca"
target=_blank>70@xxxx.voice2net.ca</A><BR>event_type:
presence<BR>alt_event_type: dialog<BR>Presence-Call-Direction:
inbound<BR>answer-state: confirmed<BR>unique-id: 00c0120f</FONT></DIV><SPAN
class=HOEnZb><FONT color=#888888>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Darcy Primrose</FONT></DIV>
<DIV><FONT face=Arial>Voice2Net</FONT></DIV>
<DIV><FONT
face=Arial></FONT> </DIV></FONT></SPAN></DIV><BR>_________________________________________________________________________<BR>Professional
FreeSWITCH Consulting Services:<BR><A
href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</A><BR><A
href="http://www.freeswitchsolutions.com"
target=_blank>http://www.freeswitchsolutions.com</A><BR><BR>FreeSWITCH-powered
IP PBX: The CudaTel Communication Server<BR><A href="http://www.cudatel.com"
target=_blank>http://www.cudatel.com</A><BR><BR>Official FreeSWITCH
Sites<BR><A href="http://www.freeswitch.org"
target=_blank>http://www.freeswitch.org</A><BR><A
href="http://wiki.freeswitch.org"
target=_blank>http://wiki.freeswitch.org</A><BR><A
href="http://www.cluecon.com"
target=_blank>http://www.cluecon.com</A><BR><BR>FreeSWITCH-users mailing
list<BR><A
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A><BR><A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A
href="http://www.freeswitch.org"
target=_blank>http://www.freeswitch.org</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></DIV>
<P>
<HR>
<P></P>_________________________________________________________________________<BR>Professional
FreeSWITCH Consulting
Services:<BR>consulting@freeswitch.org<BR>http://www.freeswitchsolutions.com<BR><BR>FreeSWITCH-powered
IP PBX: The CudaTel Communication
Server<BR>http://www.cudatel.com<BR><BR>Official FreeSWITCH
Sites<BR>http://www.freeswitch.org<BR>http://wiki.freeswitch.org<BR>http://www.cluecon.com<BR><BR>FreeSWITCH-users
mailing
list<BR>FreeSWITCH-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></BLOCKQUOTE></BODY></HTML>