change mod_python so freeswitch module is auto-loaded and session is auto declared

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5103 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2007-05-08 16:08:48 +00:00
parent cb09b09f82
commit 50b4a37771
4 changed files with 88 additions and 40 deletions
@@ -54,6 +54,9 @@ class SessionContainer(_object):
try:
if self.thisown: destroy(self)
except: pass
__swig_setmethods__["uuid"] = _freeswitch.SessionContainer_uuid_set
__swig_getmethods__["uuid"] = _freeswitch.SessionContainer_uuid_get
if _newclass:uuid = property(_freeswitch.SessionContainer_uuid_get, _freeswitch.SessionContainer_uuid_set)
def answer(*args): return _freeswitch.SessionContainer_answer(*args)
def pre_answer(*args): return _freeswitch.SessionContainer_pre_answer(*args)
def hangup(*args): return _freeswitch.SessionContainer_hangup(*args)