Giovanni, I can see Skype API answers only when i using fs_cli. With perl script I can't see them. 2013/1/22 Giovanni Maruzzelli <gmaruzz@gmail.com>
On Tue, Jan 22, 2013 at 12:51 PM, Anton Vojlenko <stargray@bigmir.net> wrote:
Hello,
I want to check user status from the Skype client instance, but I can't see Skype API answers from it. How to fix this?
Have you tried to give:
"fsctl loglevel 9" in addition to "console loglevel 9" ?
Script example:
#!/usr/bin/perl use strict; use warnings; require ESL;
my $host = "localhost"; my $port = "8021"; my $pass = "somepass"; my $con = new ESL::ESLconnection($host, $port, $pass);
$con->api("console loglevel 9"); my $status = $con->api("skypopen sk1 GET USERSTATUS")->getBody(); print $status; $con->disconnect();
-- 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