27 Jun
2014
27 Jun
'14
7:27 a.m.
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?