<div dir="ltr">Hi Denis,<div><br></div><div>For Python ESL integration you can try <a href="https://github.com/thomasquintana/freepy">freepy</a> it&#39;s an open source app server I wrote and maintain in Python. It&#39;s designed to be a 100% async actor based solution which is working very reliably for us.</div>
<div><br></div><div>Best,</div><div>Thomas Quintana</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 27, 2014 at 3:27 AM, Денис <span dir="ltr">&lt;<a href="mailto:denis@ringme.ru" target="_blank">denis@ringme.ru</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">who wrote event handling with ESL.py?<br>
Code:<br>
#!/usr/bin/python<br>
<br>
import ESL<br>
<br>
# Establish an inbound connection to FreeSWITCH<br>
con = ESL.ESLconnection(&quot;localhost&quot;,&quot;8021&quot;,&quot;ClueCon&quot;)<br>
print con.connected()<br>
print con.getInfo()<br>
<br>
# set event command to receive all events<br>
con.events(&quot;plain&quot;, &quot;all&quot;);<br>
<br>
#while(1): # or whileon.connected()):<br>
while(con.connected()):<br>
    e = con.recvEvent()<br>
    if e:<br>
      print &quot;Event: &quot;,e.serialize()<br>
<br>
Out:<br>
0<br>
None<br>
<br>
run fs_cli:<br>
# fs_cli -H 127.0.0.1 -P 8021 -p ClueCon -b<br>
...<br>
+OK log level  [7]<br>
<br>
Where exceptions with error?How to properly connect?<br>
<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>
</blockquote></div><br></div>