}\r
\r
\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_test_flag(int jarg1) {\r
+ int jresult ;\r
+ int arg1 ;\r
+ int result;\r
+ \r
+ arg1 = (int)jarg1; \r
+ result = (int)switch_core_test_flag(arg1);\r
+ jresult = result; \r
+ return jresult;\r
+}\r
+\r
+\r
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_init(unsigned long jarg1, int jarg2, void * jarg3) {\r
int jresult ;\r
switch_core_flag_t arg1 ;\r
}\r
\r
\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_thread_pool_launch(void * jarg1) {\r
+ int jresult ;\r
+ switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
+ switch_status_t result;\r
+ \r
+ arg1 = (switch_core_session_t *)jarg1; \r
+ result = (switch_status_t)switch_core_session_thread_pool_launch(arg1);\r
+ jresult = result; \r
+ return jresult;\r
+}\r
+\r
+\r
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_channel(void * jarg1) {\r
void * jresult ;\r
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
}\r
\r
\r
-SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_locate(char * jarg1) {\r
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_perform_locate(char * jarg1, char * jarg2, char * jarg3, int jarg4) {\r
void * jresult ;\r
char *arg1 = (char *) 0 ;\r
+ char *arg2 = (char *) 0 ;\r
+ char *arg3 = (char *) 0 ;\r
+ int arg4 ;\r
switch_core_session_t *result = 0 ;\r
\r
arg1 = (char *)jarg1; \r
- result = (switch_core_session_t *)switch_core_session_locate((char const *)arg1);\r
+ arg2 = (char *)jarg2; \r
+ arg3 = (char *)jarg3; \r
+ arg4 = (int)jarg4; \r
+ result = (switch_core_session_t *)switch_core_session_perform_locate((char const *)arg1,(char const *)arg2,(char const *)arg3,arg4);\r
jresult = (void *)result; \r
return jresult;\r
}\r
\r
\r
-SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_force_locate(char * jarg1) {\r
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_perform_force_locate(char * jarg1, char * jarg2, char * jarg3, int jarg4) {\r
void * jresult ;\r
char *arg1 = (char *) 0 ;\r
+ char *arg2 = (char *) 0 ;\r
+ char *arg3 = (char *) 0 ;\r
+ int arg4 ;\r
switch_core_session_t *result = 0 ;\r
\r
arg1 = (char *)jarg1; \r
- result = (switch_core_session_t *)switch_core_session_force_locate((char const *)arg1);\r
+ arg2 = (char *)jarg2; \r
+ arg3 = (char *)jarg3; \r
+ arg4 = (int)jarg4; \r
+ result = (switch_core_session_t *)switch_core_session_perform_force_locate((char const *)arg1,(char const *)arg2,(char const *)arg3,arg4);\r
jresult = (void *)result; \r
return jresult;\r
}\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_partner(void * jarg1, void * jarg2) {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_perform_get_partner(void * jarg1, void * jarg2, char * jarg3, char * jarg4, int jarg5) {\r
int jresult ;\r
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
switch_core_session_t **arg2 = (switch_core_session_t **) 0 ;\r
+ char *arg3 = (char *) 0 ;\r
+ char *arg4 = (char *) 0 ;\r
+ int arg5 ;\r
switch_status_t result;\r
\r
arg1 = (switch_core_session_t *)jarg1; \r
arg2 = (switch_core_session_t **)jarg2; \r
- result = (switch_status_t)switch_core_session_get_partner(arg1,arg2);\r
+ arg3 = (char *)jarg3; \r
+ arg4 = (char *)jarg4; \r
+ arg5 = (int)jarg5; \r
+ result = (switch_status_t)switch_core_session_perform_get_partner(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5);\r
jresult = result; \r
return jresult;\r
}\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_resurrect_channel(char * jarg1, void * jarg2, void * jarg3, void * jarg4) {\r
- int jresult ;\r
- char *arg1 = (char *) 0 ;\r
- switch_core_session_t **arg2 = (switch_core_session_t **) 0 ;\r
- switch_memory_pool_t **arg3 = (switch_memory_pool_t **) 0 ;\r
- void *arg4 = (void *) 0 ;\r
- switch_call_cause_t result;\r
- \r
- arg1 = (char *)jarg1; \r
- arg2 = (switch_core_session_t **)jarg2; \r
- arg3 = (switch_memory_pool_t **)jarg3; \r
- arg4 = (void *)jarg4; \r
- result = (switch_call_cause_t)switch_core_session_resurrect_channel((char const *)arg1,arg2,arg3,arg4);\r
- jresult = result; \r
- return jresult;\r
-}\r
-\r
-\r
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_perform_receive_message(void * jarg1, void * jarg2, char * jarg3, char * jarg4, int jarg5) {\r
int jresult ;\r
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
}\r
\r
\r
+SWIGEXPORT char * SWIGSTDCALL CSharp_switch_lookup_timezone(char * jarg1) {\r
+ char * jresult ;\r
+ char *arg1 = (char *) 0 ;\r
+ char *result = 0 ;\r
+ \r
+ arg1 = (char *)jarg1; \r
+ result = (char *)switch_lookup_timezone((char const *)arg1);\r
+ jresult = SWIG_csharp_string_callback((const char *)result); \r
+ return jresult;\r
+}\r
+\r
+\r
SWIGEXPORT int SWIGSTDCALL CSharp_switch_strftime_tz(char * jarg1, char * jarg2, char * jarg3, unsigned long jarg4, void * jarg5) {\r
int jresult ;\r
char *arg1 = (char *) 0 ;\r
}\r
\r
\r
+SWIGEXPORT int SWIGSTDCALL CSharp__switch_core_recovery_db_handle(void * jarg1, char * jarg2, char * jarg3, int jarg4) {\r
+ int jresult ;\r
+ switch_cache_db_handle_t **arg1 = (switch_cache_db_handle_t **) 0 ;\r
+ char *arg2 = (char *) 0 ;\r
+ char *arg3 = (char *) 0 ;\r
+ int arg4 ;\r
+ switch_status_t result;\r
+ \r
+ arg1 = (switch_cache_db_handle_t **)jarg1; \r
+ arg2 = (char *)jarg2; \r
+ arg3 = (char *)jarg3; \r
+ arg4 = (int)jarg4; \r
+ result = (switch_status_t)_switch_core_recovery_db_handle(arg1,(char const *)arg2,(char const *)arg3,arg4);\r
+ jresult = result; \r
+ return jresult;\r
+}\r
+\r
+\r
SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_test_reactive(void * jarg1, char * jarg2, char * jarg3, char * jarg4) {\r
int jresult ;\r
switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;\r
}\r
\r
\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_recovery_recover(char * jarg1, char * jarg2) {\r
+ int jresult ;\r
+ char *arg1 = (char *) 0 ;\r
+ char *arg2 = (char *) 0 ;\r
+ int result;\r
+ \r
+ arg1 = (char *)jarg1; \r
+ arg2 = (char *)jarg2; \r
+ result = (int)switch_core_recovery_recover((char const *)arg1,(char const *)arg2);\r
+ jresult = result; \r
+ return jresult;\r
+}\r
+\r
+\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_recovery_untrack(void * jarg1, int jarg2) {\r
+ switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
+ switch_bool_t arg2 ;\r
+ \r
+ arg1 = (switch_core_session_t *)jarg1; \r
+ arg2 = (switch_bool_t)jarg2; \r
+ switch_core_recovery_untrack(arg1,arg2);\r
+}\r
+\r
+\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_recovery_track(void * jarg1) {\r
+ switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
+ \r
+ arg1 = (switch_core_session_t *)jarg1; \r
+ switch_core_recovery_track(arg1);\r
+}\r
+\r
+\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_recovery_flush(char * jarg1, char * jarg2) {\r
+ char *arg1 = (char *) 0 ;\r
+ char *arg2 = (char *) 0 ;\r
+ \r
+ arg1 = (char *)jarg1; \r
+ arg2 = (char *)jarg2; \r
+ switch_core_recovery_flush((char const *)arg1,(char const *)arg2);\r
+}\r
+\r
+\r
SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_module_name_set(void * jarg1, char * jarg2) {\r
switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ;\r
char *arg2 = (char *) 0 ;\r
}\r
\r
\r
+SWIGEXPORT char * SWIGSTDCALL CSharp_switch_strerror_r(int jarg1, char * jarg2, void * jarg3) {\r
+ char * jresult ;\r
+ int arg1 ;\r
+ char *arg2 = (char *) 0 ;\r
+ switch_size_t arg3 ;\r
+ switch_size_t *argp3 ;\r
+ char *result = 0 ;\r
+ \r
+ arg1 = (int)jarg1; \r
+ arg2 = (char *)jarg2; \r
+ argp3 = (switch_size_t *)jarg3; \r
+ if (!argp3) {\r
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0);\r
+ return 0;\r
+ }\r
+ arg3 = *argp3; \r
+ result = (char *)switch_strerror_r(arg1,arg2,arg3);\r
+ jresult = SWIG_csharp_string_callback((const char *)result); \r
+ return jresult;\r
+}\r
+\r
+\r
SWIGEXPORT void SWIGSTDCALL CSharp_profile_node_t_var_set(void * jarg1, char * jarg2) {\r
profile_node_t *arg1 = (profile_node_t *) 0 ;\r
char *arg2 = (char *) 0 ;\r
}\r
\r
\r
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_resurrect_session_set(void * jarg1, void * jarg2) {\r
- switch_io_routines *arg1 = (switch_io_routines *) 0 ;\r
- switch_io_resurrect_session_t arg2 = (switch_io_resurrect_session_t) 0 ;\r
- \r
- arg1 = (switch_io_routines *)jarg1; \r
- arg2 = (switch_io_resurrect_session_t)jarg2; \r
- if (arg1) (arg1)->resurrect_session = arg2;\r
-}\r
-\r
-\r
-SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_resurrect_session_get(void * jarg1) {\r
- void * jresult ;\r
- switch_io_routines *arg1 = (switch_io_routines *) 0 ;\r
- switch_io_resurrect_session_t result;\r
- \r
- arg1 = (switch_io_routines *)jarg1; \r
- result = (switch_io_resurrect_session_t) ((arg1)->resurrect_session);\r
- jresult = (void *)result; \r
- return jresult;\r
-}\r
-\r
-\r
SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_padding_set(void * jarg1, void * jarg2) {\r
switch_io_routines *arg1 = (switch_io_routines *) 0 ;\r
void **arg2 ;\r
}\r
\r
\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_recover_callback_set(void * jarg1, void * jarg2) {\r
+ switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ;\r
+ switch_core_recover_callback_t arg2 = (switch_core_recover_callback_t) 0 ;\r
+ \r
+ arg1 = (switch_endpoint_interface *)jarg1; \r
+ arg2 = (switch_core_recover_callback_t)jarg2; \r
+ if (arg1) (arg1)->recover_callback = arg2;\r
+}\r
+\r
+\r
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_endpoint_interface_recover_callback_get(void * jarg1) {\r
+ void * jresult ;\r
+ switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ;\r
+ switch_core_recover_callback_t result;\r
+ \r
+ arg1 = (switch_endpoint_interface *)jarg1; \r
+ result = (switch_core_recover_callback_t) ((arg1)->recover_callback);\r
+ jresult = (void *)result; \r
+ return jresult;\r
+}\r
+\r
+\r
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_endpoint_interface() {\r
void * jresult ;\r
switch_endpoint_interface *result = 0 ;\r
}\r
\r
\r
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_resurrect_session_resurrect_session_set(void * jarg1, void * jarg2) {\r
- switch_io_event_hook_resurrect_session *arg1 = (switch_io_event_hook_resurrect_session *) 0 ;\r
- switch_resurrect_session_hook_t arg2 = (switch_resurrect_session_hook_t) 0 ;\r
- \r
- arg1 = (switch_io_event_hook_resurrect_session *)jarg1; \r
- arg2 = (switch_resurrect_session_hook_t)jarg2; \r
- if (arg1) (arg1)->resurrect_session = arg2;\r
-}\r
-\r
-\r
-SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_resurrect_session_resurrect_session_get(void * jarg1) {\r
- void * jresult ;\r
- switch_io_event_hook_resurrect_session *arg1 = (switch_io_event_hook_resurrect_session *) 0 ;\r
- switch_resurrect_session_hook_t result;\r
- \r
- arg1 = (switch_io_event_hook_resurrect_session *)jarg1; \r
- result = (switch_resurrect_session_hook_t) ((arg1)->resurrect_session);\r
- jresult = (void *)result; \r
- return jresult;\r
-}\r
-\r
-\r
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_resurrect_session_next_set(void * jarg1, void * jarg2) {\r
- switch_io_event_hook_resurrect_session *arg1 = (switch_io_event_hook_resurrect_session *) 0 ;\r
- switch_io_event_hook_resurrect_session *arg2 = (switch_io_event_hook_resurrect_session *) 0 ;\r
- \r
- arg1 = (switch_io_event_hook_resurrect_session *)jarg1; \r
- arg2 = (switch_io_event_hook_resurrect_session *)jarg2; \r
- if (arg1) (arg1)->next = arg2;\r
-}\r
-\r
-\r
-SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_resurrect_session_next_get(void * jarg1) {\r
- void * jresult ;\r
- switch_io_event_hook_resurrect_session *arg1 = (switch_io_event_hook_resurrect_session *) 0 ;\r
- switch_io_event_hook_resurrect_session *result = 0 ;\r
- \r
- arg1 = (switch_io_event_hook_resurrect_session *)jarg1; \r
- result = (switch_io_event_hook_resurrect_session *) ((arg1)->next);\r
- jresult = (void *)result; \r
- return jresult;\r
-}\r
-\r
-\r
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_resurrect_session() {\r
- void * jresult ;\r
- switch_io_event_hook_resurrect_session *result = 0 ;\r
- \r
- result = (switch_io_event_hook_resurrect_session *)new switch_io_event_hook_resurrect_session();\r
- jresult = (void *)result; \r
- return jresult;\r
-}\r
-\r
-\r
-SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_resurrect_session(void * jarg1) {\r
- switch_io_event_hook_resurrect_session *arg1 = (switch_io_event_hook_resurrect_session *) 0 ;\r
- \r
- arg1 = (switch_io_event_hook_resurrect_session *)jarg1; \r
- delete arg1;\r
-}\r
-\r
-\r
SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_outgoing_channel_set(void * jarg1, void * jarg2) {\r
switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ;\r
switch_io_event_hook_outgoing_channel_t *arg2 = (switch_io_event_hook_outgoing_channel_t *) 0 ;\r
}\r
\r
\r
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_resurrect_session_set(void * jarg1, void * jarg2) {\r
- switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ;\r
- switch_io_event_hook_resurrect_session_t *arg2 = (switch_io_event_hook_resurrect_session_t *) 0 ;\r
- \r
- arg1 = (switch_io_event_hooks *)jarg1; \r
- arg2 = (switch_io_event_hook_resurrect_session_t *)jarg2; \r
- if (arg1) (arg1)->resurrect_session = arg2;\r
-}\r
-\r
-\r
-SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_resurrect_session_get(void * jarg1) {\r
- void * jresult ;\r
- switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ;\r
- switch_io_event_hook_resurrect_session_t *result = 0 ;\r
- \r
- arg1 = (switch_io_event_hooks *)jarg1; \r
- result = (switch_io_event_hook_resurrect_session_t *) ((arg1)->resurrect_session);\r
- jresult = (void *)result; \r
- return jresult;\r
-}\r
-\r
-\r
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hooks() {\r
void * jresult ;\r
switch_io_event_hooks *result = 0 ;\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_resurrect_session(void * jarg1, void * jarg2) {\r
- int jresult ;\r
- switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
- switch_resurrect_session_hook_t arg2 = (switch_resurrect_session_hook_t) 0 ;\r
- switch_status_t result;\r
- \r
- arg1 = (switch_core_session_t *)jarg1; \r
- arg2 = (switch_resurrect_session_hook_t)jarg2; \r
- result = (switch_status_t)switch_core_event_hook_add_resurrect_session(arg1,arg2);\r
- jresult = result; \r
- return jresult;\r
-}\r
-\r
-\r
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_outgoing_channel(void * jarg1, void * jarg2) {\r
int jresult ;\r
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_resurrect_session(void * jarg1, void * jarg2) {\r
- int jresult ;\r
- switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
- switch_resurrect_session_hook_t arg2 = (switch_resurrect_session_hook_t) 0 ;\r
- switch_status_t result;\r
- \r
- arg1 = (switch_core_session_t *)jarg1; \r
- arg2 = (switch_resurrect_session_hook_t)jarg2; \r
- result = (switch_status_t)switch_core_event_hook_remove_resurrect_session(arg1,arg2);\r
- jresult = result; \r
- return jresult;\r
-}\r
-\r
-\r
SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_created_set(void * jarg1, long long jarg2) {\r
switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ;\r
int64_t arg2 ;\r
freeswitchPINVOKE.switch_core_port_allocator_destroy(SWIGTYPE_p_p_switch_core_port_allocator.getCPtr(alloc));\r
}\r
\r
+ public static int switch_core_test_flag(int flag) {\r
+ int ret = freeswitchPINVOKE.switch_core_test_flag(flag);\r
+ return ret;\r
+ }\r
+\r
public static switch_status_t switch_core_init(uint flags, switch_bool_t console, ref string err) {\r
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_init(flags, (int)console, ref err);\r
return ret;\r
return ret;\r
}\r
\r
+ public static switch_status_t switch_core_session_thread_pool_launch(SWIGTYPE_p_switch_core_session session) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_thread_pool_launch(SWIGTYPE_p_switch_core_session.getCPtr(session));\r
+ return ret;\r
+ }\r
+\r
public static SWIGTYPE_p_switch_channel switch_core_session_get_channel(SWIGTYPE_p_switch_core_session session) {\r
IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_channel(SWIGTYPE_p_switch_core_session.getCPtr(session));\r
SWIGTYPE_p_switch_channel ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_channel(cPtr, false);\r
return ret;\r
}\r
\r
- public static SWIGTYPE_p_switch_core_session switch_core_session_locate(string uuid_str) {\r
- IntPtr cPtr = freeswitchPINVOKE.switch_core_session_locate(uuid_str);\r
+ public static SWIGTYPE_p_switch_core_session switch_core_session_perform_locate(string uuid_str, string file, string func, int line) {\r
+ IntPtr cPtr = freeswitchPINVOKE.switch_core_session_perform_locate(uuid_str, file, func, line);\r
SWIGTYPE_p_switch_core_session ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false);\r
return ret;\r
}\r
\r
- public static SWIGTYPE_p_switch_core_session switch_core_session_force_locate(string uuid_str) {\r
- IntPtr cPtr = freeswitchPINVOKE.switch_core_session_force_locate(uuid_str);\r
+ public static SWIGTYPE_p_switch_core_session switch_core_session_perform_force_locate(string uuid_str, string file, string func, int line) {\r
+ IntPtr cPtr = freeswitchPINVOKE.switch_core_session_perform_force_locate(uuid_str, file, func, line);\r
SWIGTYPE_p_switch_core_session ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false);\r
return ret;\r
}\r
freeswitchPINVOKE.switch_core_session_hupall_endpoint(switch_endpoint_interface.getCPtr(endpoint_interface), (int)cause);\r
}\r
\r
- public static switch_status_t switch_core_session_get_partner(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_core_session partner) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_get_partner(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_core_session.getCPtr(partner));\r
+ public static switch_status_t switch_core_session_perform_get_partner(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_core_session partner, string file, string func, int line) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_perform_get_partner(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_core_session.getCPtr(partner), file, func, line);\r
return ret;\r
}\r
\r
return ret;\r
}\r
\r
- public static switch_call_cause_t switch_core_session_resurrect_channel(string endpoint_name, SWIGTYPE_p_p_switch_core_session new_session, SWIGTYPE_p_p_apr_pool_t pool, SWIGTYPE_p_void data) {\r
- switch_call_cause_t ret = (switch_call_cause_t)freeswitchPINVOKE.switch_core_session_resurrect_channel(endpoint_name, SWIGTYPE_p_p_switch_core_session.getCPtr(new_session), SWIGTYPE_p_p_apr_pool_t.getCPtr(pool), SWIGTYPE_p_void.getCPtr(data));\r
- return ret;\r
- }\r
-\r
public static switch_status_t switch_core_session_perform_receive_message(SWIGTYPE_p_switch_core_session session, switch_core_session_message message, string file, string func, int line) {\r
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_perform_receive_message(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_core_session_message.getCPtr(message), file, func, line);\r
return ret;\r
return ret;\r
}\r
\r
+ public static string switch_lookup_timezone(string tz_name) {\r
+ string ret = freeswitchPINVOKE.switch_lookup_timezone(tz_name);\r
+ return ret;\r
+ }\r
+\r
public static switch_status_t switch_strftime_tz(string tz, string format, string date, uint len, SWIGTYPE_p_switch_time_t thetime) {\r
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_strftime_tz(tz, format, date, len, SWIGTYPE_p_switch_time_t.getCPtr(thetime));\r
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();\r
return ret;\r
}\r
\r
+ public static switch_status_t _switch_core_recovery_db_handle(SWIGTYPE_p_p_switch_cache_db_handle dbh, string file, string func, int line) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE._switch_core_recovery_db_handle(SWIGTYPE_p_p_switch_cache_db_handle.getCPtr(dbh), file, func, line);\r
+ return ret;\r
+ }\r
+\r
public static switch_bool_t switch_cache_db_test_reactive(SWIGTYPE_p_switch_cache_db_handle db, string test_sql, string drop_sql, string reactive_sql) {\r
switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_cache_db_test_reactive(SWIGTYPE_p_switch_cache_db_handle.getCPtr(db), test_sql, drop_sql, reactive_sql);\r
return ret;\r
return ret;\r
}\r
\r
+ public static int switch_core_recovery_recover(string technology, string profile_name) {\r
+ int ret = freeswitchPINVOKE.switch_core_recovery_recover(technology, profile_name);\r
+ return ret;\r
+ }\r
+\r
+ public static void switch_core_recovery_untrack(SWIGTYPE_p_switch_core_session session, switch_bool_t force) {\r
+ freeswitchPINVOKE.switch_core_recovery_untrack(SWIGTYPE_p_switch_core_session.getCPtr(session), (int)force);\r
+ }\r
+\r
+ public static void switch_core_recovery_track(SWIGTYPE_p_switch_core_session session) {\r
+ freeswitchPINVOKE.switch_core_recovery_track(SWIGTYPE_p_switch_core_session.getCPtr(session));\r
+ }\r
+\r
+ public static void switch_core_recovery_flush(string technology, string profile_name) {\r
+ freeswitchPINVOKE.switch_core_recovery_flush(technology, profile_name);\r
+ }\r
+\r
public static switch_status_t switch_loadable_module_init(switch_bool_t autoload) {\r
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_loadable_module_init((int)autoload);\r
return ret;\r
return ret;\r
}\r
\r
+ public static string switch_strerror_r(int errnum, string buf, SWIGTYPE_p_switch_size_t buflen) {\r
+ string ret = freeswitchPINVOKE.switch_strerror_r(errnum, buf, SWIGTYPE_p_switch_size_t.getCPtr(buflen));\r
+ if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ }\r
+\r
public static switch_caller_extension switch_caller_extension_new(SWIGTYPE_p_switch_core_session session, string extension_name, string extension_number) {\r
IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_new(SWIGTYPE_p_switch_core_session.getCPtr(session), extension_name, extension_number);\r
switch_caller_extension ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_extension(cPtr, false);\r
return ret;\r
}\r
\r
- public static switch_status_t switch_core_event_hook_add_resurrect_session(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_p_switch_core_session_p_p_apr_pool_t_p_void__switch_call_cause_t resurrect_session) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_resurrect_session(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_p_switch_core_session_p_p_apr_pool_t_p_void__switch_call_cause_t.getCPtr(resurrect_session));\r
- return ret;\r
- }\r
-\r
public static switch_status_t switch_core_event_hook_remove_outgoing_channel(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t outgoing_channel) {\r
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_outgoing_channel(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t.getCPtr(outgoing_channel));\r
return ret;\r
return ret;\r
}\r
\r
- public static switch_status_t switch_core_event_hook_remove_resurrect_session(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_p_switch_core_session_p_p_apr_pool_t_p_void__switch_call_cause_t resurrect_session) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_resurrect_session(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_p_switch_core_session_p_p_apr_pool_t_p_void__switch_call_cause_t.getCPtr(resurrect_session));\r
- return ret;\r
- }\r
-\r
public static uint switch_scheduler_add_task(SWIGTYPE_p_time_t task_runtime, SWIGTYPE_p_f_p_switch_scheduler_task__void func, string desc, string group, uint cmd_id, SWIGTYPE_p_void cmd_arg, uint flags) {\r
uint ret = freeswitchPINVOKE.switch_scheduler_add_task(SWIGTYPE_p_time_t.getCPtr(task_runtime), SWIGTYPE_p_f_p_switch_scheduler_task__void.getCPtr(func), desc, group, cmd_id, SWIGTYPE_p_void.getCPtr(cmd_arg), flags);\r
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_port_allocator_destroy")]\r
public static extern void switch_core_port_allocator_destroy(HandleRef jarg1);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_core_test_flag")]\r
+ public static extern int switch_core_test_flag(int jarg1);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_init")]\r
public static extern int switch_core_init(uint jarg1, int jarg2, ref string jarg3);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_thread_launch")]\r
public static extern int switch_core_session_thread_launch(HandleRef jarg1);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_thread_pool_launch")]\r
+ public static extern int switch_core_session_thread_pool_launch(HandleRef jarg1);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_channel")]\r
public static extern IntPtr switch_core_session_get_channel(HandleRef jarg1);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_uuid")]\r
public static extern string switch_core_get_uuid();\r
\r
- [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_locate")]\r
- public static extern IntPtr switch_core_session_locate(string jarg1);\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_perform_locate")]\r
+ public static extern IntPtr switch_core_session_perform_locate(string jarg1, string jarg2, string jarg3, int jarg4);\r
\r
- [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_force_locate")]\r
- public static extern IntPtr switch_core_session_force_locate(string jarg1);\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_perform_force_locate")]\r
+ public static extern IntPtr switch_core_session_perform_force_locate(string jarg1, string jarg2, string jarg3, int jarg4);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_variable")]\r
public static extern string switch_core_get_variable(string jarg1);\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_hupall_endpoint")]\r
public static extern void switch_core_session_hupall_endpoint(HandleRef jarg1, int jarg2);\r
\r
- [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_partner")]\r
- public static extern int switch_core_session_get_partner(HandleRef jarg1, HandleRef jarg2);\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_perform_get_partner")]\r
+ public static extern int switch_core_session_perform_get_partner(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, int jarg5);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_send")]\r
public static extern int switch_core_session_message_send(string jarg1, HandleRef jarg2);\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_outgoing_channel")]\r
public static extern int switch_core_session_outgoing_channel(HandleRef jarg1, HandleRef jarg2, string jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6, uint jarg7, HandleRef jarg8);\r
\r
- [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_resurrect_channel")]\r
- public static extern int switch_core_session_resurrect_channel(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4);\r
-\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_perform_receive_message")]\r
public static extern int switch_core_session_perform_receive_message(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, int jarg5);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_epoch_time_now")]\r
public static extern IntPtr switch_epoch_time_now(HandleRef jarg1);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_lookup_timezone")]\r
+ public static extern string switch_lookup_timezone(string jarg1);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_strftime_tz")]\r
public static extern int switch_strftime_tz(string jarg1, string jarg2, string jarg3, uint jarg4, HandleRef jarg5);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp__switch_core_db_handle")]\r
public static extern int _switch_core_db_handle(HandleRef jarg1, string jarg2, string jarg3, int jarg4);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp__switch_core_recovery_db_handle")]\r
+ public static extern int _switch_core_recovery_db_handle(HandleRef jarg1, string jarg2, string jarg3, int jarg4);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_test_reactive")]\r
public static extern int switch_cache_db_test_reactive(HandleRef jarg1, string jarg2, string jarg3, string jarg4);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_stacksizes")]\r
public static extern int switch_core_get_stacksizes(HandleRef jarg1, HandleRef jarg2);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_core_recovery_recover")]\r
+ public static extern int switch_core_recovery_recover(string jarg1, string jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_core_recovery_untrack")]\r
+ public static extern void switch_core_recovery_untrack(HandleRef jarg1, int jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_core_recovery_track")]\r
+ public static extern void switch_core_recovery_track(HandleRef jarg1);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_core_recovery_flush")]\r
+ public static extern void switch_core_recovery_flush(string jarg1, string jarg2);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_module_name_set")]\r
public static extern void switch_loadable_module_interface_module_name_set(HandleRef jarg1, string jarg2);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_atoul")]\r
public static extern uint switch_atoul(string jarg1);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_strerror_r")]\r
+ public static extern string switch_strerror_r(int jarg1, string jarg2, HandleRef jarg3);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_profile_node_t_var_set")]\r
public static extern void profile_node_t_var_set(HandleRef jarg1, string jarg2);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_state_run_get")]\r
public static extern IntPtr switch_io_routines_state_run_get(HandleRef jarg1);\r
\r
- [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_resurrect_session_set")]\r
- public static extern void switch_io_routines_resurrect_session_set(HandleRef jarg1, HandleRef jarg2);\r
-\r
- [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_resurrect_session_get")]\r
- public static extern IntPtr switch_io_routines_resurrect_session_get(HandleRef jarg1);\r
-\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_padding_set")]\r
public static extern void switch_io_routines_padding_set(HandleRef jarg1, HandleRef jarg2);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_next_get")]\r
public static extern IntPtr switch_endpoint_interface_next_get(HandleRef jarg1);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_recover_callback_set")]\r
+ public static extern void switch_endpoint_interface_recover_callback_set(HandleRef jarg1, HandleRef jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_recover_callback_get")]\r
+ public static extern IntPtr switch_endpoint_interface_recover_callback_get(HandleRef jarg1);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_endpoint_interface")]\r
public static extern IntPtr new_switch_endpoint_interface();\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_state_run")]\r
public static extern void delete_switch_io_event_hook_state_run(HandleRef jarg1);\r
\r
- [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_resurrect_session_resurrect_session_set")]\r
- public static extern void switch_io_event_hook_resurrect_session_resurrect_session_set(HandleRef jarg1, HandleRef jarg2);\r
-\r
- [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_resurrect_session_resurrect_session_get")]\r
- public static extern IntPtr switch_io_event_hook_resurrect_session_resurrect_session_get(HandleRef jarg1);\r
-\r
- [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_resurrect_session_next_set")]\r
- public static extern void switch_io_event_hook_resurrect_session_next_set(HandleRef jarg1, HandleRef jarg2);\r
-\r
- [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_resurrect_session_next_get")]\r
- public static extern IntPtr switch_io_event_hook_resurrect_session_next_get(HandleRef jarg1);\r
-\r
- [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_resurrect_session")]\r
- public static extern IntPtr new_switch_io_event_hook_resurrect_session();\r
-\r
- [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_resurrect_session")]\r
- public static extern void delete_switch_io_event_hook_resurrect_session(HandleRef jarg1);\r
-\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_outgoing_channel_set")]\r
public static extern void switch_io_event_hooks_outgoing_channel_set(HandleRef jarg1, HandleRef jarg2);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_state_run_get")]\r
public static extern IntPtr switch_io_event_hooks_state_run_get(HandleRef jarg1);\r
\r
- [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_resurrect_session_set")]\r
- public static extern void switch_io_event_hooks_resurrect_session_set(HandleRef jarg1, HandleRef jarg2);\r
-\r
- [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_resurrect_session_get")]\r
- public static extern IntPtr switch_io_event_hooks_resurrect_session_get(HandleRef jarg1);\r
-\r
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hooks")]\r
public static extern IntPtr new_switch_io_event_hooks();\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_recv_dtmf")]\r
public static extern int switch_core_event_hook_add_recv_dtmf(HandleRef jarg1, HandleRef jarg2);\r
\r
- [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_resurrect_session")]\r
- public static extern int switch_core_event_hook_add_resurrect_session(HandleRef jarg1, HandleRef jarg2);\r
-\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_outgoing_channel")]\r
public static extern int switch_core_event_hook_remove_outgoing_channel(HandleRef jarg1, HandleRef jarg2);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_recv_dtmf")]\r
public static extern int switch_core_event_hook_remove_recv_dtmf(HandleRef jarg1, HandleRef jarg2);\r
\r
- [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_resurrect_session")]\r
- public static extern int switch_core_event_hook_remove_resurrect_session(HandleRef jarg1, HandleRef jarg2);\r
-\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_created_set")]\r
public static extern void switch_scheduler_task_created_set(HandleRef jarg1, long jarg2);\r
\r
using System;\r
using System.Runtime.InteropServices;\r
\r
-public class SWIGTYPE_p_f_p_p_switch_core_session_p_p_apr_pool_t_p_void__switch_call_cause_t {\r
- private HandleRef swigCPtr;\r
-\r
- internal SWIGTYPE_p_f_p_p_switch_core_session_p_p_apr_pool_t_p_void__switch_call_cause_t(IntPtr cPtr, bool futureUse) {\r
- swigCPtr = new HandleRef(this, cPtr);\r
- }\r
-\r
- protected SWIGTYPE_p_f_p_p_switch_core_session_p_p_apr_pool_t_p_void__switch_call_cause_t() {\r
- swigCPtr = new HandleRef(null, IntPtr.Zero);\r
- }\r
-\r
- internal static HandleRef getCPtr(SWIGTYPE_p_f_p_p_switch_core_session_p_p_apr_pool_t_p_void__switch_call_cause_t obj) {\r
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;\r
- }\r
-}\r
-\r
-}\r
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 2.0.1\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-using System;\r
-using System.Runtime.InteropServices;\r
-\r
public class SWIGTYPE_p_f_p_p_switch_loadable_module_interface_p_apr_pool_t__switch_status_t {\r
private HandleRef swigCPtr;\r
\r
using System;\r
using System.Runtime.InteropServices;\r
\r
+public class SWIGTYPE_p_f_p_switch_core_session__int {\r
+ private HandleRef swigCPtr;\r
+\r
+ internal SWIGTYPE_p_f_p_switch_core_session__int(IntPtr cPtr, bool futureUse) {\r
+ swigCPtr = new HandleRef(this, cPtr);\r
+ }\r
+\r
+ protected SWIGTYPE_p_f_p_switch_core_session__int() {\r
+ swigCPtr = new HandleRef(null, IntPtr.Zero);\r
+ }\r
+\r
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session__int obj) {\r
+ return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;\r
+ }\r
+}\r
+\r
+}\r
+/* ----------------------------------------------------------------------------\r
+ * This file was automatically generated by SWIG (http://www.swig.org).\r
+ * Version 2.0.1\r
+ *\r
+ * Do not make changes to this file unless you know what you are doing--modify\r
+ * the SWIG interface file instead.\r
+ * ----------------------------------------------------------------------------- */\r
+\r
+namespace FreeSWITCH.Native {\r
+\r
+using System;\r
+using System.Runtime.InteropServices;\r
+\r
public class SWIGTYPE_p_f_p_switch_core_session__switch_status_t {\r
private HandleRef swigCPtr;\r
\r
CF_CONFIRM_BLIND_TRANSFER,\r
CF_NO_PRESENCE,\r
CF_CONFERENCE,\r
+ CF_RECOVERING,\r
+ CF_RECOVERING_BRIDGE,\r
+ CF_TRACKED,\r
+ CF_TRACKABLE,\r
CF_FLAG_MAX\r
}\r
\r
SCF_THREADED_SYSTEM_EXEC = (1 << 18),\r
SCF_SYNC_CLOCK_REQUESTED = (1 << 19),\r
SCF_CORE_ODBC_REQ = (1 << 20),\r
- SCF_DEBUG_SQL = (1 << 21)\r
+ SCF_DEBUG_SQL = (1 << 21),\r
+ SCF_API_EXPANSION = (1 << 22),\r
+ SCF_SESSION_THREAD_POOL = (1 << 23)\r
}\r
\r
}\r
} \r
}\r
\r
+ public SWIGTYPE_p_f_p_switch_core_session__int recover_callback {\r
+ set {\r
+ freeswitchPINVOKE.switch_endpoint_interface_recover_callback_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__int.getCPtr(value));\r
+ } \r
+ get {\r
+ IntPtr cPtr = freeswitchPINVOKE.switch_endpoint_interface_recover_callback_get(swigCPtr);\r
+ SWIGTYPE_p_f_p_switch_core_session__int ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__int(cPtr, false);\r
+ return ret;\r
+ } \r
+ }\r
+\r
public switch_endpoint_interface() : this(freeswitchPINVOKE.new_switch_endpoint_interface(), true) {\r
}\r
\r
} \r
}\r
\r
- public switch_io_event_hook_resurrect_session resurrect_session {\r
- set {\r
- freeswitchPINVOKE.switch_io_event_hooks_resurrect_session_set(swigCPtr, switch_io_event_hook_resurrect_session.getCPtr(value));\r
- } \r
- get {\r
- IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_resurrect_session_get(swigCPtr);\r
- switch_io_event_hook_resurrect_session ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_resurrect_session(cPtr, false);\r
- return ret;\r
- } \r
- }\r
-\r
public switch_io_event_hooks() : this(freeswitchPINVOKE.new_switch_io_event_hooks(), true) {\r
}\r
\r
using System;\r
using System.Runtime.InteropServices;\r
\r
-public class switch_io_event_hook_resurrect_session : IDisposable {\r
- private HandleRef swigCPtr;\r
- protected bool swigCMemOwn;\r
-\r
- internal switch_io_event_hook_resurrect_session(IntPtr cPtr, bool cMemoryOwn) {\r
- swigCMemOwn = cMemoryOwn;\r
- swigCPtr = new HandleRef(this, cPtr);\r
- }\r
-\r
- internal static HandleRef getCPtr(switch_io_event_hook_resurrect_session obj) {\r
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;\r
- }\r
-\r
- ~switch_io_event_hook_resurrect_session() {\r
- Dispose();\r
- }\r
-\r
- public virtual void Dispose() {\r
- lock(this) {\r
- if (swigCPtr.Handle != IntPtr.Zero) {\r
- if (swigCMemOwn) {\r
- swigCMemOwn = false;\r
- freeswitchPINVOKE.delete_switch_io_event_hook_resurrect_session(swigCPtr);\r
- }\r
- swigCPtr = new HandleRef(null, IntPtr.Zero);\r
- }\r
- GC.SuppressFinalize(this);\r
- }\r
- }\r
-\r
- public SWIGTYPE_p_f_p_p_switch_core_session_p_p_apr_pool_t_p_void__switch_call_cause_t resurrect_session {\r
- set {\r
- freeswitchPINVOKE.switch_io_event_hook_resurrect_session_resurrect_session_set(swigCPtr, SWIGTYPE_p_f_p_p_switch_core_session_p_p_apr_pool_t_p_void__switch_call_cause_t.getCPtr(value));\r
- } \r
- get {\r
- IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_resurrect_session_resurrect_session_get(swigCPtr);\r
- SWIGTYPE_p_f_p_p_switch_core_session_p_p_apr_pool_t_p_void__switch_call_cause_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_p_switch_core_session_p_p_apr_pool_t_p_void__switch_call_cause_t(cPtr, false);\r
- return ret;\r
- } \r
- }\r
-\r
- public switch_io_event_hook_resurrect_session next {\r
- set {\r
- freeswitchPINVOKE.switch_io_event_hook_resurrect_session_next_set(swigCPtr, switch_io_event_hook_resurrect_session.getCPtr(value));\r
- } \r
- get {\r
- IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_resurrect_session_next_get(swigCPtr);\r
- switch_io_event_hook_resurrect_session ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_resurrect_session(cPtr, false);\r
- return ret;\r
- } \r
- }\r
-\r
- public switch_io_event_hook_resurrect_session() : this(freeswitchPINVOKE.new_switch_io_event_hook_resurrect_session(), true) {\r
- }\r
-\r
-}\r
-\r
-}\r
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 2.0.1\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-using System;\r
-using System.Runtime.InteropServices;\r
-\r
public class switch_io_event_hook_send_dtmf : IDisposable {\r
private HandleRef swigCPtr;\r
protected bool swigCMemOwn;\r
} \r
}\r
\r
- public SWIGTYPE_p_f_p_p_switch_core_session_p_p_apr_pool_t_p_void__switch_call_cause_t resurrect_session {\r
- set {\r
- freeswitchPINVOKE.switch_io_routines_resurrect_session_set(swigCPtr, SWIGTYPE_p_f_p_p_switch_core_session_p_p_apr_pool_t_p_void__switch_call_cause_t.getCPtr(value));\r
- } \r
- get {\r
- IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_resurrect_session_get(swigCPtr);\r
- SWIGTYPE_p_f_p_p_switch_core_session_p_p_apr_pool_t_p_void__switch_call_cause_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_p_switch_core_session_p_p_apr_pool_t_p_void__switch_call_cause_t(cPtr, false);\r
- return ret;\r
- } \r
- }\r
-\r
public SWIGTYPE_p_p_void padding {\r
set {\r
freeswitchPINVOKE.switch_io_routines_padding_set(swigCPtr, SWIGTYPE_p_p_void.getCPtr(value));\r
SWITCH_IO_RECEIVE_EVENT,\r
SWITCH_IO_STATE_CHANGE,\r
SWITCH_IO_READ_VIDEO_FRAME,\r
- SWITCH_IO_WRITE_VIDEO_FRAME,\r
- SWITCH_IO_RESURRECT_SESSION\r
+ SWITCH_IO_WRITE_VIDEO_FRAME\r
}\r
\r
}\r
SCSC_THREADED_SYSTEM_EXEC,\r
SCSC_SYNC_CLOCK_WHEN_IDLE,\r
SCSC_DEBUG_SQL,\r
- SCSC_SQL\r
+ SCSC_SQL,\r
+ SCSC_API_EXPANSION,\r
+ SCSC_RECOVER\r
}\r
\r
}\r