freeswitch/scripts/python/freepy
Brian West 8d8609ab56 more clean up
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14001 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-27 00:40:56 +00:00
..
__init__.py more clean up 2009-06-27 00:40:56 +00:00
apirequest_sm.py more clean up 2009-06-27 00:40:56 +00:00
apirequest.sm more clean up 2009-06-27 00:40:56 +00:00
bgapirequest_sm.py more clean up 2009-06-27 00:40:56 +00:00
bgapirequest.sm more clean up 2009-06-27 00:40:56 +00:00
fseventlistener.py more clean up 2009-06-27 00:40:56 +00:00
fshelper.py more clean up 2009-06-27 00:40:56 +00:00
globals.py more clean up 2009-06-27 00:40:56 +00:00
INSTALL more clean up 2009-06-27 00:40:56 +00:00
loginrequest_sm.py more clean up 2009-06-27 00:40:56 +00:00
loginrequest.sm more clean up 2009-06-27 00:40:56 +00:00
models.py more clean up 2009-06-27 00:40:56 +00:00
README more clean up 2009-06-27 00:40:56 +00:00
request.py more clean up 2009-06-27 00:40:56 +00:00

DESCRIPTION
===========

Socket library to interface w/ freeswitch mod_event_socket from Twisted python applications.  Used by WikiPBX for all non-http communication w/ Freeswitch.

Install
=======

See INSTALL

Using/Examples
==============

The WikiPBX project uses this lib heavily, so looking at that code (wikipbx.org) is a good example until more docs are added.


Debugging
=========

Set FREEPY_DEBUG_ON = True in globals.py

TODO: pull this from an environment variable or a config file

Rebulding State Machines
========================

(you only need to do this if you changed an .sm file)

for each .sm file:

java -jar /usr/src/smc/bin/Smc.jar -python -g THE.sm

and loginrequest.sm -> loginrequest_sm.py with the state machine.

TODO: create a Makefile to do this stuff
TODO: use Miro Samek's HSM framework instead of SMC