<div dir="ltr"><br><div class="gmail_extra">I&#39;d like to put more info here because I&#39;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&#39;t know it&#39;s compliance to the RFCs (I&#39;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">&lt;<a href="mailto:fs@voice2net.ca" target="_blank">fs@voice2net.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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>