<div dir="ltr">Hi all,<div><br></div><div>I&#39;m feeling stupid for asking this question related to ESL. It has worked for me always but I&#39;ve a new installation where I&#39;ve compiled perl ESL library and when I try to make test scripts run they don&#39;t do anything at all.</div><div><br></div><div>The perl code accepts the ESL library, executes the ESLConnection() function but afterwards any command I send is not seen on the ESL socket !</div><div><br></div><div>Here is one of the test scripts from freeswitch source:</div><div><font face="monospace, monospace"><br></font></div><div><div><font face="monospace, monospace">#!/usr/bin/perl</font></div><div><font face="monospace, monospace">use lib &#39;/usr/src/freeswitch/libs/esl/perl&#39;;</font></div><div><font face="monospace, monospace">require ESL;</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">my $command = shift;</font></div><div><font face="monospace, monospace">my $args = join(&quot; &quot;, @ARGV);</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">my $con = new ESL::ESLconnection(&quot;localhost&quot;, &quot;8021&quot;, &quot;ClueCon&quot;);</font></div><div><font face="monospace, monospace">if (! $con) { die &quot;Unable to establish connection to $host:$port\n&quot;; }<br></font></div><div><font face="monospace, monospace">$con-&gt;events(&quot;plain&quot;,&quot;all&quot;);</font></div><div><font face="monospace, monospace">while ( $con-&gt;connected() ) {</font></div><div><font face="monospace, monospace">    my $e = $con-&gt;recvEventTimed(0);</font></div><div><font face="monospace, monospace">    print $e-&gt;serialize;</font></div><div><font face="monospace, monospace">}</font></div></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"><br></font></div>It just doesn&#39;t go in the while() loop. No $con established but no error as well !<br><br>I tried &quot;telnet&quot; to the 8021 port and only then I see packets on port 8021.<br><br>I know that there is something fishy with the perl ESL compilation but that didn&#39;t gave any error either and created the required ESL.so w/o complaining !<br><br>Can anyone help me on figuring out what I&#39;ve missed ?<div><br></div><div>Best Regards,</div><div>Sammy</div><div><br><div><br></div></div></div>