diff --git a/src/mod/languages/mod_managed/freeswitch_wrap.cxx b/src/mod/languages/mod_managed/freeswitch_wrap.cxx index 0ab8d0e054..7cd78bc0b8 100644 --- a/src/mod/languages/mod_managed/freeswitch_wrap.cxx +++ b/src/mod/languages/mod_managed/freeswitch_wrap.cxx @@ -7801,6 +7801,34 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_free_message(void * jarg1 } +SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_queue_signal_data(void * jarg1, void * jarg2) { + int jresult ; + switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; + void *arg2 = (void *) 0 ; + switch_status_t result; + + arg1 = (switch_core_session_t *)jarg1; + arg2 = (void *)jarg2; + result = (switch_status_t)switch_core_session_queue_signal_data(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_dequeue_signal_data(void * jarg1, void * jarg2) { + int jresult ; + switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; + void **arg2 = (void **) 0 ; + switch_status_t result; + + arg1 = (switch_core_session_t *)jarg1; + arg2 = (void **)jarg2; + result = (switch_status_t)switch_core_session_dequeue_signal_data(arg1,arg2); + jresult = result; + return jresult; +} + + SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_pass_indication(void * jarg1, int jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; @@ -23767,6 +23795,20 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_get_running_state(void * jarg1) } +SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_check_signal(void * jarg1, int jarg2) { + int jresult ; + switch_channel_t *arg1 = (switch_channel_t *) 0 ; + switch_bool_t arg2 ; + int result; + + arg1 = (switch_channel_t *)jarg1; + arg2 = (switch_bool_t)jarg2; + result = (int)switch_channel_check_signal(arg1,arg2); + jresult = result; + return jresult; +} + + SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_test_ready(void * jarg1, int jarg2, int jarg3) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; @@ -23915,6 +23957,18 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_get_cause_q850(void * jarg1) { } +SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_cause_ptr(void * jarg1) { + void * jresult ; + switch_channel_t *arg1 = (switch_channel_t *) 0 ; + switch_call_cause_t *result = 0 ; + + arg1 = (switch_channel_t *)jarg1; + result = (switch_call_cause_t *)switch_channel_get_cause_ptr(arg1); + jresult = (void *)result; + return jresult; +} + + SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_cause2str(int jarg1) { char * jresult ; switch_call_cause_t arg1 ; @@ -27565,6 +27619,18 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_parse_all_messages(void * jarg1) { } +SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_parse_all_signal_data(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_parse_all_signal_data(arg1); + jresult = result; + return jresult; +} + + SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_sleep(void * jarg1, unsigned long jarg2, int jarg3, void * jarg4) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; diff --git a/src/mod/languages/mod_managed/managed/swig.cs b/src/mod/languages/mod_managed/managed/swig.cs index 4c04ca0c4a..ef9cbb0859 100644 --- a/src/mod/languages/mod_managed/managed/swig.cs +++ b/src/mod/languages/mod_managed/managed/swig.cs @@ -1471,6 +1471,16 @@ public class freeswitch { freeswitchPINVOKE.switch_core_session_free_message(SWIGTYPE_p_p_switch_core_session_message.getCPtr(message)); } + public static switch_status_t switch_core_session_queue_signal_data(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_void signal_data) { + switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_queue_signal_data(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_void.getCPtr(signal_data)); + return ret; + } + + public static switch_status_t switch_core_session_dequeue_signal_data(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_void signal_data) { + switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_dequeue_signal_data(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_void.getCPtr(signal_data)); + return ret; + } + public static switch_status_t switch_core_session_pass_indication(SWIGTYPE_p_switch_core_session session, switch_core_session_message_types_t indication) { switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_pass_indication(SWIGTYPE_p_switch_core_session.getCPtr(session), (int)indication); return ret; @@ -3287,6 +3297,11 @@ public class freeswitch { return ret; } + public static int switch_channel_check_signal(SWIGTYPE_p_switch_channel channel, switch_bool_t in_thread_only) { + int ret = freeswitchPINVOKE.switch_channel_check_signal(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)in_thread_only); + return ret; + } + public static int switch_channel_test_ready(SWIGTYPE_p_switch_channel channel, switch_bool_t check_ready, switch_bool_t check_media) { int ret = freeswitchPINVOKE.switch_channel_test_ready(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)check_ready, (int)check_media); return ret; @@ -3335,6 +3350,12 @@ public class freeswitch { return ret; } + public static SWIGTYPE_p_switch_call_cause_t switch_channel_get_cause_ptr(SWIGTYPE_p_switch_channel channel) { + IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_cause_ptr(SWIGTYPE_p_switch_channel.getCPtr(channel)); + SWIGTYPE_p_switch_call_cause_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_call_cause_t(cPtr, false); + return ret; + } + public static string switch_channel_cause2str(switch_call_cause_t cause) { string ret = freeswitchPINVOKE.switch_channel_cause2str((int)cause); return ret; @@ -4203,6 +4224,11 @@ public class freeswitch { return ret; } + public static switch_status_t switch_ivr_parse_all_signal_data(SWIGTYPE_p_switch_core_session session) { + switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_parse_all_signal_data(SWIGTYPE_p_switch_core_session.getCPtr(session)); + return ret; + } + public static switch_status_t switch_ivr_sleep(SWIGTYPE_p_switch_core_session session, uint ms, switch_bool_t sync, switch_input_args_t args) { switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_sleep(SWIGTYPE_p_switch_core_session.getCPtr(session), ms, (int)sync, switch_input_args_t.getCPtr(args)); return ret; @@ -7851,6 +7877,12 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_free_message")] public static extern void switch_core_session_free_message(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_queue_signal_data")] + public static extern int switch_core_session_queue_signal_data(HandleRef jarg1, HandleRef jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_dequeue_signal_data")] + public static extern int switch_core_session_dequeue_signal_data(HandleRef jarg1, HandleRef jarg2); + [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_pass_indication")] public static extern int switch_core_session_pass_indication(HandleRef jarg1, int jarg2); @@ -11658,6 +11690,9 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_running_state")] public static extern int switch_channel_get_running_state(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_check_signal")] + public static extern int switch_channel_check_signal(HandleRef jarg1, int jarg2); + [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_test_ready")] public static extern int switch_channel_test_ready(HandleRef jarg1, int jarg2, int jarg3); @@ -11688,6 +11723,9 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_cause_q850")] public static extern int switch_channel_get_cause_q850(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_cause_ptr")] + public static extern IntPtr switch_channel_get_cause_ptr(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_cause2str")] public static extern string switch_channel_cause2str(int jarg1); @@ -12504,6 +12542,9 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_parse_all_messages")] public static extern int switch_ivr_parse_all_messages(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_parse_all_signal_data")] + public static extern int switch_ivr_parse_all_signal_data(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_sleep")] public static extern int switch_ivr_sleep(HandleRef jarg1, uint jarg2, int jarg3, HandleRef jarg4);