Please, can someone chime in and tell if something has to change in the skype module, or if the perl script has to be modified?<br><br>-giovanni<br><br><div class="gmail_quote">On Mon, Feb 4, 2013 at 2:50 PM, Anton Vojlenko <span dir="ltr"><<a href="mailto:stargray@bigmir.net" target="_blank">stargray@bigmir.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><h3><a href="http://www.punchng.com/news/i-cant-solve-nigerias-problems-alone-president/" target="_blank"><i></i><i></i></a><font><span style="font-weight:normal">I can't solve this problem alone</span>.</font><br>
</h3>In fs_cli i can see DEBUG messages:<br>freeswitch@internal> skypopen sk1 GET USERSTATUS<br>Using interface: globals.SKYPOPEN_INTERFACES[1].name=|||sk1|||<br><br>2013-02-04 15:31:44.565590 [DEBUG] skypopen_protocol.c:1732 [|] [DEBUG_SKYPE 1732 ][sk1 ][IDLE,IDLE] SENDING: |||GET USERSTATUS||||<br>
2013-02-04 15:31:44.565590 [DEBUG] skypopen_protocol.c:207 [|] [DEBUG_SKYPE 207 ][sk1 ][IDLE,IDLE] READING: |||USERSTATUS ONLINE|||<br><br>But when i execute perl script i can't see them:<br>#perl /home/<a href="http://checker.pl" target="_blank">checker.pl</a><br>
Using interface: globals.SKYPOPEN_INTERFACES[1].name=|||sk1|||<br><br>#cat /home/<a href="http://checker.pl" target="_blank">checker.pl</a><div class="im"><br>#!/usr/bin/perl<br>use strict;<br>use warnings;<br>require ESL;<br>
</div>#ESL::eslSetLogLevel(7);<br>
<br>my $host = "127.0.0.1";<br>my $port = "8021";<br>my $pass = "ClueCon";<div class="im"><br>my $con = new ESL::ESLconnection($host, $port, $pass);<br><br>$con->api("console loglevel 9");<br>
</div>$con->api("fsctl loglevel 9");<div class="im HOEnZb"><br>
my $status = $con->api("skypopen sk1 GET USERSTATUS")->getBody();<br>print "$status";<br>$con->disconnect()<br><br><br><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_quote">2013/1/23 Anton Vojlenko <span dir="ltr"><<a href="mailto:stargray@bigmir.net" target="_blank">stargray@bigmir.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Giovanni, I can see Skype API answers only when i using fs_cli. With perl script I can't see them.<div>
<div><br><br><div class="gmail_quote">2013/1/22 Giovanni Maruzzelli <span dir="ltr"><<a href="mailto:gmaruzz@gmail.com" target="_blank">gmaruzz@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Tue, Jan 22, 2013 at 12:51 PM, Anton Vojlenko <<a href="mailto:stargray@bigmir.net" target="_blank">stargray@bigmir.net</a>> wrote:<br>
> Hello,<br>
><br>
> I want to check user status from the Skype client instance, but I can't see<br>
> Skype API answers from it. How to fix this?<br>
<br>
</div>Have you tried to give:<br>
<br>
"fsctl loglevel 9" in addition to "console loglevel 9" ?<br>
<div><br>
<br>
<br>
> Script example:<br>
><br>
> #!/usr/bin/perl<br>
> use strict;<br>
> use warnings;<br>
> require ESL;<br>
><br>
> my $host = "localhost";<br>
> my $port = "8021";<br>
> my $pass = "somepass";<br>
> my $con = new ESL::ESLconnection($host, $port, $pass);<br>
><br>
> $con->api("console loglevel 9");<br>
> my $status = $con->api("skypopen sk1 GET USERSTATUS")->getBody();<br>
> print $status;<br>
> $con->disconnect();<br>
><br>
<br>
</div>--<br>
Sincerely,<br>
<br>
Giovanni Maruzzelli<br>
Cell : <a href="tel:%2B39-347-2665618" value="+393472665618" target="_blank">+39-347-2665618</a><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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></div></blockquote></div><br>
</div></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><br clear="all"><br>-- <br>Sincerely,<br><br>Giovanni Maruzzelli<br>Cell : +39-347-2665618<br>