[Freeswitch-users] ESL for subscribing Channel Events
Lợi Đặng
loi.dangthanh at gmail.com
Thu Dec 1 13:00:16 MSK 2016
Hi List, I want, but is unable to subscribe to 2 events CHANNEL_CREATE and
CHANNEL_DESTROY using ESL.
In a normal call caller <--> FS <--> callee, 2 CHANNEL_CREATE and 2
CHANNEL_DESTROY events fired and captured is my expectation.
I achieved it easily via writing a new FS module in C. But I have some
portion of python codes needed to be executed, so I tried alternative (my
thought) way:
- ESL inbound mode, but inbound connection is not bound to any particular
channel
- ESL outbound mode, but outbound connection is created from dialplan, so I
guess CHANNEL_CREATE event could not be captured.
- set up hangup_hook with mod_python, but python application is also called
from dialplan.
Please correct me if I'm wrong somehow, and give me some advices for what
I'm trying to accomplish, since I don't want to rewrite my python code in C.
Any help would be appreciated.
rgds,
Loi Dang Thanh
Phone : +84.1224.735.448
Email : loi.dangthanh at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161201/472cd0fa/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list