[Freeswitch-users] ESL with PHP - last event is not received
Aqs Younas
aqsyounas at gmail.com
Wed Nov 2 18:04:43 MSK 2016
In python, I use this.
#!/usr/bin/env python
'''
events.py - subscribe to all events and print them to stdout
'''
import ESL
con = ESL.ESLconnection('localhost', '8021', 'ClueCon')
if con.connected:
con.events('plain', 'all')
while 1:
e = con.recvEvent()
if e:
print e.serialize()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161102/ab8f236c/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list