VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
wiltingtree at gmail.com Guest
|
Posted: Sat Feb 14, 2009 12:48 am Post subject: [Freeswitch-users] monitoring events in Python |
|
|
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. |
|
Back to top |
|
|
egghunt at gmail.com Guest
|
Posted: Sat Feb 14, 2009 5:30 am Post subject: [Freeswitch-users] monitoring events in Python |
|
|
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@gmail.com (wiltingtree@gmail.com)> wrote:
--
Arnaldo M Pereira
ap@arnaldopereira.com (ap@arnaldopereira.com) |
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Sat Feb 14, 2009 12:08 pm Post subject: [Freeswitch-users] monitoring events in Python |
|
|
its just "event plain CUSTOM conference::maintenance" no "bgapi" see: http://wiki.freeswitch.org/wiki/Event_Socket
for more info.
MIke
On Feb 14, 2009, at 12:45 AM, Adam Wilt wrote:
Quote: | 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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|