}\r
\r
\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_packet_count_set(void * jarg1, unsigned long jarg2) {\r
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;\r
+ uint32_t arg2 ;\r
+ \r
+ arg1 = (switch_rtcp_numbers_t *)jarg1; \r
+ arg2 = (uint32_t)jarg2; \r
+ if (arg1) (arg1)->packet_count = arg2;\r
+}\r
+\r
+\r
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_packet_count_get(void * jarg1) {\r
+ unsigned long jresult ;\r
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;\r
+ uint32_t result;\r
+ \r
+ arg1 = (switch_rtcp_numbers_t *)jarg1; \r
+ result = (uint32_t) ((arg1)->packet_count);\r
+ jresult = (unsigned long)result; \r
+ return jresult;\r
+}\r
+\r
+\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_octet_count_set(void * jarg1, unsigned long jarg2) {\r
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;\r
+ uint32_t arg2 ;\r
+ \r
+ arg1 = (switch_rtcp_numbers_t *)jarg1; \r
+ arg2 = (uint32_t)jarg2; \r
+ if (arg1) (arg1)->octet_count = arg2;\r
+}\r
+\r
+\r
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_octet_count_get(void * jarg1) {\r
+ unsigned long jresult ;\r
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;\r
+ uint32_t result;\r
+ \r
+ arg1 = (switch_rtcp_numbers_t *)jarg1; \r
+ result = (uint32_t) ((arg1)->octet_count);\r
+ jresult = (unsigned long)result; \r
+ return jresult;\r
+}\r
+\r
+\r
+SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtcp_numbers_t() {\r
+ void * jresult ;\r
+ switch_rtcp_numbers_t *result = 0 ;\r
+ \r
+ result = (switch_rtcp_numbers_t *)new switch_rtcp_numbers_t();\r
+ jresult = (void *)result; \r
+ return jresult;\r
+}\r
+\r
+\r
+SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_rtcp_numbers_t(void * jarg1) {\r
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;\r
+ \r
+ arg1 = (switch_rtcp_numbers_t *)jarg1; \r
+ delete arg1;\r
+}\r
+\r
+\r
SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_stats_t_inbound_set(void * jarg1, void * jarg2) {\r
switch_rtp_stats_t *arg1 = (switch_rtp_stats_t *) 0 ;\r
switch_rtp_numbers_t *arg2 = (switch_rtp_numbers_t *) 0 ;\r
}\r
\r
\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_stats_t_rtcp_set(void * jarg1, void * jarg2) {\r
+ switch_rtp_stats_t *arg1 = (switch_rtp_stats_t *) 0 ;\r
+ switch_rtcp_numbers_t *arg2 = (switch_rtcp_numbers_t *) 0 ;\r
+ \r
+ arg1 = (switch_rtp_stats_t *)jarg1; \r
+ arg2 = (switch_rtcp_numbers_t *)jarg2; \r
+ if (arg1) (arg1)->rtcp = *arg2;\r
+}\r
+\r
+\r
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_stats_t_rtcp_get(void * jarg1) {\r
+ void * jresult ;\r
+ switch_rtp_stats_t *arg1 = (switch_rtp_stats_t *) 0 ;\r
+ switch_rtcp_numbers_t *result = 0 ;\r
+ \r
+ arg1 = (switch_rtp_stats_t *)jarg1; \r
+ result = (switch_rtcp_numbers_t *)& ((arg1)->rtcp);\r
+ jresult = (void *)result; \r
+ return jresult;\r
+}\r
+\r
+\r
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtp_stats_t() {\r
void * jresult ;\r
switch_rtp_stats_t *result = 0 ;\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_init() {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_init(int jarg1) {\r
int jresult ;\r
+ switch_bool_t arg1 ;\r
switch_status_t result;\r
\r
- result = (switch_status_t)switch_loadable_module_init();\r
+ arg1 = (switch_bool_t)jarg1; \r
+ result = (switch_status_t)switch_loadable_module_init(arg1);\r
jresult = result; \r
return jresult;\r
}\r
}\r
\r
\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_origination_caller_profile_set(void * jarg1, void * jarg2) {\r
+ switch_caller_profile *arg1 = (switch_caller_profile *) 0 ;\r
+ switch_caller_profile *arg2 = (switch_caller_profile *) 0 ;\r
+ \r
+ arg1 = (switch_caller_profile *)jarg1; \r
+ arg2 = (switch_caller_profile *)jarg2; \r
+ if (arg1) (arg1)->origination_caller_profile = arg2;\r
+}\r
+\r
+\r
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_origination_caller_profile_get(void * jarg1) {\r
+ void * jresult ;\r
+ switch_caller_profile *arg1 = (switch_caller_profile *) 0 ;\r
+ switch_caller_profile *result = 0 ;\r
+ \r
+ arg1 = (switch_caller_profile *)jarg1; \r
+ result = (switch_caller_profile *) ((arg1)->origination_caller_profile);\r
+ jresult = (void *)result; \r
+ return jresult;\r
+}\r
+\r
+\r
SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_hunt_caller_profile_set(void * jarg1, void * jarg2) {\r
switch_caller_profile *arg1 = (switch_caller_profile *) 0 ;\r
switch_caller_profile *arg2 = (switch_caller_profile *) 0 ;\r
}\r
\r
\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_origination_caller_profile(void * jarg1, void * jarg2) {\r
+ switch_channel_t *arg1 = (switch_channel_t *) 0 ;\r
+ switch_caller_profile_t *arg2 = (switch_caller_profile_t *) 0 ;\r
+ \r
+ arg1 = (switch_channel_t *)jarg1; \r
+ arg2 = (switch_caller_profile_t *)jarg2; \r
+ switch_channel_set_origination_caller_profile(arg1,arg2);\r
+}\r
+\r
+\r
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_origination_caller_profile(void * jarg1) {\r
+ void * jresult ;\r
+ switch_channel_t *arg1 = (switch_channel_t *) 0 ;\r
+ switch_caller_profile_t *result = 0 ;\r
+ \r
+ arg1 = (switch_channel_t *)jarg1; \r
+ result = (switch_caller_profile_t *)switch_channel_get_origination_caller_profile(arg1);\r
+ jresult = (void *)result; \r
+ return jresult;\r
+}\r
+\r
+\r
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_uuid(void * jarg1) {\r
char * jresult ;\r
switch_channel_t *arg1 = (switch_channel_t *) 0 ;\r
return ret;\r
}\r
\r
- public static switch_status_t switch_loadable_module_init() {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_loadable_module_init();\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
}\r
\r
return ret;\r
}\r
\r
+ public static void switch_channel_set_origination_caller_profile(SWIGTYPE_p_switch_channel channel, switch_caller_profile caller_profile) {\r
+ freeswitchPINVOKE.switch_channel_set_origination_caller_profile(SWIGTYPE_p_switch_channel.getCPtr(channel), switch_caller_profile.getCPtr(caller_profile));\r
+ }\r
+\r
+ public static switch_caller_profile switch_channel_get_origination_caller_profile(SWIGTYPE_p_switch_channel channel) {\r
+ IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_origination_caller_profile(SWIGTYPE_p_switch_channel.getCPtr(channel));\r
+ switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false);\r
+ return ret;\r
+ }\r
+\r
public static string switch_channel_get_uuid(SWIGTYPE_p_switch_channel channel) {\r
string ret = freeswitchPINVOKE.switch_channel_get_uuid(SWIGTYPE_p_switch_channel.getCPtr(channel));\r
return ret;\r
[DllImport("mod_managed", EntryPoint="CSharp_delete_switch_rtp_numbers_t")]\r
public static extern void delete_switch_rtp_numbers_t(HandleRef jarg1);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_packet_count_set")]\r
+ public static extern void switch_rtcp_numbers_t_packet_count_set(HandleRef jarg1, uint jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_packet_count_get")]\r
+ public static extern uint switch_rtcp_numbers_t_packet_count_get(HandleRef jarg1);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_octet_count_set")]\r
+ public static extern void switch_rtcp_numbers_t_octet_count_set(HandleRef jarg1, uint jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_octet_count_get")]\r
+ public static extern uint switch_rtcp_numbers_t_octet_count_get(HandleRef jarg1);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_new_switch_rtcp_numbers_t")]\r
+ public static extern IntPtr new_switch_rtcp_numbers_t();\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_rtcp_numbers_t")]\r
+ public static extern void delete_switch_rtcp_numbers_t(HandleRef jarg1);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_stats_t_inbound_set")]\r
public static extern void switch_rtp_stats_t_inbound_set(HandleRef jarg1, HandleRef jarg2);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_stats_t_outbound_get")]\r
public static extern IntPtr switch_rtp_stats_t_outbound_get(HandleRef jarg1);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_stats_t_rtcp_set")]\r
+ public static extern void switch_rtp_stats_t_rtcp_set(HandleRef jarg1, HandleRef jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_stats_t_rtcp_get")]\r
+ public static extern IntPtr switch_rtp_stats_t_rtcp_get(HandleRef jarg1);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_rtp_stats_t")]\r
public static extern IntPtr new_switch_rtp_stats_t();\r
\r
public static extern void delete_switch_loadable_module_interface(HandleRef jarg1);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_init")]\r
- public static extern int switch_loadable_module_init();\r
+ public static extern int switch_loadable_module_init(int jarg1);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_shutdown")]\r
public static extern void switch_loadable_module_shutdown();\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_originatee_caller_profile_get")]\r
public static extern IntPtr switch_caller_profile_originatee_caller_profile_get(HandleRef jarg1);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_origination_caller_profile_set")]\r
+ public static extern void switch_caller_profile_origination_caller_profile_set(HandleRef jarg1, HandleRef jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_origination_caller_profile_get")]\r
+ public static extern IntPtr switch_caller_profile_origination_caller_profile_get(HandleRef jarg1);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_hunt_caller_profile_set")]\r
public static extern void switch_caller_profile_hunt_caller_profile_set(HandleRef jarg1, HandleRef jarg2);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_originatee_caller_profile")]\r
public static extern IntPtr switch_channel_get_originatee_caller_profile(HandleRef jarg1);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_origination_caller_profile")]\r
+ public static extern void switch_channel_set_origination_caller_profile(HandleRef jarg1, HandleRef jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_origination_caller_profile")]\r
+ public static extern IntPtr switch_channel_get_origination_caller_profile(HandleRef jarg1);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_uuid")]\r
public static extern string switch_channel_get_uuid(HandleRef jarg1);\r
\r
} \r
}\r
\r
+ public switch_caller_profile origination_caller_profile {\r
+ set {\r
+ freeswitchPINVOKE.switch_caller_profile_origination_caller_profile_set(swigCPtr, switch_caller_profile.getCPtr(value));\r
+ } \r
+ get {\r
+ IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_origination_caller_profile_get(swigCPtr);\r
+ switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false);\r
+ return ret;\r
+ } \r
+ }\r
+\r
public switch_caller_profile hunt_caller_profile {\r
set {\r
freeswitchPINVOKE.switch_caller_profile_hunt_caller_profile_set(swigCPtr, switch_caller_profile.getCPtr(value));\r
SCF_USE_CLOCK_RT = (1 << 10),\r
SCF_VERBOSE_EVENTS = (1 << 11),\r
SCF_USE_WIN32_MONOTONIC = (1 << 12),\r
- SCF_AUTO_SCHEMAS = (1 << 13)\r
+ SCF_AUTO_SCHEMAS = (1 << 13),\r
+ SCF_MINIMAL = (1 << 14)\r
}\r
\r
}\r
\r
namespace FreeSWITCH.Native {\r
\r
+using System;\r
+using System.Runtime.InteropServices;\r
+\r
+public class switch_rtcp_numbers_t : IDisposable {\r
+ private HandleRef swigCPtr;\r
+ protected bool swigCMemOwn;\r
+\r
+ internal switch_rtcp_numbers_t(IntPtr cPtr, bool cMemoryOwn) {\r
+ swigCMemOwn = cMemoryOwn;\r
+ swigCPtr = new HandleRef(this, cPtr);\r
+ }\r
+\r
+ internal static HandleRef getCPtr(switch_rtcp_numbers_t obj) {\r
+ return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;\r
+ }\r
+\r
+ ~switch_rtcp_numbers_t() {\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_rtcp_numbers_t(swigCPtr);\r
+ }\r
+ swigCPtr = new HandleRef(null, IntPtr.Zero);\r
+ }\r
+ GC.SuppressFinalize(this);\r
+ }\r
+ }\r
+\r
+ public uint packet_count {\r
+ set {\r
+ freeswitchPINVOKE.switch_rtcp_numbers_t_packet_count_set(swigCPtr, value);\r
+ } \r
+ get {\r
+ uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_packet_count_get(swigCPtr);\r
+ return ret;\r
+ } \r
+ }\r
+\r
+ public uint octet_count {\r
+ set {\r
+ freeswitchPINVOKE.switch_rtcp_numbers_t_octet_count_set(swigCPtr, value);\r
+ } \r
+ get {\r
+ uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_octet_count_get(swigCPtr);\r
+ return ret;\r
+ } \r
+ }\r
+\r
+ public switch_rtcp_numbers_t() : this(freeswitchPINVOKE.new_switch_rtcp_numbers_t(), true) {\r
+ }\r
+\r
+}\r
+\r
+}\r
+/* ----------------------------------------------------------------------------\r
+ * This file was automatically generated by SWIG (http://www.swig.org).\r
+ * Version 2.0.0\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
public enum switch_rtp_bug_flag_t {\r
RTP_BUG_NONE = 0,\r
RTP_BUG_CISCO_SKIP_MARK_BIT_2833 = (1 << 0),\r
} \r
}\r
\r
+ public switch_rtcp_numbers_t rtcp {\r
+ set {\r
+ freeswitchPINVOKE.switch_rtp_stats_t_rtcp_set(swigCPtr, switch_rtcp_numbers_t.getCPtr(value));\r
+ } \r
+ get {\r
+ IntPtr cPtr = freeswitchPINVOKE.switch_rtp_stats_t_rtcp_get(swigCPtr);\r
+ switch_rtcp_numbers_t ret = (cPtr == IntPtr.Zero) ? null : new switch_rtcp_numbers_t(cPtr, false);\r
+ return ret;\r
+ } \r
+ }\r
+\r
public switch_rtp_stats_t() : this(freeswitchPINVOKE.new_switch_rtp_stats_t(), true) {\r
}\r
\r