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