Revision: 6430 http://opensips.svn.sourceforge.net/opensips/?rev=6430&view=rev Author: sobomax Date: 2009-12-14 09:20:19 +0000 (Mon, 14 Dec 2009)
Log Message: ----------- Add python module, which allows extending opensips.cfg using full-fleged Python code. For now only few basic methods are supported and it's also possible to call functions in other modules from the python code. The architecture of the Python environment follows the OpenSIPS paradigm: there are as many independent environments as there are OpenSIPS working processes. At the same time, each Python environment instance, which usually only gets control when the message is received, can create its own thread of execution and those threads can potentially co-operate using pipes, shared memory, database or some other IPC mechanism to provide transaction-stateful or even dialog-stateful features. The module itself is GIL-safe. The code should be considered experimental and work-in-progress, so use on your own risk. TODO: documentation, access to AVPs, interface to shared memory. Patches, documentation and suggestions are welcome. Sponsored by: Sippy Software, Inc., http://www.sippysoft.com Modified Paths: -------------- trunk/Makefile Added Paths: ----------- trunk/modules/python/ trunk/modules/python/Makefile trunk/modules/python/handler.py trunk/modules/python/python_exec.c trunk/modules/python/python_exec.h trunk/modules/python/python_iface.c trunk/modules/python/python_iface.h trunk/modules/python/python_mod.c trunk/modules/python/python_mod.h trunk/modules/python/python_msgobj.c trunk/modules/python/python_msgobj.h trunk/modules/python/python_support.c trunk/modules/python/python_support.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel