From 96525d4f63a0f5bb2b7e7f9e70469d86fe401406 Mon Sep 17 00:00:00 2001 From: Brian West Date: Mon, 30 Aug 2010 12:48:45 -0500 Subject: [PATCH] swigall --- src/mod/languages/mod_managed/freeswitch_wrap.cxx | 14 ++++++++------ src/mod/languages/mod_managed/managed/swig.cs | 9 +++++---- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/mod/languages/mod_managed/freeswitch_wrap.cxx b/src/mod/languages/mod_managed/freeswitch_wrap.cxx index d465083638..1b13352918 100644 --- a/src/mod/languages/mod_managed/freeswitch_wrap.cxx +++ b/src/mod/languages/mod_managed/freeswitch_wrap.cxx @@ -6805,19 +6805,21 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_request_xml(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_request_uuid(void * jarg1, int jarg2, void * jarg3, char * jarg4) { +SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_request_uuid(void * jarg1, int jarg2, unsigned long jarg3, void * jarg4, char * jarg5) { void * jresult ; switch_endpoint_interface_t *arg1 = (switch_endpoint_interface_t *) 0 ; switch_call_direction_t arg2 ; - switch_memory_pool_t **arg3 = (switch_memory_pool_t **) 0 ; - char *arg4 = (char *) 0 ; + switch_originate_flag_t arg3 ; + switch_memory_pool_t **arg4 = (switch_memory_pool_t **) 0 ; + char *arg5 = (char *) 0 ; switch_core_session_t *result = 0 ; arg1 = (switch_endpoint_interface_t *)jarg1; arg2 = (switch_call_direction_t)jarg2; - arg3 = (switch_memory_pool_t **)jarg3; - arg4 = (char *)jarg4; - result = (switch_core_session_t *)switch_core_session_request_uuid(arg1,arg2,arg3,(char const *)arg4); + arg3 = (switch_originate_flag_t)jarg3; + arg4 = (switch_memory_pool_t **)jarg4; + arg5 = (char *)jarg5; + result = (switch_core_session_t *)switch_core_session_request_uuid(arg1,arg2,arg3,arg4,(char const *)arg5); jresult = (void *)result; return jresult; } diff --git a/src/mod/languages/mod_managed/managed/swig.cs b/src/mod/languages/mod_managed/managed/swig.cs index 41f224c796..30859377c5 100644 --- a/src/mod/languages/mod_managed/managed/swig.cs +++ b/src/mod/languages/mod_managed/managed/swig.cs @@ -1201,8 +1201,8 @@ public class freeswitch { return ret; } - public static SWIGTYPE_p_switch_core_session switch_core_session_request_uuid(switch_endpoint_interface endpoint_interface, switch_call_direction_t direction, SWIGTYPE_p_p_apr_pool_t pool, string use_uuid) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_request_uuid(switch_endpoint_interface.getCPtr(endpoint_interface), (int)direction, SWIGTYPE_p_p_apr_pool_t.getCPtr(pool), use_uuid); + public static SWIGTYPE_p_switch_core_session switch_core_session_request_uuid(switch_endpoint_interface endpoint_interface, switch_call_direction_t direction, uint originate_flags, SWIGTYPE_p_p_apr_pool_t pool, string use_uuid) { + IntPtr cPtr = freeswitchPINVOKE.switch_core_session_request_uuid(switch_endpoint_interface.getCPtr(endpoint_interface), (int)direction, originate_flags, SWIGTYPE_p_p_apr_pool_t.getCPtr(pool), use_uuid); SWIGTYPE_p_switch_core_session ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); return ret; } @@ -6875,7 +6875,7 @@ class freeswitchPINVOKE { public static extern IntPtr switch_core_session_request_xml(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_request_uuid")] - public static extern IntPtr switch_core_session_request_uuid(HandleRef jarg1, int jarg2, HandleRef jarg3, string jarg4); + public static extern IntPtr switch_core_session_request_uuid(HandleRef jarg1, int jarg2, uint jarg3, HandleRef jarg4, string jarg5); [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_uuid")] public static extern int switch_core_session_set_uuid(HandleRef jarg1, string jarg2); @@ -26517,7 +26517,8 @@ namespace FreeSWITCH.Native { SOF_NOBLOCK = (1 << 0), SOF_FORKED_DIAL = (1 << 1), SOF_NO_EFFECTIVE_CID_NUM = (1 << 2), - SOF_NO_EFFECTIVE_CID_NAME = (1 << 3) + SOF_NO_EFFECTIVE_CID_NAME = (1 << 3), + SOF_NO_LIMITS = (1 << 4) } }