<div dir="ltr">Yup, couple years back it was the game, Im just doing the dist-upgrade to see what happens. So, thinking that Im using old version I also tried the v1.2.stable branch and same results.<div><br><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 13, 2015 at 10:56 PM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@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">Ubuntu 12 is the devil..<div class="HOEnZb"><div class="h5"><img goomoji="1f631" style="margin:0 0.2ex;vertical-align:middle;max-height:24px" alt="😱" src="cid:1f631@goomoji.gmail"><br><br>On Friday, March 13, 2015, SamyGo &lt;<a href="mailto:govoiper@gmail.com" target="_blank">govoiper@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Brian, Im using Ubuntu 12.04 Precise Server. Should I change this ?<div><br><div>Thanks Stanislav I&#39;ll try that dialler code as well..but yeah did the same Perl ESL installation. I did install the perl development libraries which are required for the esl perlmod.</div></div><div><br></div><div>So, again I compiled as per the mentioned github link and tried running everything over again , :( sadly no joy.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 13, 2015 at 10:38 PM, Stanislav Sinyagin <span dir="ltr">&lt;<a>ssinyagin@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"><p dir="ltr">$esl-&gt;connected() or die(&quot;Cannot connect to FreeSWITCH&quot;);</p>
<p dir="ltr">That&#39;s a more correct way to do that :)</p>
<div class="gmail_quote"><span>On Mar 14, 2015 2:07 AM, &quot;SamyGo&quot; &lt;<a>govoiper@gmail.com</a>&gt; wrote:<br type="attribution"></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><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>
<br></div></div><span>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a>consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.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://confluence.freeswitch.org" target="_blank">http://confluence.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>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></span></blockquote></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a>consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.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://confluence.freeswitch.org" target="_blank">http://confluence.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>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>
</blockquote><br><br></div></div><span class="HOEnZb"><font color="#888888">-- <br><div dir="ltr">Anthony Minessale II Â  Â  Â  â™¬ @anthmfs  ♬ @FreeSWITCH  ♬<div><br><div>☞ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a> Â â˜ž <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a> Â â˜ž <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a></div><div><div>☞ <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch ☞ <u><a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a></u><br><br></div><div>ClueCon Weekly Development Call <br></div><div>☎ <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a> Â â˜Ž <a href="tel:%2B19193869900" value="+19193869900" target="_blank">+19193869900</a> </div><div><br></div></div></div></div><br>
</font></span><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>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.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></blockquote></div><br></div>