[Freeswitch-users] communication probelm with Freeswitch through ESL

Deepika Yadav deepikay at iiitd.ac.in
Wed Apr 12 13:51:01 MSD 2017


Hi,

I am not bale to communicate with Freeswith over ESL:

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170412/08a3e5ca/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list