areski b0e86e65cf misc of python pep8 fixes %!s(int64=10) %!d(string=hai) anos
..
INSTALL 8d8609ab56 more clean up %!s(int64=15) %!d(string=hai) anos
README 8d8609ab56 more clean up %!s(int64=15) %!d(string=hai) anos
__init__.py 6e7d5d0897 update copyright header for 2014 %!s(int64=10) %!d(string=hai) anos
apirequest.sm 8d8609ab56 more clean up %!s(int64=15) %!d(string=hai) anos
apirequest_sm.py 8d8609ab56 more clean up %!s(int64=15) %!d(string=hai) anos
bgapirequest.sm 8d8609ab56 more clean up %!s(int64=15) %!d(string=hai) anos
bgapirequest_sm.py 8d8609ab56 more clean up %!s(int64=15) %!d(string=hai) anos
fseventlistener.py 6e7d5d0897 update copyright header for 2014 %!s(int64=10) %!d(string=hai) anos
fshelper.py b0e86e65cf misc of python pep8 fixes %!s(int64=10) %!d(string=hai) anos
globals.py 8d8609ab56 more clean up %!s(int64=15) %!d(string=hai) anos
loginrequest.sm 8d8609ab56 more clean up %!s(int64=15) %!d(string=hai) anos
loginrequest_sm.py 8d8609ab56 more clean up %!s(int64=15) %!d(string=hai) anos
models.py b0e86e65cf misc of python pep8 fixes %!s(int64=10) %!d(string=hai) anos
request.py b0e86e65cf misc of python pep8 fixes %!s(int64=10) %!d(string=hai) anos

README


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