You might use freepy, which can be found in freeswitch tree, on dir scripts/socket/freepy. fseventlistener.py is a good example to follow.<br><br>You'll want to pass your custom event to sniff_custom_events().<br><br><div class="gmail_quote">
On Sat, Feb 14, 2009 at 3:45 AM, Adam Wilt <span dir="ltr"><<a href="mailto:wiltingtree@gmail.com">wiltingtree@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>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.</div>
<div> </div>
<div> </div>
<div> </div>
<br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Arnaldo M Pereira<br><a href="mailto:ap@arnaldopereira.com">ap@arnaldopereira.com</a><br>