}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_callback_match_count_set(void * jarg1, int jarg2) {
+ switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ;
+ int arg2 ;
+
+ arg1 = (switch_console_callback_match *)jarg1;
+ arg2 = (int)jarg2;
+ if (arg1) (arg1)->count = arg2;
+
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_callback_match_count_get(void * jarg1) {
+ int jresult ;
+ switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ;
+ int result;
+
+ arg1 = (switch_console_callback_match *)jarg1;
+ result = (int) ((arg1)->count);
+ jresult = result;
+ return jresult;
+}
+
+
SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_callback_match_dynamic_set(void * jarg1, int jarg2) {
switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ;
int arg2 ;
}
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_media_bug_set_flag(void * jarg1, unsigned long jarg2) {
+ unsigned long jresult ;
+ switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ;
+ uint32_t arg2 ;
+ uint32_t result;
+
+ arg1 = (switch_media_bug_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ result = (uint32_t)switch_core_media_bug_set_flag(arg1,arg2);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_media_bug_clear_flag(void * jarg1, unsigned long jarg2) {
+ unsigned long jresult ;
+ switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ;
+ uint32_t arg2 ;
+ uint32_t result;
+
+ arg1 = (switch_media_bug_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ result = (uint32_t)switch_core_media_bug_clear_flag(arg1,arg2);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_set_read_replace_frame(void * jarg1, void * jarg2) {
switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ;
switch_frame_t *arg2 = (switch_frame_t *) 0 ;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_test_reactive(void * jarg1, char * jarg2, char * jarg3, char * jarg4) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_test_reactive(void * jarg1, char * jarg2, char * jarg3, char * jarg4) {
+ int jresult ;
switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
char *arg4 = (char *) 0 ;
+ switch_bool_t result;
arg1 = (switch_cache_db_handle_t *)jarg1;
arg2 = (char *)jarg2;
arg3 = (char *)jarg3;
arg4 = (char *)jarg4;
- switch_cache_db_test_reactive(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
+ result = (switch_bool_t)switch_cache_db_test_reactive(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
+ jresult = result;
+ return jresult;
}
}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_flush_handles() {
+ switch_cache_db_flush_handles();
+}
+
+
SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CMD_CHUNK_LEN_get() {
int jresult ;
int result;
}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_sort_matches(void * jarg1) {
+ switch_console_callback_match_t *arg1 = (switch_console_callback_match_t *) 0 ;
+
+ arg1 = (switch_console_callback_match_t *)jarg1;
+ switch_console_sort_matches(arg1);
+}
+
+
SWIGEXPORT int SWIGSTDCALL CSharp_switch_toupper(int jarg1) {
int jresult ;
int arg1 ;
}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_next_set(void * jarg1, void * jarg2) {
+ switch_codec *arg1 = (switch_codec *) 0 ;
+ switch_codec *arg2 = (switch_codec *) 0 ;
+
+ arg1 = (switch_codec *)jarg1;
+ arg2 = (switch_codec *)jarg2;
+ if (arg1) (arg1)->next = arg2;
+
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_next_get(void * jarg1) {
+ void * jresult ;
+ switch_codec *arg1 = (switch_codec *) 0 ;
+ switch_codec *result = 0 ;
+
+ arg1 = (switch_codec *)jarg1;
+ result = (switch_codec *) ((arg1)->next);
+ jresult = (void *)result;
+ return jresult;
+}
+
+
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_codec() {
void * jresult ;
switch_codec *result = 0 ;
}
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_session_audio(void * jarg1, char * jarg2, char * jarg3, int jarg4) {
+ int jresult ;
+ switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
+ char *arg2 = (char *) 0 ;
+ char *arg3 = (char *) 0 ;
+ int arg4 ;
+ switch_status_t result;
+
+ arg1 = (switch_core_session_t *)jarg1;
+ arg2 = (char *)jarg2;
+ arg3 = (char *)jarg3;
+ arg4 = (int)jarg4;
+ result = (switch_status_t)switch_ivr_session_audio(arg1,(char const *)arg2,(char const *)arg3,arg4);
+ jresult = result;
+ return jresult;
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_stop_session_audio(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_session_audio(arg1);
+ jresult = result;
+ return jresult;
+}
+
+
SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_inband_dtmf_session(void * jarg1) {
int jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
return ret;
}
+ public static uint switch_core_media_bug_set_flag(SWIGTYPE_p_switch_media_bug bug, uint flag) {
+ uint ret = freeswitchPINVOKE.switch_core_media_bug_set_flag(SWIGTYPE_p_switch_media_bug.getCPtr(bug), flag);
+ return ret;
+ }
+
+ public static uint switch_core_media_bug_clear_flag(SWIGTYPE_p_switch_media_bug bug, uint flag) {
+ uint ret = freeswitchPINVOKE.switch_core_media_bug_clear_flag(SWIGTYPE_p_switch_media_bug.getCPtr(bug), flag);
+ return ret;
+ }
+
public static void switch_core_media_bug_set_read_replace_frame(SWIGTYPE_p_switch_media_bug bug, switch_frame frame) {
freeswitchPINVOKE.switch_core_media_bug_set_read_replace_frame(SWIGTYPE_p_switch_media_bug.getCPtr(bug), switch_frame.getCPtr(frame));
}
return ret;
}
- public static void switch_cache_db_test_reactive(switch_cache_db_handle_t db, string test_sql, string drop_sql, string reactive_sql) {
- freeswitchPINVOKE.switch_cache_db_test_reactive(switch_cache_db_handle_t.getCPtr(db), test_sql, drop_sql, reactive_sql);
+ public static switch_bool_t switch_cache_db_test_reactive(switch_cache_db_handle_t db, string test_sql, string drop_sql, string reactive_sql) {
+ switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_cache_db_test_reactive(switch_cache_db_handle_t.getCPtr(db), test_sql, drop_sql, reactive_sql);
+ return ret;
}
public static switch_status_t switch_cache_db_persistant_execute(switch_cache_db_handle_t dbh, string sql, uint retries) {
return ret;
}
+ public static void switch_cache_db_flush_handles() {
+ freeswitchPINVOKE.switch_cache_db_flush_handles();
+ }
+
public static void switch_console_loop() {
freeswitchPINVOKE.switch_console_loop();
}
return ret;
}
+ public static void switch_console_sort_matches(switch_console_callback_match matches) {
+ freeswitchPINVOKE.switch_console_sort_matches(switch_console_callback_match.getCPtr(matches));
+ }
+
public static int switch_toupper(int c) {
int ret = freeswitchPINVOKE.switch_toupper(c);
return ret;
return ret;
}
+ public static switch_status_t switch_ivr_session_audio(SWIGTYPE_p_switch_core_session session, string cmd, string direction, int level) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_session_audio(SWIGTYPE_p_switch_core_session.getCPtr(session), cmd, direction, level);
+ return ret;
+ }
+
+ public static switch_status_t switch_ivr_stop_session_audio(SWIGTYPE_p_switch_core_session session) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_stop_session_audio(SWIGTYPE_p_switch_core_session.getCPtr(session));
+ return ret;
+ }
+
public static switch_status_t switch_ivr_inband_dtmf_session(SWIGTYPE_p_switch_core_session session) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_inband_dtmf_session(SWIGTYPE_p_switch_core_session.getCPtr(session));
return ret;
[DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_end_get")]
public static extern IntPtr switch_console_callback_match_end_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_count_set")]
+ public static extern void switch_console_callback_match_count_set(HandleRef jarg1, int jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_count_get")]
+ public static extern int switch_console_callback_match_count_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_dynamic_set")]
public static extern void switch_console_callback_match_dynamic_set(HandleRef jarg1, int jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_test_flag")]
public static extern uint switch_core_media_bug_test_flag(HandleRef jarg1, uint jarg2);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_set_flag")]
+ public static extern uint switch_core_media_bug_set_flag(HandleRef jarg1, uint jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_clear_flag")]
+ public static extern uint switch_core_media_bug_clear_flag(HandleRef jarg1, uint jarg2);
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_set_read_replace_frame")]
public static extern void switch_core_media_bug_set_read_replace_frame(HandleRef jarg1, HandleRef jarg2);
public static extern int _switch_core_db_handle(HandleRef jarg1, string jarg2, string jarg3, int jarg4);
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_test_reactive")]
- public static extern void switch_cache_db_test_reactive(HandleRef jarg1, string jarg2, string jarg3, string jarg4);
+ public static extern int switch_cache_db_test_reactive(HandleRef jarg1, string jarg2, string jarg3, string jarg4);
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_persistant_execute")]
public static extern int switch_cache_db_persistant_execute(HandleRef jarg1, string jarg2, uint jarg3);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_debug_level")]
public static extern uint switch_core_debug_level();
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_flush_handles")]
+ public static extern void switch_cache_db_flush_handles();
+
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CMD_CHUNK_LEN_get")]
public static extern int SWITCH_CMD_CHUNK_LEN_get();
[DllImport("mod_managed", EntryPoint="CSharp_switch_console_complete")]
public static extern byte switch_console_complete(string jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_console_sort_matches")]
+ public static extern void switch_console_sort_matches(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_toupper")]
public static extern int switch_toupper(int jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_mutex_get")]
public static extern IntPtr switch_codec_mutex_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_next_set")]
+ public static extern void switch_codec_next_set(HandleRef jarg1, HandleRef jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_next_get")]
+ public static extern IntPtr switch_codec_next_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_codec")]
public static extern IntPtr new_switch_codec();
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_stop_record_session")]
public static extern int switch_ivr_stop_record_session(HandleRef jarg1, string jarg2);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_session_audio")]
+ public static extern int switch_ivr_session_audio(HandleRef jarg1, string jarg2, string jarg3, int jarg4);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_stop_session_audio")]
+ public static extern int switch_ivr_stop_session_audio(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_inband_dtmf_session")]
public static extern int switch_ivr_inband_dtmf_session(HandleRef jarg1);
}
}
+ public switch_codec next {
+ set {
+ freeswitchPINVOKE.switch_codec_next_set(swigCPtr, switch_codec.getCPtr(value));
+ }
+ get {
+ IntPtr cPtr = freeswitchPINVOKE.switch_codec_next_get(swigCPtr);
+ switch_codec ret = (cPtr == IntPtr.Zero) ? null : new switch_codec(cPtr, false);
+ return ret;
+ }
+ }
+
public switch_codec() : this(freeswitchPINVOKE.new_switch_codec(), true) {
}
}
}
+ public int count {
+ set {
+ freeswitchPINVOKE.switch_console_callback_match_count_set(swigCPtr, value);
+ }
+ get {
+ int ret = freeswitchPINVOKE.switch_console_callback_match_count_get(swigCPtr);
+ return ret;
+ }
+ }
+
public int dynamic {
set {
freeswitchPINVOKE.switch_console_callback_match_dynamic_set(swigCPtr, value);
SCSC_SHUTDOWN_ASAP,
SCSC_CANCEL_SHUTDOWN,
SCSC_SEND_SIGHUP,
- SCSC_DEBUG_LEVEL
+ SCSC_DEBUG_LEVEL,
+ SCSC_FLUSH_DB_HANDLES
}
}