mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 04:31:50 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user