[Freeswitch-users] ESL and DEBUG messages

Anton Vojlenko stargray at bigmir.net
Tue Jan 22 14:51:48 MSK 2013


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?
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();

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130122/39c110bd/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list