On Sat, Feb 9, 2013 at 6:15 PM, Anton Vojlenko <span dir="ltr">&lt;<a href="mailto:stargray@bigmir.net" target="_blank">stargray@bigmir.net</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hello!<br>Giovanni, can you recommend me how to check skype client availability? I need this because skypopen module sometimes lost connection with skype client.<div class="HOEnZb"><div class="h5"><br></div></div></blockquote>

<div><br>use PING skype api command. It supposed to answer PONG. In debug mode: &quot;skypopen skype103 PING&quot;<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="HOEnZb"><div class="h5"><br><div class="gmail_quote">2013/2/5 Anton Vojlenko <span dir="ltr">&lt;<a href="mailto:stargray@bigmir.net" target="_blank">stargray@bigmir.net</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Unfortunately<b> </b>$con-&gt;log(7) has incorrect syntax:<br># perl /home/<a href="http://checker.pl" target="_blank">checker.pl</a><br>


Use of inherited AUTOLOAD for non-method ESL::log() is deprecated at /home/<a href="http://checker.pl" target="_blank">checker.pl</a> line 5.<br>
Can&#39;t
 locate auto/ESL/<a href="http://log.al" target="_blank">log.al</a> in @INC (@INC contains: /usr/local/lib/perl5 
/usr/local/share/perl5 /usr/lib/perl5/vendor_perl 
/usr/share/perl5/vendor_perl /usrlib/perl5 /usr/share/perl5 .) at 
/home/<a href="http://checker.pl" target="_blank">checker.pl</a> line 5<br><br> Who can help me?<div><div><br><br><div class="gmail_quote">2013/2/4 Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;</span><br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I believe so. They&#39;re probably received as the LOG event, which is unfortunately undocumented <a href="http://wiki.freeswitch.org/wiki/Event_list#LOG" target="_blank">http://wiki.freeswitch.org/wiki/Event_list#LOG</a><div>



<br></div><div>

-Steve</div><div><div><div><br></div><div><br><br><div class="gmail_quote">On 4 February 2013 14:58, Anton Vojlenko <span dir="ltr">&lt;<a href="mailto:stargray@bigmir.net" target="_blank">stargray@bigmir.net</a>&gt;</span> wrote:<br>





<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you, Steve.<div><br><br>#!/usr/bin/perl<br>use strict;<br>use warnings;<br>require ESL;<br>#ESL::eslSetLogLevel(7);<br>





<br>my $host = &quot;127.0.0.1&quot;;<br>my $port = &quot;8021&quot;;<br>my $pass = &quot;ClueCon&quot;;<br>
my $con  = new ESL::ESLconnection($host, $port, $pass);<br><br></div><b>$con-&gt;log(7);</b><div><br>my $status = $con-&gt;api(&quot;skypopen sk1 GET USERSTATUS&quot;)-&gt;getBody();<br>print &quot;$status&quot;;<br>

</div>$con-&gt;disconnect();<br>
<br>Am i right?<div><div><br><br><div class="gmail_quote">2013/2/4 Giovanni Maruzzelli <span dir="ltr">&lt;<a href="mailto:gmaruzz@celliax.org" target="_blank">gmaruzz@celliax.org</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks Steve!<div><div><br><br><div class="gmail_quote">On Mon, Feb 4, 2013 at 3:32 PM, Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@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">

&#39;fsctl loglevel 9&#39; controls the core logging, all logs are routed through here and dropped if they&#39;re below the logging level set there. On top of that modules that handle log messages separately filter log levels.<br>










<br><div>&#39;console loglevel 9&#39; controls mod_console which is only for when freeswitch is started in the foreground.</div><div><br></div><div>You don&#39;t want to use either of the above.</div><div><br></div><div>









Mod_event_socket controls logging via ESL connections. You need to issue the &#39;log&#39; ESL command to set the log level on a per-connection basis (this is what /log does in fs_cli).</div>
<div><br></div><div>See <a href="http://wiki.freeswitch.org/wiki/Mod_event_socket#log" target="_blank">http://wiki.freeswitch.org/wiki/Mod_event_socket#log</a><br></div><div><br></div><div>Note log is an ESL protocol command, not an api/app.</div>










<div><br></div><div>-Steve</div><div><div><div><br></div><div><br></div><div><div><br><div class="gmail_quote">On 4 February 2013 13:50, Anton Vojlenko <span dir="ltr">&lt;<a href="mailto:stargray@bigmir.net" target="_blank">stargray@bigmir.net</a>&gt;</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&#39;t solve this problem alone</span>.</font><br>











</h3>In fs_cli i can see DEBUG messages:<br>freeswitch@internal&gt; 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&#39;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><br>#!/usr/bin/perl<br>use strict;<br>use warnings;<br>require ESL;<br>

</div>#ESL::eslSetLogLevel(7);<br>
<br>my $host = &quot;127.0.0.1&quot;;<br>my $port = &quot;8021&quot;;<br>my $pass = &quot;ClueCon&quot;;<div><br>my $con  = new ESL::ESLconnection($host, $port, $pass);<br><br>$con-&gt;api(&quot;console loglevel 9&quot;);<br>










</div>$con-&gt;api(&quot;fsctl loglevel 9&quot;);<div><br>
my $status = $con-&gt;api(&quot;skypopen sk1 GET USERSTATUS&quot;)-&gt;getBody();<br>print &quot;$status&quot;;<br>$con-&gt;disconnect()<br><br><br><br></div><div><div><div class="gmail_quote">2013/1/23 Anton Vojlenko <span dir="ltr">&lt;<a href="mailto:stargray@bigmir.net" target="_blank">stargray@bigmir.net</a>&gt;</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&#39;t see them.<div>
<div><br><br><div class="gmail_quote">2013/1/22 Giovanni Maruzzelli <span dir="ltr">&lt;<a href="mailto:gmaruzz@gmail.com" target="_blank">gmaruzz@gmail.com</a>&gt;</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 &lt;<a href="mailto:stargray@bigmir.net" target="_blank">stargray@bigmir.net</a>&gt; wrote:<br>













&gt; Hello,<br>
&gt;<br>
&gt; I want to check user status from the Skype client instance, but I can&#39;t see<br>
&gt; Skype API answers from it. How to fix this?<br>
<br>
</div>Have you tried to give:<br>
<br>
&quot;fsctl loglevel 9&quot; in addition to &quot;console loglevel 9&quot; ?<br>
<div><br>
<br>
<br>
&gt; Script example:<br>
&gt;<br>
&gt; #!/usr/bin/perl<br>
&gt; use strict;<br>
&gt; use warnings;<br>
&gt; require ESL;<br>
&gt;<br>
&gt; my $host = &quot;localhost&quot;;<br>
&gt; my $port = &quot;8021&quot;;<br>
&gt; my $pass = &quot;somepass&quot;;<br>
&gt; my $con  = new ESL::ESLconnection($host, $port, $pass);<br>
&gt;<br>
&gt; $con-&gt;api(&quot;console loglevel 9&quot;);<br>
&gt; my $status = $con-&gt;api(&quot;skypopen sk1 GET USERSTATUS&quot;)-&gt;getBody();<br>
&gt; print $status;<br>
&gt; $con-&gt;disconnect();<br>
&gt;<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" 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>
<br></blockquote></div><br></div></div>
</div></div><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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Sincerely,<br><br>Giovanni Maruzzelli<br>Cell : <a href="tel:%2B39-347-2665618" value="+393472665618" target="_blank">+39-347-2665618</a><br>
</div></div><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>
<br></blockquote></div><br>
</div></div><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>
<br></blockquote></div><br></div>
</div></div><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>
<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>