mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
swigall
This commit is contained in:
@@ -1,12 +1,35 @@
|
||||
# This file was automatically generated by SWIG (http://www.swig.org).
|
||||
# Version 1.3.35
|
||||
# Version 2.0.12
|
||||
#
|
||||
# Don't modify this file, modify the SWIG interface instead.
|
||||
# This file is compatible with both classic and new-style classes.
|
||||
# Do not make changes to this file unless you know what you are doing--modify
|
||||
# the SWIG interface file instead.
|
||||
|
||||
import _freeswitch
|
||||
import new
|
||||
new_instancemethod = new.instancemethod
|
||||
|
||||
|
||||
|
||||
|
||||
from sys import version_info
|
||||
if version_info >= (2,6,0):
|
||||
def swig_import_helper():
|
||||
from os.path import dirname
|
||||
import imp
|
||||
fp = None
|
||||
try:
|
||||
fp, pathname, description = imp.find_module('_freeswitch', [dirname(__file__)])
|
||||
except ImportError:
|
||||
import _freeswitch
|
||||
return _freeswitch
|
||||
if fp is not None:
|
||||
try:
|
||||
_mod = imp.load_module('_freeswitch', fp, pathname, description)
|
||||
finally:
|
||||
fp.close()
|
||||
return _mod
|
||||
_freeswitch = swig_import_helper()
|
||||
del swig_import_helper
|
||||
else:
|
||||
import _freeswitch
|
||||
del version_info
|
||||
try:
|
||||
_swig_property = property
|
||||
except NameError:
|
||||
@@ -14,12 +37,12 @@ except NameError:
|
||||
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
|
||||
if (name == "thisown"): return self.this.own(value)
|
||||
if (name == "this"):
|
||||
if type(value).__name__ == 'PySwigObject':
|
||||
if type(value).__name__ == 'SwigPyObject':
|
||||
self.__dict__[name] = value
|
||||
return
|
||||
method = class_type.__swig_setmethods__.get(name,None)
|
||||
if method: return method(self,value)
|
||||
if (not static) or hasattr(self,name):
|
||||
if (not static):
|
||||
self.__dict__[name] = value
|
||||
else:
|
||||
raise AttributeError("You cannot add attributes to %s" % self)
|
||||
@@ -31,29 +54,48 @@ def _swig_getattr(self,class_type,name):
|
||||
if (name == "thisown"): return self.this.own()
|
||||
method = class_type.__swig_getmethods__.get(name,None)
|
||||
if method: return method(self)
|
||||
raise AttributeError,name
|
||||
raise AttributeError(name)
|
||||
|
||||
def _swig_repr(self):
|
||||
try: strthis = "proxy of " + self.this.__repr__()
|
||||
except: strthis = ""
|
||||
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
|
||||
|
||||
import types
|
||||
try:
|
||||
_object = types.ObjectType
|
||||
_object = object
|
||||
_newclass = 1
|
||||
except AttributeError:
|
||||
class _object : pass
|
||||
_newclass = 0
|
||||
del types
|
||||
|
||||
|
||||
|
||||
def setGlobalVariable(*args):
|
||||
return _freeswitch.setGlobalVariable(*args)
|
||||
setGlobalVariable = _freeswitch.setGlobalVariable
|
||||
|
||||
def getGlobalVariable(*args):
|
||||
return _freeswitch.getGlobalVariable(*args)
|
||||
getGlobalVariable = _freeswitch.getGlobalVariable
|
||||
|
||||
def consoleLog(*args):
|
||||
return _freeswitch.consoleLog(*args)
|
||||
consoleLog = _freeswitch.consoleLog
|
||||
|
||||
def consoleLog2(*args):
|
||||
return _freeswitch.consoleLog2(*args)
|
||||
consoleLog2 = _freeswitch.consoleLog2
|
||||
|
||||
def consoleCleanLog(*args):
|
||||
return _freeswitch.consoleCleanLog(*args)
|
||||
consoleCleanLog = _freeswitch.consoleCleanLog
|
||||
|
||||
def running():
|
||||
return _freeswitch.running()
|
||||
running = _freeswitch.running
|
||||
|
||||
def email(*args):
|
||||
return _freeswitch.email(*args)
|
||||
email = _freeswitch.email
|
||||
class IVRMenu(_object):
|
||||
__swig_setmethods__ = {}
|
||||
@@ -67,8 +109,8 @@ class IVRMenu(_object):
|
||||
except: self.this = this
|
||||
__swig_destroy__ = _freeswitch.delete_IVRMenu
|
||||
__del__ = lambda self : None;
|
||||
def bindAction(*args): return _freeswitch.IVRMenu_bindAction(*args)
|
||||
def execute(*args): return _freeswitch.IVRMenu_execute(*args)
|
||||
def bindAction(self, *args): return _freeswitch.IVRMenu_bindAction(self, *args)
|
||||
def execute(self, *args): return _freeswitch.IVRMenu_execute(self, *args)
|
||||
IVRMenu_swigregister = _freeswitch.IVRMenu_swigregister
|
||||
IVRMenu_swigregister(IVRMenu)
|
||||
|
||||
@@ -78,15 +120,15 @@ class API(_object):
|
||||
__swig_getmethods__ = {}
|
||||
__getattr__ = lambda self, name: _swig_getattr(self, API, name)
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args):
|
||||
this = _freeswitch.new_API(*args)
|
||||
def __init__(self, s=None):
|
||||
this = _freeswitch.new_API(s)
|
||||
try: self.this.append(this)
|
||||
except: self.this = this
|
||||
__swig_destroy__ = _freeswitch.delete_API
|
||||
__del__ = lambda self : None;
|
||||
def execute(*args): return _freeswitch.API_execute(*args)
|
||||
def executeString(*args): return _freeswitch.API_executeString(*args)
|
||||
def getTime(*args): return _freeswitch.API_getTime(*args)
|
||||
def execute(self, *args): return _freeswitch.API_execute(self, *args)
|
||||
def executeString(self, *args): return _freeswitch.API_executeString(self, *args)
|
||||
def getTime(self): return _freeswitch.API_getTime(self)
|
||||
API_swigregister = _freeswitch.API_swigregister
|
||||
API_swigregister(API)
|
||||
|
||||
@@ -108,8 +150,8 @@ class input_callback_state_t(_object):
|
||||
__swig_setmethods__["funcargs"] = _freeswitch.input_callback_state_t_funcargs_set
|
||||
__swig_getmethods__["funcargs"] = _freeswitch.input_callback_state_t_funcargs_get
|
||||
if _newclass:funcargs = _swig_property(_freeswitch.input_callback_state_t_funcargs_get, _freeswitch.input_callback_state_t_funcargs_set)
|
||||
def __init__(self, *args):
|
||||
this = _freeswitch.new_input_callback_state_t(*args)
|
||||
def __init__(self):
|
||||
this = _freeswitch.new_input_callback_state_t()
|
||||
try: self.this.append(this)
|
||||
except: self.this = this
|
||||
__swig_destroy__ = _freeswitch.delete_input_callback_state_t
|
||||
@@ -153,10 +195,10 @@ class Stream(_object):
|
||||
except: self.this = this
|
||||
__swig_destroy__ = _freeswitch.delete_Stream
|
||||
__del__ = lambda self : None;
|
||||
def read(*args): return _freeswitch.Stream_read(*args)
|
||||
def write(*args): return _freeswitch.Stream_write(*args)
|
||||
def raw_write(*args): return _freeswitch.Stream_raw_write(*args)
|
||||
def get_data(*args): return _freeswitch.Stream_get_data(*args)
|
||||
def read(self, *args): return _freeswitch.Stream_read(self, *args)
|
||||
def write(self, *args): return _freeswitch.Stream_write(self, *args)
|
||||
def raw_write(self, *args): return _freeswitch.Stream_raw_write(self, *args)
|
||||
def get_data(self): return _freeswitch.Stream_get_data(self)
|
||||
Stream_swigregister = _freeswitch.Stream_swigregister
|
||||
Stream_swigregister(Stream)
|
||||
|
||||
@@ -181,17 +223,17 @@ class Event(_object):
|
||||
except: self.this = this
|
||||
__swig_destroy__ = _freeswitch.delete_Event
|
||||
__del__ = lambda self : None;
|
||||
def chat_execute(*args): return _freeswitch.Event_chat_execute(*args)
|
||||
def chat_send(*args): return _freeswitch.Event_chat_send(*args)
|
||||
def serialize(*args): return _freeswitch.Event_serialize(*args)
|
||||
def setPriority(*args): return _freeswitch.Event_setPriority(*args)
|
||||
def getHeader(*args): return _freeswitch.Event_getHeader(*args)
|
||||
def getBody(*args): return _freeswitch.Event_getBody(*args)
|
||||
def getType(*args): return _freeswitch.Event_getType(*args)
|
||||
def addBody(*args): return _freeswitch.Event_addBody(*args)
|
||||
def addHeader(*args): return _freeswitch.Event_addHeader(*args)
|
||||
def delHeader(*args): return _freeswitch.Event_delHeader(*args)
|
||||
def fire(*args): return _freeswitch.Event_fire(*args)
|
||||
def chat_execute(self, *args): return _freeswitch.Event_chat_execute(self, *args)
|
||||
def chat_send(self, dest_proto=None): return _freeswitch.Event_chat_send(self, dest_proto)
|
||||
def serialize(self, format=None): return _freeswitch.Event_serialize(self, format)
|
||||
def setPriority(self, *args): return _freeswitch.Event_setPriority(self, *args)
|
||||
def getHeader(self, *args): return _freeswitch.Event_getHeader(self, *args)
|
||||
def getBody(self): return _freeswitch.Event_getBody(self)
|
||||
def getType(self): return _freeswitch.Event_getType(self)
|
||||
def addBody(self, *args): return _freeswitch.Event_addBody(self, *args)
|
||||
def addHeader(self, *args): return _freeswitch.Event_addHeader(self, *args)
|
||||
def delHeader(self, *args): return _freeswitch.Event_delHeader(self, *args)
|
||||
def fire(self): return _freeswitch.Event_fire(self)
|
||||
Event_swigregister = _freeswitch.Event_swigregister
|
||||
Event_swigregister(Event)
|
||||
|
||||
@@ -222,15 +264,15 @@ class EventConsumer(_object):
|
||||
__swig_setmethods__["node_index"] = _freeswitch.EventConsumer_node_index_set
|
||||
__swig_getmethods__["node_index"] = _freeswitch.EventConsumer_node_index_get
|
||||
if _newclass:node_index = _swig_property(_freeswitch.EventConsumer_node_index_get, _freeswitch.EventConsumer_node_index_set)
|
||||
def __init__(self, *args):
|
||||
this = _freeswitch.new_EventConsumer(*args)
|
||||
def __init__(self, event_name=None, subclass_name="", len=5000):
|
||||
this = _freeswitch.new_EventConsumer(event_name, subclass_name, len)
|
||||
try: self.this.append(this)
|
||||
except: self.this = this
|
||||
__swig_destroy__ = _freeswitch.delete_EventConsumer
|
||||
__del__ = lambda self : None;
|
||||
def bind(*args): return _freeswitch.EventConsumer_bind(*args)
|
||||
def pop(*args): return _freeswitch.EventConsumer_pop(*args)
|
||||
def cleanup(*args): return _freeswitch.EventConsumer_cleanup(*args)
|
||||
def bind(self, *args): return _freeswitch.EventConsumer_bind(self, *args)
|
||||
def pop(self, block=0, timeout=0): return _freeswitch.EventConsumer_pop(self, block, timeout)
|
||||
def cleanup(self): return _freeswitch.EventConsumer_cleanup(self)
|
||||
EventConsumer_swigregister = _freeswitch.EventConsumer_swigregister
|
||||
EventConsumer_swigregister(EventConsumer)
|
||||
|
||||
@@ -239,7 +281,7 @@ class CoreSession(_object):
|
||||
__setattr__ = lambda self, name, value: _swig_setattr(self, CoreSession, name, value)
|
||||
__swig_getmethods__ = {}
|
||||
__getattr__ = lambda self, name: _swig_getattr(self, CoreSession, name)
|
||||
def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined"
|
||||
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
|
||||
__repr__ = _swig_repr
|
||||
__swig_destroy__ = _freeswitch.delete_CoreSession
|
||||
__del__ = lambda self : None;
|
||||
@@ -273,64 +315,85 @@ class CoreSession(_object):
|
||||
__swig_setmethods__["voice_name"] = _freeswitch.CoreSession_voice_name_set
|
||||
__swig_getmethods__["voice_name"] = _freeswitch.CoreSession_voice_name_get
|
||||
if _newclass:voice_name = _swig_property(_freeswitch.CoreSession_voice_name_get, _freeswitch.CoreSession_voice_name_set)
|
||||
def insertFile(*args): return _freeswitch.CoreSession_insertFile(*args)
|
||||
def answer(*args): return _freeswitch.CoreSession_answer(*args)
|
||||
def preAnswer(*args): return _freeswitch.CoreSession_preAnswer(*args)
|
||||
def hangup(*args): return _freeswitch.CoreSession_hangup(*args)
|
||||
def hangupState(*args): return _freeswitch.CoreSession_hangupState(*args)
|
||||
def setVariable(*args): return _freeswitch.CoreSession_setVariable(*args)
|
||||
def setPrivate(*args): return _freeswitch.CoreSession_setPrivate(*args)
|
||||
def getPrivate(*args): return _freeswitch.CoreSession_getPrivate(*args)
|
||||
def getVariable(*args): return _freeswitch.CoreSession_getVariable(*args)
|
||||
def process_callback_result(*args): return _freeswitch.CoreSession_process_callback_result(*args)
|
||||
def say(*args): return _freeswitch.CoreSession_say(*args)
|
||||
def sayPhrase(*args): return _freeswitch.CoreSession_sayPhrase(*args)
|
||||
def hangupCause(*args): return _freeswitch.CoreSession_hangupCause(*args)
|
||||
def getState(*args): return _freeswitch.CoreSession_getState(*args)
|
||||
def recordFile(*args): return _freeswitch.CoreSession_recordFile(*args)
|
||||
def originate(*args): return _freeswitch.CoreSession_originate(*args)
|
||||
def destroy(*args): return _freeswitch.CoreSession_destroy(*args)
|
||||
def setDTMFCallback(*args): return _freeswitch.CoreSession_setDTMFCallback(*args)
|
||||
def speak(*args): return _freeswitch.CoreSession_speak(*args)
|
||||
def set_tts_parms(*args): return _freeswitch.CoreSession_set_tts_parms(*args)
|
||||
def set_tts_params(*args): return _freeswitch.CoreSession_set_tts_params(*args)
|
||||
def collectDigits(*args): return _freeswitch.CoreSession_collectDigits(*args)
|
||||
def getDigits(*args): return _freeswitch.CoreSession_getDigits(*args)
|
||||
def transfer(*args): return _freeswitch.CoreSession_transfer(*args)
|
||||
def read(*args): return _freeswitch.CoreSession_read(*args)
|
||||
def playAndGetDigits(*args): return _freeswitch.CoreSession_playAndGetDigits(*args)
|
||||
def streamFile(*args): return _freeswitch.CoreSession_streamFile(*args)
|
||||
def sleep(*args): return _freeswitch.CoreSession_sleep(*args)
|
||||
def flushEvents(*args): return _freeswitch.CoreSession_flushEvents(*args)
|
||||
def flushDigits(*args): return _freeswitch.CoreSession_flushDigits(*args)
|
||||
def setAutoHangup(*args): return _freeswitch.CoreSession_setAutoHangup(*args)
|
||||
def setHangupHook(*args): return _freeswitch.CoreSession_setHangupHook(*args)
|
||||
def ready(*args): return _freeswitch.CoreSession_ready(*args)
|
||||
def bridged(*args): return _freeswitch.CoreSession_bridged(*args)
|
||||
def answered(*args): return _freeswitch.CoreSession_answered(*args)
|
||||
def mediaReady(*args): return _freeswitch.CoreSession_mediaReady(*args)
|
||||
def waitForAnswer(*args): return _freeswitch.CoreSession_waitForAnswer(*args)
|
||||
def execute(*args): return _freeswitch.CoreSession_execute(*args)
|
||||
def sendEvent(*args): return _freeswitch.CoreSession_sendEvent(*args)
|
||||
def setEventData(*args): return _freeswitch.CoreSession_setEventData(*args)
|
||||
def getXMLCDR(*args): return _freeswitch.CoreSession_getXMLCDR(*args)
|
||||
def begin_allow_threads(*args): return _freeswitch.CoreSession_begin_allow_threads(*args)
|
||||
def end_allow_threads(*args): return _freeswitch.CoreSession_end_allow_threads(*args)
|
||||
def get_uuid(*args): return _freeswitch.CoreSession_get_uuid(*args)
|
||||
def get_cb_args(*args): return _freeswitch.CoreSession_get_cb_args(*args)
|
||||
def check_hangup_hook(*args): return _freeswitch.CoreSession_check_hangup_hook(*args)
|
||||
def run_dtmf_callback(*args): return _freeswitch.CoreSession_run_dtmf_callback(*args)
|
||||
def consoleLog(*args): return _freeswitch.CoreSession_consoleLog(*args)
|
||||
def consoleLog2(*args): return _freeswitch.CoreSession_consoleLog2(*args)
|
||||
def insertFile(self, *args): return _freeswitch.CoreSession_insertFile(self, *args)
|
||||
def answer(self): return _freeswitch.CoreSession_answer(self)
|
||||
def preAnswer(self): return _freeswitch.CoreSession_preAnswer(self)
|
||||
def hangup(self, cause="normal_clearing"): return _freeswitch.CoreSession_hangup(self, cause)
|
||||
def hangupState(self): return _freeswitch.CoreSession_hangupState(self)
|
||||
def setVariable(self, *args): return _freeswitch.CoreSession_setVariable(self, *args)
|
||||
def setPrivate(self, *args): return _freeswitch.CoreSession_setPrivate(self, *args)
|
||||
def getPrivate(self, *args): return _freeswitch.CoreSession_getPrivate(self, *args)
|
||||
def getVariable(self, *args): return _freeswitch.CoreSession_getVariable(self, *args)
|
||||
def process_callback_result(self, *args): return _freeswitch.CoreSession_process_callback_result(self, *args)
|
||||
def say(self, *args): return _freeswitch.CoreSession_say(self, *args)
|
||||
def sayPhrase(self, *args): return _freeswitch.CoreSession_sayPhrase(self, *args)
|
||||
def hangupCause(self): return _freeswitch.CoreSession_hangupCause(self)
|
||||
def getState(self): return _freeswitch.CoreSession_getState(self)
|
||||
def recordFile(self, *args): return _freeswitch.CoreSession_recordFile(self, *args)
|
||||
def originate(self, *args): return _freeswitch.CoreSession_originate(self, *args)
|
||||
def destroy(self): return _freeswitch.CoreSession_destroy(self)
|
||||
def setDTMFCallback(self, *args): return _freeswitch.CoreSession_setDTMFCallback(self, *args)
|
||||
def speak(self, *args): return _freeswitch.CoreSession_speak(self, *args)
|
||||
def set_tts_parms(self, *args): return _freeswitch.CoreSession_set_tts_parms(self, *args)
|
||||
def set_tts_params(self, *args): return _freeswitch.CoreSession_set_tts_params(self, *args)
|
||||
def collectDigits(self, *args): return _freeswitch.CoreSession_collectDigits(self, *args)
|
||||
def getDigits(self, *args): return _freeswitch.CoreSession_getDigits(self, *args)
|
||||
def transfer(self, *args): return _freeswitch.CoreSession_transfer(self, *args)
|
||||
def read(self, *args): return _freeswitch.CoreSession_read(self, *args)
|
||||
def playAndGetDigits(self, *args): return _freeswitch.CoreSession_playAndGetDigits(self, *args)
|
||||
def streamFile(self, *args): return _freeswitch.CoreSession_streamFile(self, *args)
|
||||
def sleep(self, *args): return _freeswitch.CoreSession_sleep(self, *args)
|
||||
def flushEvents(self): return _freeswitch.CoreSession_flushEvents(self)
|
||||
def flushDigits(self): return _freeswitch.CoreSession_flushDigits(self)
|
||||
def setAutoHangup(self, *args): return _freeswitch.CoreSession_setAutoHangup(self, *args)
|
||||
def setHangupHook(self, *args): return _freeswitch.CoreSession_setHangupHook(self, *args)
|
||||
def ready(self): return _freeswitch.CoreSession_ready(self)
|
||||
def bridged(self): return _freeswitch.CoreSession_bridged(self)
|
||||
def answered(self): return _freeswitch.CoreSession_answered(self)
|
||||
def mediaReady(self): return _freeswitch.CoreSession_mediaReady(self)
|
||||
def waitForAnswer(self, *args): return _freeswitch.CoreSession_waitForAnswer(self, *args)
|
||||
def execute(self, *args): return _freeswitch.CoreSession_execute(self, *args)
|
||||
def sendEvent(self, *args): return _freeswitch.CoreSession_sendEvent(self, *args)
|
||||
def setEventData(self, *args): return _freeswitch.CoreSession_setEventData(self, *args)
|
||||
def getXMLCDR(self): return _freeswitch.CoreSession_getXMLCDR(self)
|
||||
def begin_allow_threads(self): return _freeswitch.CoreSession_begin_allow_threads(self)
|
||||
def end_allow_threads(self): return _freeswitch.CoreSession_end_allow_threads(self)
|
||||
def get_uuid(self): return _freeswitch.CoreSession_get_uuid(self)
|
||||
def get_cb_args(self): return _freeswitch.CoreSession_get_cb_args(self)
|
||||
def check_hangup_hook(self): return _freeswitch.CoreSession_check_hangup_hook(self)
|
||||
def run_dtmf_callback(self, *args): return _freeswitch.CoreSession_run_dtmf_callback(self, *args)
|
||||
def consoleLog(self, *args): return _freeswitch.CoreSession_consoleLog(self, *args)
|
||||
def consoleLog2(self, *args): return _freeswitch.CoreSession_consoleLog2(self, *args)
|
||||
CoreSession_swigregister = _freeswitch.CoreSession_swigregister
|
||||
CoreSession_swigregister(CoreSession)
|
||||
|
||||
|
||||
def console_log(*args):
|
||||
return _freeswitch.console_log(*args)
|
||||
console_log = _freeswitch.console_log
|
||||
|
||||
def console_log2(*args):
|
||||
return _freeswitch.console_log2(*args)
|
||||
console_log2 = _freeswitch.console_log2
|
||||
|
||||
def console_clean_log(*args):
|
||||
return _freeswitch.console_clean_log(*args)
|
||||
console_clean_log = _freeswitch.console_clean_log
|
||||
|
||||
def msleep(*args):
|
||||
return _freeswitch.msleep(*args)
|
||||
msleep = _freeswitch.msleep
|
||||
|
||||
def bridge(*args):
|
||||
return _freeswitch.bridge(*args)
|
||||
bridge = _freeswitch.bridge
|
||||
|
||||
def hanguphook(*args):
|
||||
return _freeswitch.hanguphook(*args)
|
||||
hanguphook = _freeswitch.hanguphook
|
||||
|
||||
def dtmf_callback(*args):
|
||||
return _freeswitch.dtmf_callback(*args)
|
||||
dtmf_callback = _freeswitch.dtmf_callback
|
||||
class Session(CoreSession):
|
||||
__swig_setmethods__ = {}
|
||||
@@ -346,15 +409,15 @@ class Session(CoreSession):
|
||||
except: self.this = this
|
||||
__swig_destroy__ = _freeswitch.delete_Session
|
||||
__del__ = lambda self : None;
|
||||
def begin_allow_threads(*args): return _freeswitch.Session_begin_allow_threads(*args)
|
||||
def end_allow_threads(*args): return _freeswitch.Session_end_allow_threads(*args)
|
||||
def check_hangup_hook(*args): return _freeswitch.Session_check_hangup_hook(*args)
|
||||
def destroy(*args): return _freeswitch.Session_destroy(*args)
|
||||
def run_dtmf_callback(*args): return _freeswitch.Session_run_dtmf_callback(*args)
|
||||
def setInputCallback(*args): return _freeswitch.Session_setInputCallback(*args)
|
||||
def unsetInputCallback(*args): return _freeswitch.Session_unsetInputCallback(*args)
|
||||
def setHangupHook(*args): return _freeswitch.Session_setHangupHook(*args)
|
||||
def ready(*args): return _freeswitch.Session_ready(*args)
|
||||
def begin_allow_threads(self): return _freeswitch.Session_begin_allow_threads(self)
|
||||
def end_allow_threads(self): return _freeswitch.Session_end_allow_threads(self)
|
||||
def check_hangup_hook(self): return _freeswitch.Session_check_hangup_hook(self)
|
||||
def destroy(self): return _freeswitch.Session_destroy(self)
|
||||
def run_dtmf_callback(self, *args): return _freeswitch.Session_run_dtmf_callback(self, *args)
|
||||
def setInputCallback(self, *args): return _freeswitch.Session_setInputCallback(self, *args)
|
||||
def unsetInputCallback(self): return _freeswitch.Session_unsetInputCallback(self)
|
||||
def setHangupHook(self, *args): return _freeswitch.Session_setHangupHook(self, *args)
|
||||
def ready(self): return _freeswitch.Session_ready(self)
|
||||
__swig_setmethods__["cb_function"] = _freeswitch.Session_cb_function_set
|
||||
__swig_getmethods__["cb_function"] = _freeswitch.Session_cb_function_get
|
||||
if _newclass:cb_function = _swig_property(_freeswitch.Session_cb_function_get, _freeswitch.Session_cb_function_set)
|
||||
@@ -367,10 +430,11 @@ class Session(CoreSession):
|
||||
__swig_setmethods__["hangup_func_arg"] = _freeswitch.Session_hangup_func_arg_set
|
||||
__swig_getmethods__["hangup_func_arg"] = _freeswitch.Session_hangup_func_arg_get
|
||||
if _newclass:hangup_func_arg = _swig_property(_freeswitch.Session_hangup_func_arg_get, _freeswitch.Session_hangup_func_arg_set)
|
||||
def setPython(*args): return _freeswitch.Session_setPython(*args)
|
||||
def setSelf(*args): return _freeswitch.Session_setSelf(*args)
|
||||
def setPython(self, *args): return _freeswitch.Session_setPython(self, *args)
|
||||
def setSelf(self, *args): return _freeswitch.Session_setSelf(self, *args)
|
||||
Session_swigregister = _freeswitch.Session_swigregister
|
||||
Session_swigregister(Session)
|
||||
|
||||
# This file is compatible with both classic and new-style classes.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user