Hi Denis,

For Python ESL integration you can try freepy it's an open source app server I wrote and maintain in Python. It's designed to be a 100% async actor based solution which is working very reliably for us.

Best,
Thomas Quintana


On Fri, Jun 27, 2014 at 3:27 AM, Денис <denis@ringme.ru> wrote:
who wrote event handling with ESL.py?
Code:
#!/usr/bin/python

import ESL

# Establish an inbound connection to FreeSWITCH
con = ESL.ESLconnection("localhost","8021","ClueCon")
print con.connected()
print con.getInfo()

# set event command to receive all events
con.events("plain", "all");

#while(1): # or whileon.connected()):
while(con.connected()):
    e = con.recvEvent()
    if e:
      print "Event: ",e.serialize()

Out:
0
None

run fs_cli:
# fs_cli -H 127.0.0.1 -P 8021 -p ClueCon -b
...
+OK log level  [7]

Where exceptions with error?How to properly connect?

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org