When I run the following program:
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()
I get output as :
"Event-Name: SERVER_DISCONNECTED"
similarly, If I run any command using "con.api("originate sofia/gateway/MySIP/XXXX &park")", the events do not get fired.
Regards
Deepika