I&#39;m using ESL.so and ESL.pm for perl outbound ESL, and Net::Server as server engine. <br>I already tried to rebuild and reinstall with `make sure` including perlmod in esl library dir<br><br><div class="gmail_quote">2011/3/16 Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Are you using your own client or libESL which takes care of this for you?<br>
<div><div></div><div class="h5"><br>
<br>
On Wed, Mar 16, 2011 at 11:55 AM, Dmitry Sytchev &lt;<a href="mailto:kbdfck@gmail.com">kbdfck@gmail.com</a>&gt; wrote:<br>
&gt; FreeSWITCH Version 1.0.head (git-2c009dd 2011-03-15 14-29-04 -0500)<br>
&gt; 2011/3/16 Peter Olsson &lt;<a href="mailto:peter.olsson@visionutveckling.se">peter.olsson@visionutveckling.se</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; Are you on latest GIT HEAD?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; /Peter<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; FrÃ¥n: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a><br>
&gt;&gt; [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>] För Dmitry Sytchev<br>
&gt;&gt; Skickat: den 16 mars 2011 17:29<br>
&gt;&gt; Till: FreeSWITCH Users Help<br>
&gt;&gt; Ã„mne: [Freeswitch-users] Unexpected out of order command/reply &#39;+OK event<br>
&gt;&gt; listener enabled plain&#39; in perl ESL outbound<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; In my outbound async full ESL script after some moment there are<br>
&gt;&gt; out-of-order message on every &quot;execute&quot; call, and this breaks my event<br>
&gt;&gt; handling in some way.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Content-Type: command/reply.Reply-Text: +OK event listener enabled plain..<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I want to execute some commands syncronously, but setEventLock seems to be<br>
&gt;&gt; broken by this behavior.<br>
&gt;&gt;<br>
&gt;&gt; As the workaround I had to write lock_for_execute_complete function, which<br>
&gt;&gt; waits for execute completion of applications that need to be run sync, but<br>
&gt;&gt; it effectively destroys async events by processing them while waiting for<br>
&gt;&gt; CHANNEL_EXECUTE_COMPLETE.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; here is a part of socket dump, note second &quot;Content-Type:<br>
&gt;&gt; command/reply.Reply-Text: +OK event listener enabled plain..&quot; right after<br>
&gt;&gt; execute. There is no event command in script besides the very beginning, so<br>
&gt;&gt; why these messages appear?<br>
&gt;&gt;<br>
&gt;&gt; T <a href="http://127.0.0.1:8006" target="_blank">127.0.0.1:8006</a> -&gt; <a href="http://127.0.0.1:43282" target="_blank">127.0.0.1:43282</a> [AP]<br>
&gt;&gt; api uuid_setvar 06d55974-4fe8-11e0-a7c0-e3bb2141c22a<br>
&gt;&gt; pbx_subscriber_customer_id 1<br>
&gt;&gt; #<br>
&gt;&gt; T <a href="http://127.0.0.1:8006" target="_blank">127.0.0.1:8006</a> -&gt; <a href="http://127.0.0.1:43282" target="_blank">127.0.0.1:43282</a> [AP]<br>
&gt;&gt; ..<br>
&gt;&gt; ##<br>
&gt;&gt; T <a href="http://127.0.0.1:43282" target="_blank">127.0.0.1:43282</a> -&gt; <a href="http://127.0.0.1:8006" target="_blank">127.0.0.1:8006</a> [AP]<br>
&gt;&gt; Content-Type: api/response.Content-Length: 4..<br>
&gt;&gt; #<br>
&gt;&gt; T <a href="http://127.0.0.1:43282" target="_blank">127.0.0.1:43282</a> -&gt; <a href="http://127.0.0.1:8006" target="_blank">127.0.0.1:8006</a> [AP]<br>
&gt;&gt; +OK.<br>
&gt;&gt; ##<br>
&gt;&gt; T <a href="http://127.0.0.1:8006" target="_blank">127.0.0.1:8006</a> -&gt; <a href="http://127.0.0.1:43282" target="_blank">127.0.0.1:43282</a> [AP]<br>
&gt;&gt; Â  api sofia_contact <a href="mailto:s000002@asdasd.com">s000002@asdasd.com</a><br>
&gt;&gt; #<br>
&gt;&gt; T <a href="http://127.0.0.1:8006" target="_blank">127.0.0.1:8006</a> -&gt; <a href="http://127.0.0.1:43282" target="_blank">127.0.0.1:43282</a> [AP]<br>
&gt;&gt; ..<br>
&gt;&gt; ##<br>
&gt;&gt; T <a href="http://127.0.0.1:43282" target="_blank">127.0.0.1:43282</a> -&gt; <a href="http://127.0.0.1:8006" target="_blank">127.0.0.1:8006</a> [AP]<br>
&gt;&gt; Content-Type: api/response.Content-Length: 96..<br>
&gt;&gt; #<br>
&gt;&gt; T <a href="http://127.0.0.1:43282" target="_blank">127.0.0.1:43282</a> -&gt; <a href="http://127.0.0.1:8006" target="_blank">127.0.0.1:8006</a> [AP]<br>
&gt;&gt;<br>
&gt;&gt; sofia/local/sip:s000002@172.19.36.54:5061;fs_nat=yes;fs_path=sip%3As000002%40172.19.36.54%3A5061<br>
&gt;&gt; ##<br>
&gt;&gt; T <a href="http://127.0.0.1:8006" target="_blank">127.0.0.1:8006</a> -&gt; <a href="http://127.0.0.1:43282" target="_blank">127.0.0.1:43282</a> [AP]<br>
&gt;&gt; Event-Name: SOCKET_DATA.Content-Type: api/response.Content-Length:<br>
&gt;&gt; 96..sofia/local/sip:s000002@172.19.36.54:5061;fs_nat=<br>
&gt;&gt; yes;fs_path=sip%3As000002%40172.19.36.54%3A5061<br>
&gt;&gt; #<br>
&gt;&gt; T <a href="http://127.0.0.1:8006" target="_blank">127.0.0.1:8006</a> -&gt; <a href="http://127.0.0.1:43282" target="_blank">127.0.0.1:43282</a> [AP]<br>
&gt;&gt; sendmsg.call-command: execute.execute-app-name: bridge.execute-app-arg:<br>
&gt;&gt; {originate_timeout=10,hangup_after_bridge=false,<br>
&gt;&gt; Â  ignore_early_media=false}user/<a href="mailto:s000002@asdasd.com">s000002@asdasd.com</a><br>
&gt;&gt; #<br>
&gt;&gt; T <a href="http://127.0.0.1:43282" target="_blank">127.0.0.1:43282</a> -&gt; <a href="http://127.0.0.1:8006" target="_blank">127.0.0.1:8006</a> [AP]<br>
&gt;&gt; Content-Type: command/reply.Reply-Text: +OK event listener enabled plain..<br>
&gt;&gt; #<br>
&gt;&gt; T <a href="http://127.0.0.1:43282" target="_blank">127.0.0.1:43282</a> -&gt; <a href="http://127.0.0.1:8006" target="_blank">127.0.0.1:8006</a> [AP]<br>
&gt;&gt; Content-Type: command/reply.Reply-Text: +OK..<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Best regards,<br>
&gt;&gt;<br>
&gt;&gt; Dmitry Sytchev,<br>
&gt;&gt; IT Engineer<br>
&gt;&gt; !DSPAM:4d80e61b32768938086861!<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Best regards,<br>
&gt;<br>
&gt; Dmitry Sytchev,<br>
&gt; IT Engineer<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
--<br>
</div></div>Anthony Minessale II<br>
<br>
FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
<br>
AIM: anthm<br>
<a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
<br>
FreeSWITCH Developer Conference<br>
<a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
<div><div></div><div class="h5"><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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br><br>Dmitry Sytchev,<br>IT Engineer<br>