[Freeswitch-users] monitoring events in Python

Arnaldo de Moraes Pereira egghunt at gmail.com
Sat Feb 14 02:27:17 PST 2009


You might use freepy, which can be found in freeswitch tree, on dir
scripts/socket/freepy. fseventlistener.py is a good example to follow.

You'll want to pass your custom event to sniff_custom_events().

On Sat, Feb 14, 2009 at 3:45 AM, Adam Wilt <wiltingtree at gmail.com> wrote:

> I'm trying to use custom events for a conference call in a Python script.
> I set-up the events in the conference.conf.xml file, and I send "bgapi event
> plain CUSTOM conference::maintenance" to enable them. But I don't know how
> to look for these events in my script.  Does anybody have some example code,
> or maybe just point me in the right direction? Thanks.
>
>
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Arnaldo M Pereira
ap at arnaldopereira.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090214/3bef0643/attachment-0002.html 


More information about the FreeSWITCH-users mailing list