<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Thank you so much, going to try it.</span><div><font color="#222222" face="arial, sans-serif"><br></font></div>

<div><font color="#222222" face="arial, sans-serif">Thanks,</font></div><div><font color="#222222" face="arial, sans-serif">Bala<br></font><br><div class="gmail_quote">On Fri, Sep 21, 2012 at 7:54 PM, Giovanni Maruzzelli <span dir="ltr">&lt;<a href="mailto:gmaruzz@gmail.com" target="_blank">gmaruzz@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You can use the chatplan for chat (load mod_sms for this) and from<br>
chatplan you can use lua.<br>
<br>
Presence is not managed at the moment.<br>
<br>
If you are thinking at the presence of &quot;others&quot; (eg: the buddy list)<br>
this is not managed at the moment.<br>
<br>
If you are thinking at the presence of himself (eg: changing the<br>
presence of the interface from online to busy or away or do not<br>
disturb) it&#39;s not directly managed (it&#39;s forced to &quot;online&quot; at<br>
startup), but you can do that by sending commands to the skype client:<br>
<a href="http://wiki.freeswitch.org/wiki/Mod_skypopen_Skype_Endpoint_and_Trunk#skypopen" target="_blank">http://wiki.freeswitch.org/wiki/Mod_skypopen_Skype_Endpoint_and_Trunk#skypopen</a><br>
&quot;SET USERSTATUS ONLINE&quot;<br>
<br>
from <a href="http://developer.skype.com/public-api-reference" target="_blank">http://developer.skype.com/public-api-reference</a> :<br>
GET USERSTATUS<br>
<br>
This command queries or modifies user visiblity for the current user.<br>
<br>
Syntax<br>
GET USERSTATUS<br>
SET USERSTATUS &lt;value&gt;<br>
<br>
Response<br>
USERSTATUS &lt;value&gt;<br>
<br>
Parameters<br>
&lt;value&gt; – new userstatus. Possible values:<br>
<br>
UNKNOWN<br>
ONLINE – current user is online<br>
OFFLINE – current user is offline<br>
SKYPEME – current user is in “Skype Me” mode (protocol 2).<br>
AWAY – current user is away.<br>
NA – current user is not available.<br>
DND – current user is in “Do not disturb” mode.<br>
INVISIBLE – current user is invisible to others.<br>
LOGGEDOUT – current user is logged out. Clients are detached.<br>
<br>
Version<br>
Protocol 1<br>
<br>
Errors<br>
<br>
ERROR 28 Unknown userstatus<br>
Status value is incorrect or misspelled<br>
<br>
Example<br>
<br>
-&gt; SET USERSTATUS OFFLINE<br>
&lt;- USERSTATUS OFFLINE<br>
&lt;- USERSTATUS OFFLINE<br>
-&gt; SET USERSTATUS xxx<br>
&lt;- ERROR 28 Unknown userstatus<br>
<div><div class="h5"><br>
<br>
<br>
On Fri, Sep 21, 2012 at 4:10 PM, Balamurugan Mahendran &lt;<a href="mailto:b2m@a-cti.com">b2m@a-cti.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Is it possible to handle Skype chat and presence through lua script?<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Bala<br>
&gt;<br>
</div></div>&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
<br>
<br>
<br>
--<br>
Sincerely,<br>
<br>
Giovanni Maruzzelli<br>
Cell : <a href="tel:%2B39-347-2665618" value="+393472665618">+39-347-2665618</a><br>
<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>
</blockquote></div><br></div>