This commit is contained in:
Brian West 2015-06-16 11:23:25 -05:00
parent b51e988ed5
commit 34f5994aa2
39 changed files with 6196 additions and 4813 deletions

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
@ -26,11 +26,13 @@ public class API {
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_API(swigCPtr);
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_API(swigCPtr);
}
swigCPtr = 0;
}
swigCPtr = 0;
}
public API(CoreSession s) {

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
@ -26,11 +26,13 @@ public class CoreSession {
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_CoreSession(swigCPtr);
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_CoreSession(swigCPtr);
}
swigCPtr = 0;
}
swigCPtr = 0;
}
public void setSession(SWIGTYPE_p_switch_core_session_t value) {

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
@ -26,11 +26,13 @@ public class DTMF {
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_DTMF(swigCPtr);
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_DTMF(swigCPtr);
}
swigCPtr = 0;
}
swigCPtr = 0;
}
public void setDigit(char value) {

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
@ -26,11 +26,13 @@ public class Event {
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_Event(swigCPtr);
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_Event(swigCPtr);
}
swigCPtr = 0;
}
swigCPtr = 0;
}
public void setEvent(SWIGTYPE_p_switch_event_t value) {

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
@ -26,11 +26,13 @@ public class EventConsumer {
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_EventConsumer(swigCPtr);
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_EventConsumer(swigCPtr);
}
swigCPtr = 0;
}
swigCPtr = 0;
}
public void setEvents(SWIGTYPE_p_switch_queue_t value) {

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
@ -26,11 +26,13 @@ public class IVRMenu {
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_IVRMenu(swigCPtr);
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_IVRMenu(swigCPtr);
}
swigCPtr = 0;
}
swigCPtr = 0;
}
public IVRMenu(IVRMenu main, String name, String greeting_sound, String short_greeting_sound, String invalid_sound, String exit_sound, String transfer_sound, String confirm_macro, String confirm_key, String tts_engine, String tts_voice, int confirm_attempts, int inter_timeout, int digit_len, int timeout, int max_failures, int max_timeouts) {

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
@ -12,7 +12,7 @@ public class JavaSession extends CoreSession {
private long swigCPtr;
protected JavaSession(long cPtr, boolean cMemoryOwn) {
super(freeswitchJNI.SWIGJavaSessionUpcast(cPtr), cMemoryOwn);
super(freeswitchJNI.JavaSession_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
@ -25,11 +25,13 @@ public class JavaSession extends CoreSession {
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_JavaSession(swigCPtr);
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_JavaSession(swigCPtr);
}
swigCPtr = 0;
}
swigCPtr = 0;
super.delete();
}

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
@ -26,11 +26,13 @@ public class Stream {
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_Stream(swigCPtr);
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_Stream(swigCPtr);
}
swigCPtr = 0;
}
swigCPtr = 0;
}
public Stream() {

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
@ -8,7 +8,7 @@
package org.freeswitch.swig;
class freeswitchJNI {
public class freeswitchJNI {
public final static native void setGlobalVariable(String jarg1, String jarg2);
public final static native String getGlobalVariable(String jarg1);
public final static native void consoleLog(String jarg1, String jarg2);
@ -183,5 +183,5 @@ class freeswitchJNI {
public final static native void JavaSession_check_hangup_hook(long jarg1, JavaSession jarg1_);
public final static native long JavaSession_run_dtmf_callback(long jarg1, JavaSession jarg1_, long jarg2, long jarg3);
public final static native int JavaSession_originate(long jarg1, JavaSession jarg1_, long jarg2, JavaSession jarg2_, String jarg3, int jarg4);
public final static native long SWIGJavaSessionUpcast(long jarg1);
public final static native long JavaSession_SWIGUpcast(long jarg1);
}

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
@ -26,11 +26,13 @@ public class input_callback_state_t {
}
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_input_callback_state_t(swigCPtr);
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
freeswitchJNI.delete_input_callback_state_t(swigCPtr);
}
swigCPtr = 0;
}
swigCPtr = 0;
}
public void setFunction(SWIGTYPE_p_void value) {

View File

@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.

View File

@ -1,27 +1,32 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
*
* This file is not intended to be easily readable and contains a number of
* Version 2.0.12
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
* changes to this file unless you know what you are doing--modify the SWIG
* interface file instead.
* changes to this file unless you know what you are doing--modify the SWIG
* interface file instead.
* ----------------------------------------------------------------------------- */
#define SWIGJAVA
#ifdef __cplusplus
/* SwigValueWrapper is described in swig.swg */
template<typename T> class SwigValueWrapper {
T *tt;
struct SwigMovePointer {
T *ptr;
SwigMovePointer(T *p) : ptr(p) { }
~SwigMovePointer() { delete ptr; }
SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
} pointer;
SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
SwigValueWrapper(const SwigValueWrapper<T>& rhs);
public:
SwigValueWrapper() : tt(0) { }
SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
SwigValueWrapper(const T& t) : tt(new T(t)) { }
~SwigValueWrapper() { delete tt; }
SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
operator T&() const { return *tt; }
T *operator&() { return tt; }
private:
SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
SwigValueWrapper() : pointer(0) { }
SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
operator T&() const { return *pointer.ptr; }
T *operator&() { return pointer.ptr; }
};
template <typename T> T SwigValueInit() {
@ -60,14 +65,20 @@ template <typename T> T SwigValueInit() {
#ifndef SWIGUNUSED
# if defined(__GNUC__)
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
# define SWIGUNUSED __attribute__ ((__unused__))
# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
# elif defined(__ICC)
# define SWIGUNUSED __attribute__ ((__unused__))
# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# define SWIGUNUSED
# endif
#endif
#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
# endif
#endif
@ -75,7 +86,7 @@ template <typename T> T SwigValueInit() {
# ifdef __cplusplus
# define SWIGUNUSEDPARM(p)
# else
# define SWIGUNUSEDPARM(p) p SWIGUNUSED
# define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif
#endif
@ -118,7 +129,7 @@ template <typename T> T SwigValueInit() {
# define SWIGSTDCALL __stdcall
# else
# define SWIGSTDCALL
# endif
# endif
#endif
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
@ -134,7 +145,7 @@ template <typename T> T SwigValueInit() {
/* Fix for jlong on some versions of gcc on Windows */
#if defined(__GNUC__) && !defined(__INTELC__)
#if defined(__GNUC__) && !defined(__INTEL_COMPILER)
typedef long long __int64;
#endif
@ -181,7 +192,8 @@ static void SWIGUNUSED SWIG_JavaThrowException(JNIEnv *jenv, SWIG_JavaExceptionC
{ SWIG_JavaNullPointerException, "java/lang/NullPointerException" },
{ SWIG_JavaDirectorPureVirtual, "java/lang/RuntimeException" },
{ SWIG_JavaUnknownError, "java/lang/UnknownError" },
{ (SWIG_JavaExceptionCodes)0, "java/lang/UnknownError" } };
{ (SWIG_JavaExceptionCodes)0, "java/lang/UnknownError" }
};
const SWIG_JavaExceptions_t *except_ptr = java_exceptions;
while (except_ptr->code != code && except_ptr->code)
@ -243,7 +255,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_getGlobalVaria
if (!arg1) return 0;
}
result = (char *)getGlobalVariable(arg1);
if(result) jresult = jenv->NewStringUTF((const char *)result);
if (result) jresult = jenv->NewStringUTF((const char *)result);
if (arg1) jenv->ReleaseStringUTFChars(jarg1, (const char *)arg1);
free(result);
return jresult;
@ -502,7 +514,6 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_delete_1IVRMenu(J
(void)jcls;
arg1 = *(IVRMenu **)&jarg1;
delete arg1;
}
@ -581,7 +592,6 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_delete_1API(JNIEn
(void)jcls;
arg1 = *(API **)&jarg1;
delete arg1;
}
@ -607,7 +617,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_API_1execute(J
if (!arg3) return 0;
}
result = (char *)(arg1)->execute((char const *)arg2,(char const *)arg3);
if(result) jresult = jenv->NewStringUTF((const char *)result);
if (result) jresult = jenv->NewStringUTF((const char *)result);
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
return jresult;
@ -630,7 +640,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_API_1executeSt
if (!arg2) return 0;
}
result = (char *)(arg1)->executeString((char const *)arg2);
if(result) jresult = jenv->NewStringUTF((const char *)result);
if (result) jresult = jenv->NewStringUTF((const char *)result);
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
return jresult;
}
@ -646,34 +656,33 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_API_1getTime(J
(void)jarg1_;
arg1 = *(API **)&jarg1;
result = (char *)(arg1)->getTime();
if(result) jresult = jenv->NewStringUTF((const char *)result);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_input_1callback_1state_1t_1function_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
input_callback_state_t *arg1 = (input_callback_state_t *) 0 ;
input_callback_state *arg1 = (input_callback_state *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(input_callback_state_t **)&jarg1;
arg1 = *(input_callback_state **)&jarg1;
arg2 = *(void **)&jarg2;
if (arg1) (arg1)->function = arg2;
}
SWIGEXPORT jlong JNICALL Java_org_freeswitch_swig_freeswitchJNI_input_1callback_1state_1t_1function_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
input_callback_state_t *arg1 = (input_callback_state_t *) 0 ;
input_callback_state *arg1 = (input_callback_state *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(input_callback_state_t **)&jarg1;
arg1 = *(input_callback_state **)&jarg1;
result = (void *) ((arg1)->function);
*(void **)&jresult = result;
return jresult;
@ -681,28 +690,27 @@ SWIGEXPORT jlong JNICALL Java_org_freeswitch_swig_freeswitchJNI_input_1callback_
SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_input_1callback_1state_1t_1threadState_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
input_callback_state_t *arg1 = (input_callback_state_t *) 0 ;
input_callback_state *arg1 = (input_callback_state *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(input_callback_state_t **)&jarg1;
arg1 = *(input_callback_state **)&jarg1;
arg2 = *(void **)&jarg2;
if (arg1) (arg1)->threadState = arg2;
}
SWIGEXPORT jlong JNICALL Java_org_freeswitch_swig_freeswitchJNI_input_1callback_1state_1t_1threadState_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
input_callback_state_t *arg1 = (input_callback_state_t *) 0 ;
input_callback_state *arg1 = (input_callback_state *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(input_callback_state_t **)&jarg1;
arg1 = *(input_callback_state **)&jarg1;
result = (void *) ((arg1)->threadState);
*(void **)&jresult = result;
return jresult;
@ -710,28 +718,27 @@ SWIGEXPORT jlong JNICALL Java_org_freeswitch_swig_freeswitchJNI_input_1callback_
SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_input_1callback_1state_1t_1extra_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
input_callback_state_t *arg1 = (input_callback_state_t *) 0 ;
input_callback_state *arg1 = (input_callback_state *) 0 ;
void *arg2 = (void *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(input_callback_state_t **)&jarg1;
arg1 = *(input_callback_state **)&jarg1;
arg2 = *(void **)&jarg2;
if (arg1) (arg1)->extra = arg2;
}
SWIGEXPORT jlong JNICALL Java_org_freeswitch_swig_freeswitchJNI_input_1callback_1state_1t_1extra_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ;
input_callback_state_t *arg1 = (input_callback_state_t *) 0 ;
input_callback_state *arg1 = (input_callback_state *) 0 ;
void *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(input_callback_state_t **)&jarg1;
arg1 = *(input_callback_state **)&jarg1;
result = (void *) ((arg1)->extra);
*(void **)&jresult = result;
return jresult;
@ -739,20 +746,20 @@ SWIGEXPORT jlong JNICALL Java_org_freeswitch_swig_freeswitchJNI_input_1callback_
SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_input_1callback_1state_1t_1funcargs_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
input_callback_state_t *arg1 = (input_callback_state_t *) 0 ;
input_callback_state *arg1 = (input_callback_state *) 0 ;
char *arg2 = (char *) 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(input_callback_state_t **)&jarg1;
arg1 = *(input_callback_state **)&jarg1;
arg2 = 0;
if (jarg2) {
arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
if (!arg2) return ;
}
{
if (arg1->funcargs) delete [] arg1->funcargs;
delete [] arg1->funcargs;
if (arg2) {
arg1->funcargs = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->funcargs, (const char *)arg2);
@ -766,39 +773,38 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_input_1callback_1
SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_input_1callback_1state_1t_1funcargs_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ;
input_callback_state_t *arg1 = (input_callback_state_t *) 0 ;
input_callback_state *arg1 = (input_callback_state *) 0 ;
char *result = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
arg1 = *(input_callback_state_t **)&jarg1;
arg1 = *(input_callback_state **)&jarg1;
result = (char *) ((arg1)->funcargs);
if(result) jresult = jenv->NewStringUTF((const char *)result);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
SWIGEXPORT jlong JNICALL Java_org_freeswitch_swig_freeswitchJNI_new_1input_1callback_1state_1t(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ;
input_callback_state_t *result = 0 ;
input_callback_state *result = 0 ;
(void)jenv;
(void)jcls;
result = (input_callback_state_t *)new input_callback_state_t();
*(input_callback_state_t **)&jresult = result;
result = (input_callback_state *)new input_callback_state();
*(input_callback_state **)&jresult = result;
return jresult;
}
SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_delete_1input_1callback_1state_1t(JNIEnv *jenv, jclass jcls, jlong jarg1) {
input_callback_state_t *arg1 = (input_callback_state_t *) 0 ;
input_callback_state *arg1 = (input_callback_state *) 0 ;
(void)jenv;
(void)jcls;
arg1 = *(input_callback_state_t **)&jarg1;
arg1 = *(input_callback_state **)&jarg1;
delete arg1;
}
@ -848,7 +854,6 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_DTMF_1digit_1set(
arg1 = *(DTMF **)&jarg1;
arg2 = (char)jarg2;
if (arg1) (arg1)->digit = arg2;
}
@ -883,7 +888,6 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_DTMF_1duration_1s
}
arg2 = *argp2;
if (arg1) (arg1)->duration = arg2;
}
@ -897,7 +901,7 @@ SWIGEXPORT jlong JNICALL Java_org_freeswitch_swig_freeswitchJNI_DTMF_1duration_1
(void)jarg1_;
arg1 = *(DTMF **)&jarg1;
result = ((arg1)->duration);
*(uint32_t **)&jresult = new uint32_t((uint32_t &)result);
*(uint32_t **)&jresult = new uint32_t((const uint32_t &)result);
return jresult;
}
@ -906,8 +910,8 @@ SWIGEXPORT jlong JNICALL Java_org_freeswitch_swig_freeswitchJNI_new_1DTMF(JNIEnv
jlong jresult = 0 ;
char arg1 ;
uint32_t arg2 = (uint32_t) SWITCH_DEFAULT_DTMF_DURATION ;
DTMF *result = 0 ;
uint32_t *argp2 ;
DTMF *result = 0 ;
(void)jenv;
(void)jcls;
@ -931,7 +935,6 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_delete_1DTMF(JNIE
(void)jcls;
arg1 = *(DTMF **)&jarg1;
delete arg1;
}
@ -968,7 +971,6 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_delete_1Stream(JN
(void)jcls;
arg1 = *(Stream **)&jarg1;
delete arg1;
}
@ -984,7 +986,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_Stream_1read(J
arg1 = *(Stream **)&jarg1;
arg2 = *(int **)&jarg2;
result = (char *)(arg1)->read(arg2);
if(result) jresult = jenv->NewStringUTF((const char *)result);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
@ -1037,7 +1039,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_Stream_1get_1d
(void)jarg1_;
arg1 = *(Stream **)&jarg1;
result = (char *)(arg1)->get_data();
if(result) jresult = jenv->NewStringUTF((const char *)result);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
@ -1052,7 +1054,6 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_Event_1event_1set
arg1 = *(Event **)&jarg1;
arg2 = *(switch_event_t **)&jarg2;
if (arg1) (arg1)->event = arg2;
}
@ -1085,7 +1086,7 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_Event_1serialized
if (!arg2) return ;
}
{
if (arg1->serialized_string) delete [] arg1->serialized_string;
delete [] arg1->serialized_string;
if (arg2) {
arg1->serialized_string = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->serialized_string, (const char *)arg2);
@ -1107,7 +1108,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_Event_1seriali
(void)jarg1_;
arg1 = *(Event **)&jarg1;
result = (char *) ((arg1)->serialized_string);
if(result) jresult = jenv->NewStringUTF((const char *)result);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
@ -1122,7 +1123,6 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_Event_1mine_1set(
arg1 = *(Event **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->mine = arg2;
}
@ -1190,7 +1190,6 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_delete_1Event(JNI
(void)jcls;
arg1 = *(Event **)&jarg1;
delete arg1;
}
@ -1261,7 +1260,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_Event_1seriali
if (!arg2) return 0;
}
result = (char *)(arg1)->serialize((char const *)arg2);
if(result) jresult = jenv->NewStringUTF((const char *)result);
if (result) jresult = jenv->NewStringUTF((const char *)result);
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
return jresult;
}
@ -1271,8 +1270,8 @@ SWIGEXPORT jboolean JNICALL Java_org_freeswitch_swig_freeswitchJNI_Event_1setPri
jboolean jresult = 0 ;
Event *arg1 = (Event *) 0 ;
switch_priority_t arg2 = (switch_priority_t) SWITCH_PRIORITY_NORMAL ;
bool result;
switch_priority_t *argp2 ;
bool result;
(void)jenv;
(void)jcls;
@ -1306,7 +1305,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_Event_1getHead
if (!arg2) return 0;
}
result = (char *)(arg1)->getHeader((char const *)arg2);
if(result) jresult = jenv->NewStringUTF((const char *)result);
if (result) jresult = jenv->NewStringUTF((const char *)result);
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
return jresult;
}
@ -1322,7 +1321,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_Event_1getBody
(void)jarg1_;
arg1 = *(Event **)&jarg1;
result = (char *)(arg1)->getBody();
if(result) jresult = jenv->NewStringUTF((const char *)result);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
@ -1337,7 +1336,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_Event_1getType
(void)jarg1_;
arg1 = *(Event **)&jarg1;
result = (char *)(arg1)->getType();
if(result) jresult = jenv->NewStringUTF((const char *)result);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
@ -1440,7 +1439,6 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_EventConsumer_1ev
arg1 = *(EventConsumer **)&jarg1;
arg2 = *(switch_queue_t **)&jarg2;
if (arg1) (arg1)->events = arg2;
}
@ -1475,7 +1473,6 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_EventConsumer_1e_
}
arg2 = *argp2;
if (arg1) (arg1)->e_event_id = arg2;
}
@ -1489,7 +1486,7 @@ SWIGEXPORT jlong JNICALL Java_org_freeswitch_swig_freeswitchJNI_EventConsumer_1e
(void)jarg1_;
arg1 = *(EventConsumer **)&jarg1;
result = ((arg1)->e_event_id);
*(switch_event_types_t **)&jresult = new switch_event_types_t((switch_event_types_t &)result);
*(switch_event_types_t **)&jresult = new switch_event_types_t((const switch_event_types_t &)result);
return jresult;
}
@ -1508,7 +1505,7 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_EventConsumer_1e_
if (!arg2) return ;
}
{
if (arg1->e_callback) delete [] arg1->e_callback;
delete [] arg1->e_callback;
if (arg2) {
arg1->e_callback = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->e_callback, (const char *)arg2);
@ -1530,7 +1527,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_EventConsumer_
(void)jarg1_;
arg1 = *(EventConsumer **)&jarg1;
result = (char *) ((arg1)->e_callback);
if(result) jresult = jenv->NewStringUTF((const char *)result);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
@ -1549,7 +1546,7 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_EventConsumer_1e_
if (!arg2) return ;
}
{
if (arg1->e_subclass_name) delete [] arg1->e_subclass_name;
delete [] arg1->e_subclass_name;
if (arg2) {
arg1->e_subclass_name = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->e_subclass_name, (const char *)arg2);
@ -1571,7 +1568,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_EventConsumer_
(void)jarg1_;
arg1 = *(EventConsumer **)&jarg1;
result = (char *) ((arg1)->e_subclass_name);
if(result) jresult = jenv->NewStringUTF((const char *)result);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
@ -1590,7 +1587,7 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_EventConsumer_1e_
if (!arg2) return ;
}
{
if (arg1->e_cb_arg) delete [] arg1->e_cb_arg;
delete [] arg1->e_cb_arg;
if (arg2) {
arg1->e_cb_arg = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->e_cb_arg, (const char *)arg2);
@ -1612,7 +1609,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_EventConsumer_
(void)jarg1_;
arg1 = *(EventConsumer **)&jarg1;
result = (char *) ((arg1)->e_cb_arg);
if(result) jresult = jenv->NewStringUTF((const char *)result);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
@ -1666,7 +1663,6 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_EventConsumer_1no
}
arg2 = *argp2;
if (arg1) (arg1)->node_index = arg2;
}
@ -1680,7 +1676,7 @@ SWIGEXPORT jlong JNICALL Java_org_freeswitch_swig_freeswitchJNI_EventConsumer_1n
(void)jarg1_;
arg1 = *(EventConsumer **)&jarg1;
result = ((arg1)->node_index);
*(uint32_t **)&jresult = new uint32_t((uint32_t &)result);
*(uint32_t **)&jresult = new uint32_t((const uint32_t &)result);
return jresult;
}
@ -1720,7 +1716,6 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_delete_1EventCons
(void)jcls;
arg1 = *(EventConsumer **)&jarg1;
delete arg1;
}
@ -1790,7 +1785,6 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_delete_1CoreSessi
(void)jcls;
arg1 = *(CoreSession **)&jarg1;
delete arg1;
}
@ -1804,7 +1798,6 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1sess
arg1 = *(CoreSession **)&jarg1;
arg2 = *(switch_core_session_t **)&jarg2;
if (arg1) (arg1)->session = arg2;
}
@ -1833,7 +1826,6 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1chan
arg1 = *(CoreSession **)&jarg1;
arg2 = *(switch_channel_t **)&jarg2;
if (arg1) (arg1)->channel = arg2;
}
@ -1862,7 +1854,6 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1flag
arg1 = *(CoreSession **)&jarg1;
arg2 = (unsigned int)jarg2;
if (arg1) (arg1)->flags = arg2;
}
@ -1891,7 +1882,6 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1allo
arg1 = *(CoreSession **)&jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->allocated = arg2;
}
@ -1921,7 +1911,6 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1cb_1
arg1 = *(CoreSession **)&jarg1;
arg2 = *(input_callback_state **)&jarg2;
if (arg1) (arg1)->cb_state = *arg2;
}
@ -1956,7 +1945,6 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1hook
}
arg2 = *argp2;
if (arg1) (arg1)->hook_state = arg2;
}
@ -1970,7 +1958,7 @@ SWIGEXPORT jlong JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1hoo
(void)jarg1_;
arg1 = *(CoreSession **)&jarg1;
result = ((arg1)->hook_state);
*(switch_channel_state_t **)&jresult = new switch_channel_state_t((switch_channel_state_t &)result);
*(switch_channel_state_t **)&jresult = new switch_channel_state_t((const switch_channel_state_t &)result);
return jresult;
}
@ -1991,7 +1979,6 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1caus
}
arg2 = *argp2;
if (arg1) (arg1)->cause = arg2;
}
@ -2005,7 +1992,7 @@ SWIGEXPORT jlong JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1cau
(void)jarg1_;
arg1 = *(CoreSession **)&jarg1;
result = ((arg1)->cause);
*(switch_call_cause_t **)&jresult = new switch_call_cause_t((switch_call_cause_t &)result);
*(switch_call_cause_t **)&jresult = new switch_call_cause_t((const switch_call_cause_t &)result);
return jresult;
}
@ -2024,7 +2011,7 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1uuid
if (!arg2) return ;
}
{
if (arg1->uuid) delete [] arg1->uuid;
delete [] arg1->uuid;
if (arg2) {
arg1->uuid = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->uuid, (const char *)arg2);
@ -2046,7 +2033,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1u
(void)jarg1_;
arg1 = *(CoreSession **)&jarg1;
result = (char *) ((arg1)->uuid);
if(result) jresult = jenv->NewStringUTF((const char *)result);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
@ -2065,7 +2052,7 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1tts_
if (!arg2) return ;
}
{
if (arg1->tts_name) delete [] arg1->tts_name;
delete [] arg1->tts_name;
if (arg2) {
arg1->tts_name = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->tts_name, (const char *)arg2);
@ -2087,7 +2074,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1t
(void)jarg1_;
arg1 = *(CoreSession **)&jarg1;
result = (char *) ((arg1)->tts_name);
if(result) jresult = jenv->NewStringUTF((const char *)result);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
@ -2106,7 +2093,7 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1voic
if (!arg2) return ;
}
{
if (arg1->voice_name) delete [] arg1->voice_name;
delete [] arg1->voice_name;
if (arg2) {
arg1->voice_name = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->voice_name, (const char *)arg2);
@ -2128,7 +2115,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1v
(void)jarg1_;
arg1 = *(CoreSession **)&jarg1;
result = (char *) ((arg1)->voice_name);
if(result) jresult = jenv->NewStringUTF((const char *)result);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
@ -2306,7 +2293,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1g
if (!arg2) return 0;
}
result = (char *)(arg1)->getVariable(arg2);
if(result) jresult = jenv->NewStringUTF((const char *)result);
if (result) jresult = jenv->NewStringUTF((const char *)result);
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
return jresult;
}
@ -2328,7 +2315,7 @@ SWIGEXPORT jlong JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1pro
if (!arg2) return 0;
}
result = (arg1)->process_callback_result(arg2);
*(switch_status_t **)&jresult = new switch_status_t((switch_status_t &)result);
*(switch_status_t **)&jresult = new switch_status_t((const switch_status_t &)result);
if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
return jresult;
}
@ -2422,7 +2409,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1h
(void)jarg1_;
arg1 = *(CoreSession **)&jarg1;
result = (char *)(arg1)->hangupCause();
if(result) jresult = jenv->NewStringUTF((const char *)result);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
@ -2437,7 +2424,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1g
(void)jarg1_;
arg1 = *(CoreSession **)&jarg1;
result = (char *)(arg1)->getState();
if(result) jresult = jenv->NewStringUTF((const char *)result);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
@ -2658,7 +2645,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1g
}
arg4 = (int)jarg4;
result = (char *)(arg1)->getDigits(arg2,arg3,arg4);
if(result) jresult = jenv->NewStringUTF((const char *)result);
if (result) jresult = jenv->NewStringUTF((const char *)result);
if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
return jresult;
}
@ -2686,7 +2673,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1g
arg4 = (int)jarg4;
arg5 = (int)jarg5;
result = (char *)(arg1)->getDigits(arg2,arg3,arg4,arg5);
if(result) jresult = jenv->NewStringUTF((const char *)result);
if (result) jresult = jenv->NewStringUTF((const char *)result);
if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3);
return jresult;
}
@ -2758,7 +2745,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1r
}
arg7 = (int)jarg7;
result = (char *)(arg1)->read(arg2,arg3,(char const *)arg4,arg5,(char const *)arg6,arg7);
if(result) jresult = jenv->NewStringUTF((const char *)result);
if (result) jresult = jenv->NewStringUTF((const char *)result);
if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
if (arg6) jenv->ReleaseStringUTFChars(jarg6, (const char *)arg6);
return jresult;
@ -2821,7 +2808,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1p
if (!arg12) return 0;
}
result = (char *)(arg1)->playAndGetDigits(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,(char const *)arg10,arg11,(char const *)arg12);
if(result) jresult = jenv->NewStringUTF((const char *)result);
if (result) jresult = jenv->NewStringUTF((const char *)result);
if (arg6) jenv->ReleaseStringUTFChars(jarg6, (const char *)arg6);
if (arg7) jenv->ReleaseStringUTFChars(jarg7, (const char *)arg7);
if (arg8) jenv->ReleaseStringUTFChars(jarg8, (const char *)arg8);
@ -3072,7 +3059,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1g
(void)jarg1_;
arg1 = *(CoreSession **)&jarg1;
result = (char *)(arg1)->getXMLCDR();
if(result) jresult = jenv->NewStringUTF((const char *)result);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
@ -3117,7 +3104,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1g
(void)jarg1_;
arg1 = *(CoreSession **)&jarg1;
result = (char *)((CoreSession const *)arg1)->get_uuid();
if(result) jresult = jenv->NewStringUTF((const char *)result);
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
@ -3131,10 +3118,7 @@ SWIGEXPORT jlong JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1get
(void)jcls;
(void)jarg1_;
arg1 = *(CoreSession **)&jarg1;
{
switch_input_args_t const &_result_ref = ((CoreSession const *)arg1)->get_cb_args();
result = (switch_input_args_t *) &_result_ref;
}
result = (switch_input_args_t *) &((CoreSession const *)arg1)->get_cb_args();
*(switch_input_args_t **)&jresult = result;
return jresult;
}
@ -3156,8 +3140,8 @@ SWIGEXPORT jlong JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1run
CoreSession *arg1 = (CoreSession *) 0 ;
void *arg2 = (void *) 0 ;
switch_input_type_t arg3 ;
switch_status_t result;
switch_input_type_t *argp3 ;
switch_status_t result;
(void)jenv;
(void)jcls;
@ -3171,7 +3155,7 @@ SWIGEXPORT jlong JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1run
}
arg3 = *argp3;
result = (arg1)->run_dtmf_callback(arg2,arg3);
*(switch_status_t **)&jresult = new switch_status_t((switch_status_t &)result);
*(switch_status_t **)&jresult = new switch_status_t((const switch_status_t &)result);
return jresult;
}
@ -3336,12 +3320,12 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_bridge(JNIEnv *je
(void)jarg1_;
(void)jarg2_;
arg1 = *(CoreSession **)&jarg1;
if(!arg1) {
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "CoreSession & reference is null");
return ;
}
arg2 = *(CoreSession **)&jarg2;
if(!arg2) {
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "CoreSession & reference is null");
return ;
}
@ -3358,7 +3342,7 @@ SWIGEXPORT jlong JNICALL Java_org_freeswitch_swig_freeswitchJNI_hanguphook(JNIEn
(void)jcls;
arg1 = *(switch_core_session_t **)&jarg1;
result = hanguphook(arg1);
*(switch_status_t **)&jresult = new switch_status_t((switch_status_t &)result);
*(switch_status_t **)&jresult = new switch_status_t((const switch_status_t &)result);
return jresult;
}
@ -3370,8 +3354,8 @@ SWIGEXPORT jlong JNICALL Java_org_freeswitch_swig_freeswitchJNI_dtmf_1callback(J
switch_input_type_t arg3 ;
void *arg4 = (void *) 0 ;
unsigned int arg5 ;
switch_status_t result;
switch_input_type_t *argp3 ;
switch_status_t result;
(void)jenv;
(void)jcls;
@ -3386,7 +3370,7 @@ SWIGEXPORT jlong JNICALL Java_org_freeswitch_swig_freeswitchJNI_dtmf_1callback(J
arg4 = *(void **)&jarg4;
arg5 = (unsigned int)jarg5;
result = dtmf_callback(arg1,arg2,arg3,arg4,arg5);
*(switch_status_t **)&jresult = new switch_status_t((switch_status_t &)result);
*(switch_status_t **)&jresult = new switch_status_t((const switch_status_t &)result);
return jresult;
}
@ -3398,7 +3382,6 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_javaVM_1set(JNIEn
(void)jcls;
arg1 = *(JavaVM **)&jarg1;
javaVM = arg1;
}
@ -3476,7 +3459,6 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_delete_1JavaSessi
(void)jcls;
arg1 = *(JavaSession **)&jarg1;
delete arg1;
}
@ -3559,8 +3541,8 @@ SWIGEXPORT jlong JNICALL Java_org_freeswitch_swig_freeswitchJNI_JavaSession_1run
JavaSession *arg1 = (JavaSession *) 0 ;
void *arg2 = (void *) 0 ;
switch_input_type_t arg3 ;
switch_status_t result;
switch_input_type_t *argp3 ;
switch_status_t result;
(void)jenv;
(void)jcls;
@ -3574,7 +3556,7 @@ SWIGEXPORT jlong JNICALL Java_org_freeswitch_swig_freeswitchJNI_JavaSession_1run
}
arg3 = *argp3;
result = (arg1)->run_dtmf_callback(arg2,arg3);
*(switch_status_t **)&jresult = new switch_status_t((switch_status_t &)result);
*(switch_status_t **)&jresult = new switch_status_t((const switch_status_t &)result);
return jresult;
}
@ -3606,7 +3588,7 @@ SWIGEXPORT jint JNICALL Java_org_freeswitch_swig_freeswitchJNI_JavaSession_1orig
}
SWIGEXPORT jlong JNICALL Java_org_freeswitch_swig_freeswitchJNI_SWIGJavaSessionUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
SWIGEXPORT jlong JNICALL Java_org_freeswitch_swig_freeswitchJNI_JavaSession_1SWIGUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
jlong baseptr = 0;
(void)jenv;
(void)jcls;

File diff suppressed because it is too large Load Diff

View File

@ -1964,7 +1964,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_RTCP_VIDEO_INTERVAL_MSEC_get() {
char * jresult ;
char *result = 0 ;
result = (char *)("1000");
result = (char *)("2000");
jresult = SWIG_csharp_string_callback((const char *)result);
return jresult;
}
@ -4266,6 +4266,28 @@ SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtcp_numbers_t_pkt_count_get
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_sent_pkt_count_set(void * jarg1, unsigned short jarg2) {
switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
uint16_t arg2 ;
arg1 = (switch_rtcp_numbers_t *)jarg1;
arg2 = (uint16_t)jarg2;
if (arg1) (arg1)->sent_pkt_count = arg2;
}
SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtcp_numbers_t_sent_pkt_count_get(void * jarg1) {
unsigned short jresult ;
switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
uint16_t result;
arg1 = (switch_rtcp_numbers_t *)jarg1;
result = (uint16_t) ((arg1)->sent_pkt_count);
jresult = result;
return jresult;
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_rtcp_rtp_count_set(void * jarg1, unsigned long jarg2) {
switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
uint32_t arg2 ;
@ -10609,6 +10631,60 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_media_bug_count(void * j
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_media_bug_set_spy_fmt(void * jarg1, int jarg2) {
switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ;
switch_vid_spy_fmt_t arg2 ;
arg1 = (switch_media_bug_t *)jarg1;
arg2 = (switch_vid_spy_fmt_t)jarg2;
switch_media_bug_set_spy_fmt(arg1,arg2);
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_push_spy_frame(void * jarg1, void * jarg2, int jarg3) {
int jresult ;
switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ;
switch_frame_t *arg2 = (switch_frame_t *) 0 ;
switch_rw_t arg3 ;
switch_status_t result;
arg1 = (switch_media_bug_t *)jarg1;
arg2 = (switch_frame_t *)jarg2;
arg3 = (switch_rw_t)jarg3;
result = (switch_status_t)switch_core_media_bug_push_spy_frame(arg1,arg2,arg3);
jresult = result;
return jresult;
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_patch_spy_frame(void * jarg1, void * jarg2, int jarg3) {
int jresult ;
switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ;
switch_image_t *arg2 = (switch_image_t *) 0 ;
switch_rw_t arg3 ;
switch_status_t result;
arg1 = (switch_media_bug_t *)jarg1;
arg2 = (switch_image_t *)jarg2;
arg3 = (switch_rw_t)jarg3;
result = (switch_status_t)switch_core_media_bug_patch_spy_frame(arg1,arg2,arg3);
jresult = result;
return jresult;
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_media_bug_parse_spy_fmt(char * jarg1) {
int jresult ;
char *arg1 = (char *) 0 ;
switch_vid_spy_fmt_t result;
arg1 = (char *)jarg1;
result = (switch_vid_spy_fmt_t)switch_media_bug_parse_spy_fmt((char const *)arg1);
jresult = result;
return jresult;
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_add(void * jarg1, char * jarg2, char * jarg3, void * jarg4, void * jarg5, void * jarg6, unsigned long jarg7, void * jarg8) {
int jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
@ -14727,6 +14803,18 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_mime_ext2type(char * jarg1) {
}
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_mime_type2ext(char * jarg1) {
char * jresult ;
char *arg1 = (char *) 0 ;
char *result = 0 ;
arg1 = (char *)jarg1;
result = (char *)switch_core_mime_type2ext((char const *)arg1);
jresult = SWIG_csharp_string_callback((const char *)result);
return jresult;
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_mime_add_type(char * jarg1, char * jarg2) {
int jresult ;
char *arg1 = (char *) 0 ;
@ -19245,6 +19333,24 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_util_quote_shell_arg_pool(char * jar
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_calc_bitrate(int jarg1, int jarg2, int jarg3, int jarg4) {
int jresult ;
int arg1 ;
int arg2 ;
int arg3 ;
int arg4 ;
int32_t result;
arg1 = (int)jarg1;
arg2 = (int)jarg2;
arg3 = (int)jarg3;
arg4 = (int)jarg4;
result = (int32_t)switch_calc_bitrate(arg1,arg2,arg3,arg4);
jresult = result;
return jresult;
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_parse_bandwidth_string(char * jarg1) {
int jresult ;
char *arg1 = (char *) 0 ;
@ -19269,6 +19375,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_needs_url_encode(char * jarg1) {
}
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_url_encode_opt(char * jarg1, char * jarg2, unsigned long jarg3, int jarg4) {
char * jresult ;
char *arg1 = (char *) 0 ;
char *arg2 = (char *) 0 ;
size_t arg3 ;
switch_bool_t arg4 ;
char *result = 0 ;
arg1 = (char *)jarg1;
arg2 = (char *)jarg2;
arg3 = (size_t)jarg3;
arg4 = (switch_bool_t)jarg4;
result = (char *)switch_url_encode_opt((char const *)arg1,arg2,arg3,arg4);
jresult = SWIG_csharp_string_callback((const char *)result);
return jresult;
}
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_url_encode(char * jarg1, char * jarg2, unsigned long jarg3) {
char * jresult ;
char *arg1 = (char *) 0 ;
@ -19415,6 +19539,18 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_network_list_add_cidr_token(void * jarg
}
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_network_ipv4_mapped_ipv6_addr(char * jarg1) {
char * jresult ;
char *arg1 = (char *) 0 ;
char *result = 0 ;
arg1 = (char *)jarg1;
result = (char *)switch_network_ipv4_mapped_ipv6_addr((char const *)arg1);
jresult = SWIG_csharp_string_callback((const char *)result);
return jresult;
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_network_list_add_host_mask(void * jarg1, char * jarg2, char * jarg3, int jarg4) {
int jresult ;
switch_network_list_t *arg1 = (switch_network_list_t *) 0 ;
@ -33549,6 +33685,20 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_perform_audio_sync(void * jarg
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_perform_video_sync(void * jarg1, char * jarg2, char * jarg3, int jarg4) {
switch_channel_t *arg1 = (switch_channel_t *) 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
int arg4 ;
arg1 = (switch_channel_t *)jarg1;
arg2 = (char *)jarg2;
arg3 = (char *)jarg3;
arg4 = (int)jarg4;
switch_channel_perform_video_sync(arg1,(char const *)arg2,(char const *)arg3,arg4);
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_private_flag(void * jarg1, unsigned long jarg2) {
switch_channel_t *arg1 = (switch_channel_t *) 0 ;
uint32_t arg2 ;
@ -36530,37 +36680,41 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_change_sln_volume_granular(void * jarg
}
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_merge_sln(void * jarg1, unsigned long jarg2, void * jarg3, unsigned long jarg4) {
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_merge_sln(void * jarg1, unsigned long jarg2, void * jarg3, unsigned long jarg4, int jarg5) {
unsigned long jresult ;
int16_t *arg1 = (int16_t *) 0 ;
uint32_t arg2 ;
int16_t *arg3 = (int16_t *) 0 ;
uint32_t arg4 ;
int arg5 ;
uint32_t result;
arg1 = (int16_t *)jarg1;
arg2 = (uint32_t)jarg2;
arg3 = (int16_t *)jarg3;
arg4 = (uint32_t)jarg4;
result = (uint32_t)switch_merge_sln(arg1,arg2,arg3,arg4);
arg5 = (int)jarg5;
result = (uint32_t)switch_merge_sln(arg1,arg2,arg3,arg4,arg5);
jresult = (unsigned long)result;
return jresult;
}
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_unmerge_sln(void * jarg1, unsigned long jarg2, void * jarg3, unsigned long jarg4) {
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_unmerge_sln(void * jarg1, unsigned long jarg2, void * jarg3, unsigned long jarg4, int jarg5) {
unsigned long jresult ;
int16_t *arg1 = (int16_t *) 0 ;
uint32_t arg2 ;
int16_t *arg3 = (int16_t *) 0 ;
uint32_t arg4 ;
int arg5 ;
uint32_t result;
arg1 = (int16_t *)jarg1;
arg2 = (uint32_t)jarg2;
arg3 = (int16_t *)jarg3;
arg4 = (uint32_t)jarg4;
result = (uint32_t)switch_unmerge_sln(arg1,arg2,arg3,arg4);
arg5 = (int)jarg5;
result = (uint32_t)switch_unmerge_sln(arg1,arg2,arg3,arg4,arg5);
jresult = (unsigned long)result;
return jresult;
}
@ -36958,6 +37112,28 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_unicast_conninfo_stream_id_get(void * j
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_thread_set(void * jarg1, void * jarg2) {
switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ;
switch_thread_t *arg2 = (switch_thread_t *) 0 ;
arg1 = (switch_unicast_conninfo *)jarg1;
arg2 = (switch_thread_t *)jarg2;
if (arg1) (arg1)->thread = arg2;
}
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_thread_get(void * jarg1) {
void * jresult ;
switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ;
switch_thread_t *result = 0 ;
arg1 = (switch_unicast_conninfo *)jarg1;
result = (switch_thread_t *) ((arg1)->thread);
jresult = (void *)result;
return jresult;
}
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_unicast_conninfo() {
void * jresult ;
switch_unicast_conninfo *result = 0 ;
@ -39324,6 +39500,42 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_record_session_mask(void * jarg1, c
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_stop_video_write_overlay_session(void * jarg1) {
int jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
switch_status_t result;
arg1 = (switch_core_session_t *)jarg1;
result = (switch_status_t)switch_ivr_stop_video_write_overlay_session(arg1);
jresult = result;
return jresult;
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_video_write_overlay_session(void * jarg1, char * jarg2, void * jarg3, unsigned char jarg4) {
int jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
char *arg2 = (char *) 0 ;
switch_img_position_t arg3 ;
uint8_t arg4 ;
switch_img_position_t *argp3 ;
switch_status_t result;
arg1 = (switch_core_session_t *)jarg1;
arg2 = (char *)jarg2;
argp3 = (switch_img_position_t *)jarg3;
if (!argp3) {
SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_img_position_t", 0);
return 0;
}
arg3 = *argp3;
arg4 = (uint8_t)jarg4;
result = (switch_status_t)switch_ivr_video_write_overlay_session(arg1,(char const *)arg2,arg3,arg4);
jresult = result;
return jresult;
}
SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_RTP_MAX_BUF_LEN_get() {
int jresult ;
int result;
@ -40023,23 +40235,27 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_ice_t_cands_get(void * jarg1) {
}
SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_cand_idx_set(void * jarg1, int jarg2) {
SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_cand_idx_set(void * jarg1, void * jarg2) {
ice_s *arg1 = (ice_s *) 0 ;
int arg2 ;
int *arg2 ;
arg1 = (ice_s *)jarg1;
arg2 = (int)jarg2;
if (arg1) (arg1)->cand_idx = arg2;
arg2 = (int *)jarg2;
{
size_t ii;
int *b = (int *) arg1->cand_idx;
for (ii = 0; ii < (size_t)2; ii++) b[ii] = *((int *) arg2 + ii);
}
}
SWIGEXPORT int SWIGSTDCALL CSharp_ice_t_cand_idx_get(void * jarg1) {
int jresult ;
SWIGEXPORT void * SWIGSTDCALL CSharp_ice_t_cand_idx_get(void * jarg1) {
void * jresult ;
ice_s *arg1 = (ice_s *) 0 ;
int result;
int *result = 0 ;
arg1 = (ice_s *)jarg1;
result = (int) ((arg1)->cand_idx);
result = (int *)(int *) ((arg1)->cand_idx);
jresult = result;
return jresult;
}
@ -40071,6 +40287,32 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_ice_t_chosen_get(void * jarg1) {
}
SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_is_chosen_set(void * jarg1, void * jarg2) {
ice_s *arg1 = (ice_s *) 0 ;
int *arg2 ;
arg1 = (ice_s *)jarg1;
arg2 = (int *)jarg2;
{
size_t ii;
int *b = (int *) arg1->is_chosen;
for (ii = 0; ii < (size_t)2; ii++) b[ii] = *((int *) arg2 + ii);
}
}
SWIGEXPORT void * SWIGSTDCALL CSharp_ice_t_is_chosen_get(void * jarg1) {
void * jresult ;
ice_s *arg1 = (ice_s *) 0 ;
int *result = 0 ;
arg1 = (ice_s *)jarg1;
result = (int *)(int *) ((arg1)->is_chosen);
jresult = result;
return jresult;
}
SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_ufrag_set(void * jarg1, char * jarg2) {
ice_s *arg1 = (ice_s *) 0 ;
char *arg2 = (char *) 0 ;
@ -40610,6 +40852,18 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_set_video_buffer_size(void * jarg1,
}
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtp_get_video_buffer_size(void * jarg1) {
unsigned long jresult ;
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
uint32_t result;
arg1 = (switch_rtp_t *)jarg1;
result = (uint32_t)switch_rtp_get_video_buffer_size(arg1);
jresult = (unsigned long)result;
return jresult;
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_activate_jitter_buffer(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4, unsigned long jarg5, unsigned long jarg6) {
int jresult ;
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
@ -41206,6 +41460,34 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_has_dtls() {
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_req_bitrate(void * jarg1, unsigned long jarg2) {
int jresult ;
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
uint32_t arg2 ;
switch_status_t result;
arg1 = (switch_rtp_t *)jarg1;
arg2 = (uint32_t)jarg2;
result = (switch_status_t)switch_rtp_req_bitrate(arg1,arg2);
jresult = result;
return jresult;
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_ack_bitrate(void * jarg1, unsigned long jarg2) {
int jresult ;
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
uint32_t arg2 ;
switch_status_t result;
arg1 = (switch_rtp_t *)jarg1;
arg2 = (uint32_t)jarg2;
result = (switch_status_t)switch_rtp_ack_bitrate(arg1,arg2);
jresult = result;
return jresult;
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_video_refresh(void * jarg1) {
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;

View File

@ -1251,6 +1251,25 @@ public class freeswitch {
return ret;
}
public static void switch_media_bug_set_spy_fmt(SWIGTYPE_p_switch_media_bug bug, switch_vid_spy_fmt_t spy_fmt) {
freeswitchPINVOKE.switch_media_bug_set_spy_fmt(SWIGTYPE_p_switch_media_bug.getCPtr(bug), (int)spy_fmt);
}
public static switch_status_t switch_core_media_bug_push_spy_frame(SWIGTYPE_p_switch_media_bug bug, switch_frame frame, switch_rw_t rw) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_push_spy_frame(SWIGTYPE_p_switch_media_bug.getCPtr(bug), switch_frame.getCPtr(frame), (int)rw);
return ret;
}
public static switch_status_t switch_core_media_bug_patch_spy_frame(SWIGTYPE_p_switch_media_bug bug, SWIGTYPE_p_switch_image_t img, switch_rw_t rw) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_patch_spy_frame(SWIGTYPE_p_switch_media_bug.getCPtr(bug), SWIGTYPE_p_switch_image_t.getCPtr(img), (int)rw);
return ret;
}
public static switch_vid_spy_fmt_t switch_media_bug_parse_spy_fmt(string name) {
switch_vid_spy_fmt_t ret = (switch_vid_spy_fmt_t)freeswitchPINVOKE.switch_media_bug_parse_spy_fmt(name);
return ret;
}
public static switch_status_t switch_core_media_bug_add(SWIGTYPE_p_switch_core_session session, string function, string target, SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t callback, SWIGTYPE_p_void user_data, SWIGTYPE_p_time_t stop_time, uint flags, SWIGTYPE_p_p_switch_media_bug new_bug) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_add(SWIGTYPE_p_switch_core_session.getCPtr(session), function, target, SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t.getCPtr(callback), SWIGTYPE_p_void.getCPtr(user_data), SWIGTYPE_p_time_t.getCPtr(stop_time), flags, SWIGTYPE_p_p_switch_media_bug.getCPtr(new_bug));
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
@ -2753,6 +2772,11 @@ public class freeswitch {
return ret;
}
public static string switch_core_mime_type2ext(string type) {
string ret = freeswitchPINVOKE.switch_core_mime_type2ext(type);
return ret;
}
public static switch_status_t switch_core_mime_add_type(string type, string ext) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_mime_add_type(type, ext);
return ret;
@ -4050,6 +4074,11 @@ public class freeswitch {
return ret;
}
public static int switch_calc_bitrate(int w, int h, int quality, int fps) {
int ret = freeswitchPINVOKE.switch_calc_bitrate(w, h, quality, fps);
return ret;
}
public static int switch_parse_bandwidth_string(string bwv) {
int ret = freeswitchPINVOKE.switch_parse_bandwidth_string(bwv);
return ret;
@ -4060,6 +4089,11 @@ public class freeswitch {
return ret;
}
public static string switch_url_encode_opt(string url, string buf, uint len, switch_bool_t double_encode) {
string ret = freeswitchPINVOKE.switch_url_encode_opt(url, buf, len, (int)double_encode);
return ret;
}
public static string switch_url_encode(string url, string buf, uint len) {
string ret = freeswitchPINVOKE.switch_url_encode(url, buf, len);
return ret;
@ -4104,6 +4138,11 @@ public class freeswitch {
return ret;
}
public static string switch_network_ipv4_mapped_ipv6_addr(string ip_str) {
string ret = freeswitchPINVOKE.switch_network_ipv4_mapped_ipv6_addr(ip_str);
return ret;
}
public static switch_status_t switch_network_list_add_host_mask(SWIGTYPE_p_switch_network_list list, string host, string mask_str, switch_bool_t ok) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_network_list_add_host_mask(SWIGTYPE_p_switch_network_list.getCPtr(list), host, mask_str, (int)ok);
return ret;
@ -4801,6 +4840,10 @@ public class freeswitch {
freeswitchPINVOKE.switch_channel_perform_audio_sync(SWIGTYPE_p_switch_channel.getCPtr(channel), file, func, line);
}
public static void switch_channel_perform_video_sync(SWIGTYPE_p_switch_channel channel, string file, string func, int line) {
freeswitchPINVOKE.switch_channel_perform_video_sync(SWIGTYPE_p_switch_channel.getCPtr(channel), file, func, line);
}
public static void switch_channel_set_private_flag(SWIGTYPE_p_switch_channel channel, uint flags) {
freeswitchPINVOKE.switch_channel_set_private_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), flags);
}
@ -5493,13 +5536,13 @@ public class freeswitch {
freeswitchPINVOKE.switch_change_sln_volume_granular(SWIGTYPE_p_short.getCPtr(data), samples, vol);
}
public static uint switch_merge_sln(SWIGTYPE_p_short data, uint samples, SWIGTYPE_p_short other_data, uint other_samples) {
uint ret = freeswitchPINVOKE.switch_merge_sln(SWIGTYPE_p_short.getCPtr(data), samples, SWIGTYPE_p_short.getCPtr(other_data), other_samples);
public static uint switch_merge_sln(SWIGTYPE_p_short data, uint samples, SWIGTYPE_p_short other_data, uint other_samples, int channels) {
uint ret = freeswitchPINVOKE.switch_merge_sln(SWIGTYPE_p_short.getCPtr(data), samples, SWIGTYPE_p_short.getCPtr(other_data), other_samples, channels);
return ret;
}
public static uint switch_unmerge_sln(SWIGTYPE_p_short data, uint samples, SWIGTYPE_p_short other_data, uint other_samples) {
uint ret = freeswitchPINVOKE.switch_unmerge_sln(SWIGTYPE_p_short.getCPtr(data), samples, SWIGTYPE_p_short.getCPtr(other_data), other_samples);
public static uint switch_unmerge_sln(SWIGTYPE_p_short data, uint samples, SWIGTYPE_p_short other_data, uint other_samples, int channels) {
uint ret = freeswitchPINVOKE.switch_unmerge_sln(SWIGTYPE_p_short.getCPtr(data), samples, SWIGTYPE_p_short.getCPtr(other_data), other_samples, channels);
return ret;
}
@ -6226,6 +6269,17 @@ public class freeswitch {
return ret;
}
public static switch_status_t switch_ivr_stop_video_write_overlay_session(SWIGTYPE_p_switch_core_session session) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_stop_video_write_overlay_session(SWIGTYPE_p_switch_core_session.getCPtr(session));
return ret;
}
public static switch_status_t switch_ivr_video_write_overlay_session(SWIGTYPE_p_switch_core_session session, string img_path, SWIGTYPE_p_switch_img_position_t pos, byte alpha) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_video_write_overlay_session(SWIGTYPE_p_switch_core_session.getCPtr(session), img_path, SWIGTYPE_p_switch_img_position_t.getCPtr(pos), alpha);
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public static switch_status_t switch_rtp_add_crypto_key(SWIGTYPE_p_switch_rtp rtp_session, switch_rtp_crypto_direction_t direction, uint index, switch_rtp_crypto_key_type_t type, SWIGTYPE_p_unsigned_char key, SWIGTYPE_p_switch_size_t keylen) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_add_crypto_key(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), (int)direction, index, (int)type, SWIGTYPE_p_unsigned_char.getCPtr(key), SWIGTYPE_p_switch_size_t.getCPtr(keylen));
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
@ -6373,6 +6427,11 @@ public class freeswitch {
return ret;
}
public static uint switch_rtp_get_video_buffer_size(SWIGTYPE_p_switch_rtp rtp_session) {
uint ret = freeswitchPINVOKE.switch_rtp_get_video_buffer_size(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session));
return ret;
}
public static switch_status_t switch_rtp_activate_jitter_buffer(SWIGTYPE_p_switch_rtp rtp_session, uint queue_frames, uint max_queue_frames, uint samples_per_packet, uint samples_per_second, uint max_drift) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_activate_jitter_buffer(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), queue_frames, max_queue_frames, samples_per_packet, samples_per_second, max_drift);
return ret;
@ -6588,6 +6647,16 @@ public class freeswitch {
return ret;
}
public static switch_status_t switch_rtp_req_bitrate(SWIGTYPE_p_switch_rtp rtp_session, uint bps) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_req_bitrate(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), bps);
return ret;
}
public static switch_status_t switch_rtp_ack_bitrate(SWIGTYPE_p_switch_rtp rtp_session, uint bps) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_ack_bitrate(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), bps);
return ret;
}
public static void switch_rtp_video_refresh(SWIGTYPE_p_switch_rtp rtp_session) {
freeswitchPINVOKE.switch_rtp_video_refresh(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session));
}
@ -8648,6 +8717,12 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_pkt_count_get")]
public static extern ushort switch_rtcp_numbers_t_pkt_count_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_sent_pkt_count_set")]
public static extern void switch_rtcp_numbers_t_sent_pkt_count_set(HandleRef jarg1, ushort jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_sent_pkt_count_get")]
public static extern ushort switch_rtcp_numbers_t_sent_pkt_count_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_rtcp_rtp_count_set")]
public static extern void switch_rtcp_numbers_t_rtcp_rtp_count_set(HandleRef jarg1, uint jarg2);
@ -10292,6 +10367,18 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_count")]
public static extern uint switch_core_media_bug_count(HandleRef jarg1, string jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_media_bug_set_spy_fmt")]
public static extern void switch_media_bug_set_spy_fmt(HandleRef jarg1, int jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_push_spy_frame")]
public static extern int switch_core_media_bug_push_spy_frame(HandleRef jarg1, HandleRef jarg2, int jarg3);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_patch_spy_frame")]
public static extern int switch_core_media_bug_patch_spy_frame(HandleRef jarg1, HandleRef jarg2, int jarg3);
[DllImport("mod_managed", EntryPoint="CSharp_switch_media_bug_parse_spy_fmt")]
public static extern int switch_media_bug_parse_spy_fmt(string jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_add")]
public static extern int switch_core_media_bug_add(HandleRef jarg1, string jarg2, string jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6, uint jarg7, HandleRef jarg8);
@ -11195,6 +11282,9 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_mime_ext2type")]
public static extern string switch_core_mime_ext2type(string jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_mime_type2ext")]
public static extern string switch_core_mime_type2ext(string jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_mime_add_type")]
public static extern int switch_core_mime_add_type(string jarg1, string jarg2);
@ -12236,12 +12326,18 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_util_quote_shell_arg_pool")]
public static extern string switch_util_quote_shell_arg_pool(string jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_calc_bitrate")]
public static extern int switch_calc_bitrate(int jarg1, int jarg2, int jarg3, int jarg4);
[DllImport("mod_managed", EntryPoint="CSharp_switch_parse_bandwidth_string")]
public static extern int switch_parse_bandwidth_string(string jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_needs_url_encode")]
public static extern int switch_needs_url_encode(string jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_url_encode_opt")]
public static extern string switch_url_encode_opt(string jarg1, string jarg2, uint jarg3, int jarg4);
[DllImport("mod_managed", EntryPoint="CSharp_switch_url_encode")]
public static extern string switch_url_encode(string jarg1, string jarg2, uint jarg3);
@ -12269,6 +12365,9 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_network_list_add_cidr_token")]
public static extern int switch_network_list_add_cidr_token(HandleRef jarg1, string jarg2, int jarg3, string jarg4);
[DllImport("mod_managed", EntryPoint="CSharp_switch_network_ipv4_mapped_ipv6_addr")]
public static extern string switch_network_ipv4_mapped_ipv6_addr(string jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_network_list_add_host_mask")]
public static extern int switch_network_list_add_host_mask(HandleRef jarg1, string jarg2, string jarg3, int jarg4);
@ -15833,6 +15932,9 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_audio_sync")]
public static extern void switch_channel_perform_audio_sync(HandleRef jarg1, string jarg2, string jarg3, int jarg4);
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_video_sync")]
public static extern void switch_channel_perform_video_sync(HandleRef jarg1, string jarg2, string jarg3, int jarg4);
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_private_flag")]
public static extern void switch_channel_set_private_flag(HandleRef jarg1, uint jarg2);
@ -16512,10 +16614,10 @@ class freeswitchPINVOKE {
public static extern void switch_change_sln_volume_granular(HandleRef jarg1, uint jarg2, int jarg3);
[DllImport("mod_managed", EntryPoint="CSharp_switch_merge_sln")]
public static extern uint switch_merge_sln(HandleRef jarg1, uint jarg2, HandleRef jarg3, uint jarg4);
public static extern uint switch_merge_sln(HandleRef jarg1, uint jarg2, HandleRef jarg3, uint jarg4, int jarg5);
[DllImport("mod_managed", EntryPoint="CSharp_switch_unmerge_sln")]
public static extern uint switch_unmerge_sln(HandleRef jarg1, uint jarg2, HandleRef jarg3, uint jarg4);
public static extern uint switch_unmerge_sln(HandleRef jarg1, uint jarg2, HandleRef jarg3, uint jarg4, int jarg5);
[DllImport("mod_managed", EntryPoint="CSharp_switch_mux_channels")]
public static extern void switch_mux_channels(HandleRef jarg1, HandleRef jarg2, uint jarg3, uint jarg4);
@ -16616,6 +16718,12 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_stream_id_get")]
public static extern int switch_unicast_conninfo_stream_id_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_thread_set")]
public static extern void switch_unicast_conninfo_thread_set(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_thread_get")]
public static extern IntPtr switch_unicast_conninfo_thread_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_unicast_conninfo")]
public static extern IntPtr new_switch_unicast_conninfo();
@ -17054,6 +17162,12 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_record_session_mask")]
public static extern int switch_ivr_record_session_mask(HandleRef jarg1, string jarg2, int jarg3);
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_stop_video_write_overlay_session")]
public static extern int switch_ivr_stop_video_write_overlay_session(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_video_write_overlay_session")]
public static extern int switch_ivr_video_write_overlay_session(HandleRef jarg1, string jarg2, HandleRef jarg3, byte jarg4);
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_RTP_MAX_BUF_LEN_get")]
public static extern int SWITCH_RTP_MAX_BUF_LEN_get();
@ -17229,10 +17343,10 @@ class freeswitchPINVOKE {
public static extern IntPtr ice_t_cands_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_ice_t_cand_idx_set")]
public static extern void ice_t_cand_idx_set(HandleRef jarg1, int jarg2);
public static extern void ice_t_cand_idx_set(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_ice_t_cand_idx_get")]
public static extern int ice_t_cand_idx_get(HandleRef jarg1);
public static extern IntPtr ice_t_cand_idx_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_ice_t_chosen_set")]
public static extern void ice_t_chosen_set(HandleRef jarg1, HandleRef jarg2);
@ -17240,6 +17354,12 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_ice_t_chosen_get")]
public static extern IntPtr ice_t_chosen_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_ice_t_is_chosen_set")]
public static extern void ice_t_is_chosen_set(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_ice_t_is_chosen_get")]
public static extern IntPtr ice_t_is_chosen_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_ice_t_ufrag_set")]
public static extern void ice_t_ufrag_set(HandleRef jarg1, string jarg2);
@ -17357,6 +17477,9 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_video_buffer_size")]
public static extern int switch_rtp_set_video_buffer_size(HandleRef jarg1, uint jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_video_buffer_size")]
public static extern uint switch_rtp_get_video_buffer_size(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_activate_jitter_buffer")]
public static extern int switch_rtp_activate_jitter_buffer(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, uint jarg5, uint jarg6);
@ -17492,6 +17615,12 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_has_dtls")]
public static extern int switch_rtp_has_dtls();
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_req_bitrate")]
public static extern int switch_rtp_req_bitrate(HandleRef jarg1, uint jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_ack_bitrate")]
public static extern int switch_rtp_ack_bitrate(HandleRef jarg1, uint jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_video_refresh")]
public static extern void switch_rtp_video_refresh(HandleRef jarg1);
@ -19046,12 +19175,13 @@ public class ice_t : IDisposable {
}
}
public int cand_idx {
public SWIGTYPE_p_int cand_idx {
set {
freeswitchPINVOKE.ice_t_cand_idx_set(swigCPtr, value);
freeswitchPINVOKE.ice_t_cand_idx_set(swigCPtr, SWIGTYPE_p_int.getCPtr(value));
}
get {
int ret = freeswitchPINVOKE.ice_t_cand_idx_get(swigCPtr);
IntPtr cPtr = freeswitchPINVOKE.ice_t_cand_idx_get(swigCPtr);
SWIGTYPE_p_int ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_int(cPtr, false);
return ret;
}
}
@ -19067,6 +19197,17 @@ public class ice_t : IDisposable {
}
}
public SWIGTYPE_p_int is_chosen {
set {
freeswitchPINVOKE.ice_t_is_chosen_set(swigCPtr, SWIGTYPE_p_int.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.ice_t_is_chosen_get(swigCPtr);
SWIGTYPE_p_int ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_int(cPtr, false);
return ret;
}
}
public string ufrag {
set {
freeswitchPINVOKE.ice_t_ufrag_set(swigCPtr, value);
@ -25054,6 +25195,36 @@ namespace FreeSWITCH.Native {
using System;
using System.Runtime.InteropServices;
public class SWIGTYPE_p_switch_img_position_t {
private HandleRef swigCPtr;
internal SWIGTYPE_p_switch_img_position_t(IntPtr cPtr, bool futureUse) {
swigCPtr = new HandleRef(this, cPtr);
}
protected SWIGTYPE_p_switch_img_position_t() {
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
internal static HandleRef getCPtr(SWIGTYPE_p_switch_img_position_t obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace FreeSWITCH.Native {
using System;
using System.Runtime.InteropServices;
public class SWIGTYPE_p_switch_interval_time_t {
private HandleRef swigCPtr;
@ -25834,6 +26005,36 @@ namespace FreeSWITCH.Native {
using System;
using System.Runtime.InteropServices;
public class SWIGTYPE_p_switch_thread_t {
private HandleRef swigCPtr;
internal SWIGTYPE_p_switch_thread_t(IntPtr cPtr, bool futureUse) {
swigCPtr = new HandleRef(this, cPtr);
}
protected SWIGTYPE_p_switch_thread_t() {
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
internal static HandleRef getCPtr(SWIGTYPE_p_switch_thread_t obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace FreeSWITCH.Native {
using System;
using System.Runtime.InteropServices;
public class SWIGTYPE_p_switch_time_exp_t {
private HandleRef swigCPtr;
@ -26112,6 +26313,7 @@ public enum switch_abc_type_t {
SWITCH_ABC_TYPE_TAP_NATIVE_WRITE,
SWITCH_ABC_TYPE_CLOSE,
SWITCH_ABC_TYPE_READ_VIDEO_PING,
SWITCH_ABC_TYPE_WRITE_VIDEO_PING,
SWITCH_ABC_TYPE_STREAM_VIDEO_PING,
SWITCH_ABC_TYPE_VIDEO_PATCH
}
@ -28914,7 +29116,8 @@ public enum switch_channel_flag_t {
CF_SLA_INTERCEPT,
CF_VIDEO_BREAK,
CF_AUDIO_PAUSE,
CF_VIDEO_PAUSE,
CF_VIDEO_PAUSE_READ,
CF_VIDEO_PAUSE_WRITE,
CF_BYPASS_MEDIA_AFTER_HOLD,
CF_HANGUP_HELD,
CF_CONFERENCE_RESET_MEDIA,
@ -28924,6 +29127,8 @@ public enum switch_channel_flag_t {
CF_VIDEO_ONLY,
CF_VIDEO_READY,
CF_VIDEO_MIRROR_INPUT,
CF_VIDEO_READ_FILE_ATTACHED,
CF_VIDEO_WRITE_FILE_ATTACHED,
CF_FLAG_MAX
}
@ -29464,7 +29669,8 @@ namespace FreeSWITCH.Native {
public enum switch_codec_control_command_t {
SCC_VIDEO_REFRESH = 0,
SCC_VIDEO_BANDWIDTH,
SCC_VIDEO_RESET
SCC_VIDEO_RESET,
SCC_AUDIO_PACKET_LOSS
}
}
@ -29681,7 +29887,8 @@ namespace FreeSWITCH.Native {
SWITCH_CODEC_FLAG_FREE_POOL = (1 << 5),
SWITCH_CODEC_FLAG_AAL2 = (1 << 6),
SWITCH_CODEC_FLAG_PASSTHROUGH = (1 << 7),
SWITCH_CODEC_FLAG_READY = (1 << 8)
SWITCH_CODEC_FLAG_READY = (1 << 8),
SWITCH_CODEC_FLAG_HAS_PLC = (1 << 15)
}
}
@ -30976,6 +31183,7 @@ public enum switch_core_session_message_types_t {
SWITCH_MESSAGE_INDICATE_DISPLAY,
SWITCH_MESSAGE_INDICATE_TRANSCODING_NECESSARY,
SWITCH_MESSAGE_INDICATE_AUDIO_SYNC,
SWITCH_MESSAGE_INDICATE_VIDEO_SYNC,
SWITCH_MESSAGE_INDICATE_REQUEST_IMAGE_MEDIA,
SWITCH_MESSAGE_INDICATE_UUID_CHANGE,
SWITCH_MESSAGE_INDICATE_SIMPLIFY,
@ -30998,6 +31206,8 @@ public enum switch_core_session_message_types_t {
SWITCH_MESSAGE_INDICATE_MEDIA_RENEG,
SWITCH_MESSAGE_INDICATE_KEEPALIVE,
SWITCH_MESSAGE_INDICATE_HARD_MUTE,
SWITCH_MESSAGE_INDICATE_BITRATE_REQ,
SWITCH_MESSAGE_INDICATE_BITRATE_ACK,
SWITCH_MESSAGE_REFER_EVENT,
SWITCH_MESSAGE_ANSWER_EVENT,
SWITCH_MESSAGE_PROGRESS_EVENT,
@ -37482,9 +37692,12 @@ namespace FreeSWITCH.Native {
SMBF_ONE_ONLY = (1 << 15),
SMBF_MASK = (1 << 16),
SMBF_READ_VIDEO_PING = (1 << 17),
SMBF_READ_VIDEO_STREAM = (1 << 18),
SMBF_WRITE_VIDEO_STREAM = (1 << 19),
SMBF_VIDEO_PATCH = (1 << 20)
SMBF_WRITE_VIDEO_PING = (1 << 18),
SMBF_READ_VIDEO_STREAM = (1 << 19),
SMBF_WRITE_VIDEO_STREAM = (1 << 20),
SMBF_VIDEO_PATCH = (1 << 21),
SMBF_SPY_VIDEO_STREAM = (1 << 22),
SMBF_SPY_VIDEO_STREAM_BLEG = (1 << 23)
}
}
@ -38199,6 +38412,16 @@ public class switch_rtcp_numbers_t : IDisposable {
}
}
public ushort sent_pkt_count {
set {
freeswitchPINVOKE.switch_rtcp_numbers_t_sent_pkt_count_set(swigCPtr, value);
}
get {
ushort ret = freeswitchPINVOKE.switch_rtcp_numbers_t_sent_pkt_count_get(swigCPtr);
return ret;
}
}
public uint rtcp_rtp_count {
set {
freeswitchPINVOKE.switch_rtcp_numbers_t_rtcp_rtp_count_set(swigCPtr, value);
@ -38600,6 +38823,7 @@ public enum switch_rtp_flag_t {
SWITCH_RTP_FLAG_RESET,
SWITCH_RTP_FLAG_MUTE,
SWITCH_RTP_FLAG_NACK,
SWITCH_RTP_FLAG_TMMBR,
SWITCH_RTP_FLAG_INVALID
}
@ -42108,6 +42332,17 @@ public class switch_unicast_conninfo : IDisposable {
}
}
public SWIGTYPE_p_switch_thread_t thread {
set {
freeswitchPINVOKE.switch_unicast_conninfo_thread_set(swigCPtr, SWIGTYPE_p_switch_thread_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_thread_get(swigCPtr);
SWIGTYPE_p_switch_thread_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_t(cPtr, false);
return ret;
}
}
public switch_unicast_conninfo() : this(freeswitchPINVOKE.new_switch_unicast_conninfo(), true) {
}
@ -42341,6 +42576,23 @@ public class switch_vid_params_t : IDisposable {
namespace FreeSWITCH.Native {
public enum switch_vid_spy_fmt_t {
SPY_LOWER_RIGHT_SMALL,
SPY_LOWER_RIGHT_LARGE,
SPY_DUAL_CROP
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.12
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace FreeSWITCH.Native {
using System;
using System.Runtime.InteropServices;

View File

@ -1,15 +1,16 @@
# 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.
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
package freeswitch;
require Exporter;
@ISA = qw(Exporter);
use base qw(Exporter);
package freeswitchc;
package freeswitchc;
boot_freeswitch();
package freeswitch;
@EXPORT = qw( );
@EXPORT = qw();
# ---------- BASE METHODS -------------

File diff suppressed because it is too large Load Diff

View File

@ -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.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff