Freeswitch-trunk
Threads by month
- ----- 2026 -----
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
June 2008
- 9 participants
- 132 discussions
06 Jun '08
Author: anthm
Date: Fri Jun 6 10:15:19 2008
New Revision: 8777
Modified:
freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c
Log:
thanks Ctrix
Modified: freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c (original)
+++ freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c Fri Jun 6 10:15:19 2008
@@ -1126,7 +1126,7 @@
switch_safe_free(xml_text);
} else if (!strcasecmp(argv[0], "importance")) {
- if ((node = switch_core_hash_find(globals.fifo_hash, argv[1]))) {
+ if (argv[1] && (node = switch_core_hash_find(globals.fifo_hash, argv[1]))) {
int importance = 0;
if (argc > 2) {
importance = atoi(argv[2]);
1
0
Author: anthm
Date: Fri Jun 6 09:43:41 2008
New Revision: 8776
Modified:
freeswitch/trunk/src/switch_channel.c
Log:
add patch from FSCORE-136
Modified: freeswitch/trunk/src/switch_channel.c
==============================================================================
--- freeswitch/trunk/src/switch_channel.c (original)
+++ freeswitch/trunk/src/switch_channel.c Fri Jun 6 09:43:41 2008
@@ -1599,8 +1599,8 @@
char *p, *c = NULL;
char *data, *indup;
size_t sp = 0, len = 0, olen = 0, vtype = 0, br = 0, cpos, block = 128;
- const char *q, *sub_val = NULL;
- char *cloned_sub_val = NULL;
+ const char *q;
+ char *cloned_sub_val = NULL, *sub_val = NULL;
char *func_val = NULL;
int nv = 0;
@@ -1743,7 +1743,7 @@
}
}
- if ((sub_val = switch_channel_get_variable(channel, vname))) {
+ if ((sub_val = (char *) switch_channel_get_variable(channel, vname))) {
if (offset || ooffset) {
cloned_sub_val = strdup(sub_val);
switch_assert(cloned_sub_val);
@@ -1751,7 +1751,11 @@
}
if (offset >= 0) {
- sub_val += offset;
+ if (offset > strlen(sub_val)) {
+ *sub_val = '\0';
+ } else {
+ sub_val += offset;
+ }
} else if ((size_t) abs(offset) <= strlen(sub_val)) {
sub_val = cloned_sub_val + (strlen(cloned_sub_val) + offset);
}
1
0
[commit] r8775 - in freeswitch/trunk/src/mod/languages: mod_mono mod_mono_managed/swig
by Freeswitch SVN 06 Jun '08
by Freeswitch SVN 06 Jun '08
06 Jun '08
Author: michaelgg
Date: Fri Jun 6 03:29:53 2008
New Revision: 8775
Added:
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_application_flag_enum_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_asr_flag_enum_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_bind_flag_enum_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_caller_profile_flag_enum_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_channel_flag_enum_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_codec_flag_enum_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_core_flag_enum_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_core_session_message_flag_enum_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_directory_flag_enum_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_eavesdrop_flag_enum_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_file_flag_enum_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_frame_flag_enum_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_flag_enum_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_ivr_option_enum_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_media_bug_flag_enum_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_media_flag_enum_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_originate_flag_enum_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_port_flag_enum_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_rtp_flag_enum_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_scheduler_flag_enum_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_speech_flag_enum_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_timer_flag_enum_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_unicast_flag_enum_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_vad_flag_enum_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_xml_section_enum_t.cs
Removed:
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_asr_flag_t.cs
Modified:
freeswitch/trunk/src/mod/languages/mod_mono/freeswitch.i
freeswitch/trunk/src/mod/languages/mod_mono/freeswitch_wrap.cxx
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/freeswitch.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE_fixed.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/session_flag_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_xml_flag_t.cs
Log:
Add System.FlagsAttribute for flag enums
Modified: freeswitch/trunk/src/mod/languages/mod_mono/freeswitch.i
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono/freeswitch.i (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono/freeswitch.i Fri Jun 6 03:29:53 2008
@@ -11,6 +11,35 @@
%typemap(csclassmodifiers) Event "public partial class"
%typemap(csclassmodifiers) Stream "public partial class"
+// Allow bitwise compare on flag fields
+%typemap(csclassmodifiers) session_flag_t "[System.Flags] public enum"
+%typemap(csclassmodifiers) switch_application_flag_enum_t "[System.Flags] public enum"
+%typemap(csclassmodifiers) switch_asr_flag_enum_t "[System.Flags] public enum"
+%typemap(csclassmodifiers) switch_bind_flag_enum_t "[System.Flags] public enum"
+%typemap(csclassmodifiers) switch_caller_profile_flag_enum_t "[System.Flags] public enum"
+%typemap(csclassmodifiers) switch_channel_flag_enum_t "[System.Flags] public enum"
+%typemap(csclassmodifiers) switch_codec_flag_enum_t "[System.Flags] public enum"
+%typemap(csclassmodifiers) switch_core_flag_enum_t "[System.Flags] public enum"
+%typemap(csclassmodifiers) switch_core_session_message_flag_enum_t "[System.Flags] public enum"
+%typemap(csclassmodifiers) switch_directory_flag_enum_t "[System.Flags] public enum"
+%typemap(csclassmodifiers) switch_eavesdrop_flag_enum_t "[System.Flags] public enum"
+%typemap(csclassmodifiers) switch_file_flag_enum_t "[System.Flags] public enum"
+%typemap(csclassmodifiers) switch_frame_flag_enum_t "[System.Flags] public enum"
+%typemap(csclassmodifiers) switch_io_flag_enum_t "[System.Flags] public enum"
+%typemap(csclassmodifiers) switch_media_bug_flag_enum_t "[System.Flags] public enum"
+%typemap(csclassmodifiers) switch_media_flag_enum_t "[System.Flags] public enum"
+%typemap(csclassmodifiers) switch_originate_flag_enum_t "[System.Flags] public enum"
+%typemap(csclassmodifiers) switch_port_flag_enum_t "[System.Flags] public enum"
+%typemap(csclassmodifiers) switch_rtp_flag_enum_t "[System.Flags] public enum"
+%typemap(csclassmodifiers) switch_scheduler_flag_enum_t "[System.Flags] public enum"
+%typemap(csclassmodifiers) switch_speech_flag_enum_t "[System.Flags] public enum"
+%typemap(csclassmodifiers) switch_timer_flag_enum_t "[System.Flags] public enum"
+%typemap(csclassmodifiers) switch_unicast_flag_enum_t "[System.Flags] public enum"
+%typemap(csclassmodifiers) switch_vad_flag_enum_t "[System.Flags] public enum"
+%typemap(csclassmodifiers) switch_xml_flag_t "[System.Flags] public enum"
+%typemap(csclassmodifiers) switch_xml_section_enum_t "[System.Flags] public enum"
+
+
// Some things we dont want exposed to managed users directly, since
// we're gonna handle them with our own internalcall methods
%ignore dtmfDelegateHandle;
Modified: freeswitch/trunk/src/mod/languages/mod_mono/freeswitch_wrap.cxx
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono/freeswitch_wrap.cxx (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono/freeswitch_wrap.cxx Fri Jun 6 03:29:53 2008
@@ -927,6 +927,17 @@
}
+SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get() {
+ char * jresult ;
+ char *result = 0 ;
+
+ result = (char *) "execute_on_ring";
+
+ jresult = SWIG_csharp_string_callback((const char *)result);
+ return jresult;
+}
+
+
SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CALL_TIMEOUT_VARIABLE_get() {
char * jresult ;
char *result = 0 ;
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/freeswitch.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/freeswitch.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/freeswitch.cs Fri Jun 6 03:29:53 2008
@@ -2990,6 +2990,7 @@
public static readonly string SWITCH_URL_SEPARATOR = freeswitchPINVOKE.SWITCH_URL_SEPARATOR_get();
public static readonly string SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE = freeswitchPINVOKE.SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get();
public static readonly string SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get();
+ public static readonly string SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get();
public static readonly string SWITCH_CALL_TIMEOUT_VARIABLE = freeswitchPINVOKE.SWITCH_CALL_TIMEOUT_VARIABLE_get();
public static readonly string SWITCH_HOLDING_UUID_VARIABLE = freeswitchPINVOKE.SWITCH_HOLDING_UUID_VARIABLE_get();
public static readonly string SWITCH_API_BRIDGE_END_VARIABLE = freeswitchPINVOKE.SWITCH_API_BRIDGE_END_VARIABLE_get();
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE.cs Fri Jun 6 03:29:53 2008
@@ -362,6 +362,9 @@
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get")]
public static extern string SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get();
+ [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get")]
+ public static extern string SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get();
+
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_CALL_TIMEOUT_VARIABLE_get")]
public static extern string SWITCH_CALL_TIMEOUT_VARIABLE_get();
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE_fixed.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE_fixed.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE_fixed.cs Fri Jun 6 03:29:53 2008
@@ -187,26 +187,26 @@
[DllImport("mod_mono", EntryPoint="CSharp_FREESWITCH_PEN_get")]
public static extern IntPtr __FREESWITCH_PEN_get();
- public static string FREESWITCH_PEN_get(){
-var _ptr = __FREESWITCH_PEN_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string FREESWITCH_PEN_get(){
+var _ptr = __FREESWITCH_PEN_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_FREESWITCH_OID_PREFIX_get")]
public static extern IntPtr __FREESWITCH_OID_PREFIX_get();
- public static string FREESWITCH_OID_PREFIX_get(){
-var _ptr = __FREESWITCH_OID_PREFIX_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string FREESWITCH_OID_PREFIX_get(){
+var _ptr = __FREESWITCH_OID_PREFIX_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_FREESWITCH_ITAD_get")]
public static extern IntPtr __FREESWITCH_ITAD_get();
- public static string FREESWITCH_ITAD_get(){
-var _ptr = __FREESWITCH_ITAD_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string FREESWITCH_ITAD_get(){
+var _ptr = __FREESWITCH_ITAD_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp___EXTENSIONS___get")]
@@ -217,18 +217,18 @@
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_BLANK_STRING_get")]
public static extern IntPtr __SWITCH_BLANK_STRING_get();
- public static string SWITCH_BLANK_STRING_get(){
-var _ptr = __SWITCH_BLANK_STRING_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_BLANK_STRING_get(){
+var _ptr = __SWITCH_BLANK_STRING_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_ESC_get")]
public static extern IntPtr __SWITCH_SEQ_ESC_get();
- public static string SWITCH_SEQ_ESC_get(){
-var _ptr = __SWITCH_SEQ_ESC_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_ESC_get(){
+var _ptr = __SWITCH_SEQ_ESC_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_HOME_CHAR_get")]
@@ -236,10 +236,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_HOME_CHAR_STR_get")]
public static extern IntPtr __SWITCH_SEQ_HOME_CHAR_STR_get();
- public static string SWITCH_SEQ_HOME_CHAR_STR_get(){
-var _ptr = __SWITCH_SEQ_HOME_CHAR_STR_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_HOME_CHAR_STR_get(){
+var _ptr = __SWITCH_SEQ_HOME_CHAR_STR_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_CLEARLINE_CHAR_get")]
@@ -247,18 +247,18 @@
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_CLEARLINE_CHAR_STR_get")]
public static extern IntPtr __SWITCH_SEQ_CLEARLINE_CHAR_STR_get();
- public static string SWITCH_SEQ_CLEARLINE_CHAR_STR_get(){
-var _ptr = __SWITCH_SEQ_CLEARLINE_CHAR_STR_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_CLEARLINE_CHAR_STR_get(){
+var _ptr = __SWITCH_SEQ_CLEARLINE_CHAR_STR_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_CLEARLINEEND_CHAR_get")]
public static extern IntPtr __SWITCH_SEQ_CLEARLINEEND_CHAR_get();
- public static string SWITCH_SEQ_CLEARLINEEND_CHAR_get(){
-var _ptr = __SWITCH_SEQ_CLEARLINEEND_CHAR_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_CLEARLINEEND_CHAR_get(){
+var _ptr = __SWITCH_SEQ_CLEARLINEEND_CHAR_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_CLEARSCR_CHAR0_get")]
@@ -269,314 +269,314 @@
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_CLEARSCR_CHAR_get")]
public static extern IntPtr __SWITCH_SEQ_CLEARSCR_CHAR_get();
- public static string SWITCH_SEQ_CLEARSCR_CHAR_get(){
-var _ptr = __SWITCH_SEQ_CLEARSCR_CHAR_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_CLEARSCR_CHAR_get(){
+var _ptr = __SWITCH_SEQ_CLEARSCR_CHAR_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_AND_COLOR_get")]
public static extern IntPtr __SWITCH_SEQ_AND_COLOR_get();
- public static string SWITCH_SEQ_AND_COLOR_get(){
-var _ptr = __SWITCH_SEQ_AND_COLOR_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_AND_COLOR_get(){
+var _ptr = __SWITCH_SEQ_AND_COLOR_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_END_COLOR_get")]
public static extern IntPtr __SWITCH_SEQ_END_COLOR_get();
- public static string SWITCH_SEQ_END_COLOR_get(){
-var _ptr = __SWITCH_SEQ_END_COLOR_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_END_COLOR_get(){
+var _ptr = __SWITCH_SEQ_END_COLOR_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_F_BLACK_get")]
public static extern IntPtr __SWITCH_SEQ_F_BLACK_get();
- public static string SWITCH_SEQ_F_BLACK_get(){
-var _ptr = __SWITCH_SEQ_F_BLACK_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_F_BLACK_get(){
+var _ptr = __SWITCH_SEQ_F_BLACK_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_F_RED_get")]
public static extern IntPtr __SWITCH_SEQ_F_RED_get();
- public static string SWITCH_SEQ_F_RED_get(){
-var _ptr = __SWITCH_SEQ_F_RED_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_F_RED_get(){
+var _ptr = __SWITCH_SEQ_F_RED_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_F_GREEN_get")]
public static extern IntPtr __SWITCH_SEQ_F_GREEN_get();
- public static string SWITCH_SEQ_F_GREEN_get(){
-var _ptr = __SWITCH_SEQ_F_GREEN_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_F_GREEN_get(){
+var _ptr = __SWITCH_SEQ_F_GREEN_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_F_YELLOW_get")]
public static extern IntPtr __SWITCH_SEQ_F_YELLOW_get();
- public static string SWITCH_SEQ_F_YELLOW_get(){
-var _ptr = __SWITCH_SEQ_F_YELLOW_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_F_YELLOW_get(){
+var _ptr = __SWITCH_SEQ_F_YELLOW_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_F_BLUE_get")]
public static extern IntPtr __SWITCH_SEQ_F_BLUE_get();
- public static string SWITCH_SEQ_F_BLUE_get(){
-var _ptr = __SWITCH_SEQ_F_BLUE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_F_BLUE_get(){
+var _ptr = __SWITCH_SEQ_F_BLUE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_F_MAGEN_get")]
public static extern IntPtr __SWITCH_SEQ_F_MAGEN_get();
- public static string SWITCH_SEQ_F_MAGEN_get(){
-var _ptr = __SWITCH_SEQ_F_MAGEN_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_F_MAGEN_get(){
+var _ptr = __SWITCH_SEQ_F_MAGEN_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_F_CYAN_get")]
public static extern IntPtr __SWITCH_SEQ_F_CYAN_get();
- public static string SWITCH_SEQ_F_CYAN_get(){
-var _ptr = __SWITCH_SEQ_F_CYAN_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_F_CYAN_get(){
+var _ptr = __SWITCH_SEQ_F_CYAN_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_F_WHITE_get")]
public static extern IntPtr __SWITCH_SEQ_F_WHITE_get();
- public static string SWITCH_SEQ_F_WHITE_get(){
-var _ptr = __SWITCH_SEQ_F_WHITE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_F_WHITE_get(){
+var _ptr = __SWITCH_SEQ_F_WHITE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_B_BLACK_get")]
public static extern IntPtr __SWITCH_SEQ_B_BLACK_get();
- public static string SWITCH_SEQ_B_BLACK_get(){
-var _ptr = __SWITCH_SEQ_B_BLACK_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_B_BLACK_get(){
+var _ptr = __SWITCH_SEQ_B_BLACK_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_B_RED_get")]
public static extern IntPtr __SWITCH_SEQ_B_RED_get();
- public static string SWITCH_SEQ_B_RED_get(){
-var _ptr = __SWITCH_SEQ_B_RED_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_B_RED_get(){
+var _ptr = __SWITCH_SEQ_B_RED_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_B_GREEN_get")]
public static extern IntPtr __SWITCH_SEQ_B_GREEN_get();
- public static string SWITCH_SEQ_B_GREEN_get(){
-var _ptr = __SWITCH_SEQ_B_GREEN_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_B_GREEN_get(){
+var _ptr = __SWITCH_SEQ_B_GREEN_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_B_YELLOW_get")]
public static extern IntPtr __SWITCH_SEQ_B_YELLOW_get();
- public static string SWITCH_SEQ_B_YELLOW_get(){
-var _ptr = __SWITCH_SEQ_B_YELLOW_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_B_YELLOW_get(){
+var _ptr = __SWITCH_SEQ_B_YELLOW_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_B_BLUE_get")]
public static extern IntPtr __SWITCH_SEQ_B_BLUE_get();
- public static string SWITCH_SEQ_B_BLUE_get(){
-var _ptr = __SWITCH_SEQ_B_BLUE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_B_BLUE_get(){
+var _ptr = __SWITCH_SEQ_B_BLUE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_B_MAGEN_get")]
public static extern IntPtr __SWITCH_SEQ_B_MAGEN_get();
- public static string SWITCH_SEQ_B_MAGEN_get(){
-var _ptr = __SWITCH_SEQ_B_MAGEN_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_B_MAGEN_get(){
+var _ptr = __SWITCH_SEQ_B_MAGEN_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_B_CYAN_get")]
public static extern IntPtr __SWITCH_SEQ_B_CYAN_get();
- public static string SWITCH_SEQ_B_CYAN_get(){
-var _ptr = __SWITCH_SEQ_B_CYAN_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_B_CYAN_get(){
+var _ptr = __SWITCH_SEQ_B_CYAN_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_B_WHITE_get")]
public static extern IntPtr __SWITCH_SEQ_B_WHITE_get();
- public static string SWITCH_SEQ_B_WHITE_get(){
-var _ptr = __SWITCH_SEQ_B_WHITE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_B_WHITE_get(){
+var _ptr = __SWITCH_SEQ_B_WHITE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_FBLACK_get")]
public static extern IntPtr __SWITCH_SEQ_FBLACK_get();
- public static string SWITCH_SEQ_FBLACK_get(){
-var _ptr = __SWITCH_SEQ_FBLACK_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_FBLACK_get(){
+var _ptr = __SWITCH_SEQ_FBLACK_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_FRED_get")]
public static extern IntPtr __SWITCH_SEQ_FRED_get();
- public static string SWITCH_SEQ_FRED_get(){
-var _ptr = __SWITCH_SEQ_FRED_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_FRED_get(){
+var _ptr = __SWITCH_SEQ_FRED_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_FGREEN_get")]
public static extern IntPtr __SWITCH_SEQ_FGREEN_get();
- public static string SWITCH_SEQ_FGREEN_get(){
-var _ptr = __SWITCH_SEQ_FGREEN_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_FGREEN_get(){
+var _ptr = __SWITCH_SEQ_FGREEN_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_FYELLOW_get")]
public static extern IntPtr __SWITCH_SEQ_FYELLOW_get();
- public static string SWITCH_SEQ_FYELLOW_get(){
-var _ptr = __SWITCH_SEQ_FYELLOW_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_FYELLOW_get(){
+var _ptr = __SWITCH_SEQ_FYELLOW_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_FBLUE_get")]
public static extern IntPtr __SWITCH_SEQ_FBLUE_get();
- public static string SWITCH_SEQ_FBLUE_get(){
-var _ptr = __SWITCH_SEQ_FBLUE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_FBLUE_get(){
+var _ptr = __SWITCH_SEQ_FBLUE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_FMAGEN_get")]
public static extern IntPtr __SWITCH_SEQ_FMAGEN_get();
- public static string SWITCH_SEQ_FMAGEN_get(){
-var _ptr = __SWITCH_SEQ_FMAGEN_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_FMAGEN_get(){
+var _ptr = __SWITCH_SEQ_FMAGEN_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_FCYAN_get")]
public static extern IntPtr __SWITCH_SEQ_FCYAN_get();
- public static string SWITCH_SEQ_FCYAN_get(){
-var _ptr = __SWITCH_SEQ_FCYAN_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_FCYAN_get(){
+var _ptr = __SWITCH_SEQ_FCYAN_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_FWHITE_get")]
public static extern IntPtr __SWITCH_SEQ_FWHITE_get();
- public static string SWITCH_SEQ_FWHITE_get(){
-var _ptr = __SWITCH_SEQ_FWHITE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_FWHITE_get(){
+var _ptr = __SWITCH_SEQ_FWHITE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_BBLACK_get")]
public static extern IntPtr __SWITCH_SEQ_BBLACK_get();
- public static string SWITCH_SEQ_BBLACK_get(){
-var _ptr = __SWITCH_SEQ_BBLACK_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_BBLACK_get(){
+var _ptr = __SWITCH_SEQ_BBLACK_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_BRED_get")]
public static extern IntPtr __SWITCH_SEQ_BRED_get();
- public static string SWITCH_SEQ_BRED_get(){
-var _ptr = __SWITCH_SEQ_BRED_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_BRED_get(){
+var _ptr = __SWITCH_SEQ_BRED_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_BGREEN_get")]
public static extern IntPtr __SWITCH_SEQ_BGREEN_get();
- public static string SWITCH_SEQ_BGREEN_get(){
-var _ptr = __SWITCH_SEQ_BGREEN_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_BGREEN_get(){
+var _ptr = __SWITCH_SEQ_BGREEN_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_BYELLOW_get")]
public static extern IntPtr __SWITCH_SEQ_BYELLOW_get();
- public static string SWITCH_SEQ_BYELLOW_get(){
-var _ptr = __SWITCH_SEQ_BYELLOW_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_BYELLOW_get(){
+var _ptr = __SWITCH_SEQ_BYELLOW_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_BBLUE_get")]
public static extern IntPtr __SWITCH_SEQ_BBLUE_get();
- public static string SWITCH_SEQ_BBLUE_get(){
-var _ptr = __SWITCH_SEQ_BBLUE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_BBLUE_get(){
+var _ptr = __SWITCH_SEQ_BBLUE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_BMAGEN_get")]
public static extern IntPtr __SWITCH_SEQ_BMAGEN_get();
- public static string SWITCH_SEQ_BMAGEN_get(){
-var _ptr = __SWITCH_SEQ_BMAGEN_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_BMAGEN_get(){
+var _ptr = __SWITCH_SEQ_BMAGEN_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_BCYAN_get")]
public static extern IntPtr __SWITCH_SEQ_BCYAN_get();
- public static string SWITCH_SEQ_BCYAN_get(){
-var _ptr = __SWITCH_SEQ_BCYAN_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_BCYAN_get(){
+var _ptr = __SWITCH_SEQ_BCYAN_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_BWHITE_get")]
public static extern IntPtr __SWITCH_SEQ_BWHITE_get();
- public static string SWITCH_SEQ_BWHITE_get(){
-var _ptr = __SWITCH_SEQ_BWHITE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_BWHITE_get(){
+var _ptr = __SWITCH_SEQ_BWHITE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_HOME_get")]
public static extern IntPtr __SWITCH_SEQ_HOME_get();
- public static string SWITCH_SEQ_HOME_get(){
-var _ptr = __SWITCH_SEQ_HOME_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_HOME_get(){
+var _ptr = __SWITCH_SEQ_HOME_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_CLEARLINE_get")]
public static extern IntPtr __SWITCH_SEQ_CLEARLINE_get();
- public static string SWITCH_SEQ_CLEARLINE_get(){
-var _ptr = __SWITCH_SEQ_CLEARLINE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_CLEARLINE_get(){
+var _ptr = __SWITCH_SEQ_CLEARLINE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_CLEARLINEEND_get")]
public static extern IntPtr __SWITCH_SEQ_CLEARLINEEND_get();
- public static string SWITCH_SEQ_CLEARLINEEND_get(){
-var _ptr = __SWITCH_SEQ_CLEARLINEEND_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_CLEARLINEEND_get(){
+var _ptr = __SWITCH_SEQ_CLEARLINEEND_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SEQ_CLEARSCR_get")]
public static extern IntPtr __SWITCH_SEQ_CLEARSCR_get();
- public static string SWITCH_SEQ_CLEARSCR_get(){
-var _ptr = __SWITCH_SEQ_CLEARSCR_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SEQ_CLEARSCR_get(){
+var _ptr = __SWITCH_SEQ_CLEARSCR_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_DEFAULT_DTMF_DURATION_get")]
@@ -587,346 +587,354 @@
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_PATH_SEPARATOR_get")]
public static extern IntPtr __SWITCH_PATH_SEPARATOR_get();
- public static string SWITCH_PATH_SEPARATOR_get(){
-var _ptr = __SWITCH_PATH_SEPARATOR_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_PATH_SEPARATOR_get(){
+var _ptr = __SWITCH_PATH_SEPARATOR_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_URL_SEPARATOR_get")]
public static extern IntPtr __SWITCH_URL_SEPARATOR_get();
- public static string SWITCH_URL_SEPARATOR_get(){
-var _ptr = __SWITCH_URL_SEPARATOR_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_URL_SEPARATOR_get(){
+var _ptr = __SWITCH_URL_SEPARATOR_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get")]
public static extern IntPtr __SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get();
- public static string SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get(){
-var _ptr = __SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get(){
+var _ptr = __SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get")]
public static extern IntPtr __SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get();
- public static string SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get(){
-var _ptr = __SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get(){
+var _ptr = __SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+return _res; }
+
+ [DllImport("mod_mono", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get")]
+ public static extern IntPtr __SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get();
+ public static string SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get(){
+var _ptr = __SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_CALL_TIMEOUT_VARIABLE_get")]
public static extern IntPtr __SWITCH_CALL_TIMEOUT_VARIABLE_get();
- public static string SWITCH_CALL_TIMEOUT_VARIABLE_get(){
-var _ptr = __SWITCH_CALL_TIMEOUT_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_CALL_TIMEOUT_VARIABLE_get(){
+var _ptr = __SWITCH_CALL_TIMEOUT_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_HOLDING_UUID_VARIABLE_get")]
public static extern IntPtr __SWITCH_HOLDING_UUID_VARIABLE_get();
- public static string SWITCH_HOLDING_UUID_VARIABLE_get(){
-var _ptr = __SWITCH_HOLDING_UUID_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_HOLDING_UUID_VARIABLE_get(){
+var _ptr = __SWITCH_HOLDING_UUID_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_API_BRIDGE_END_VARIABLE_get")]
public static extern IntPtr __SWITCH_API_BRIDGE_END_VARIABLE_get();
- public static string SWITCH_API_BRIDGE_END_VARIABLE_get(){
-var _ptr = __SWITCH_API_BRIDGE_END_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_API_BRIDGE_END_VARIABLE_get(){
+var _ptr = __SWITCH_API_BRIDGE_END_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_API_HANGUP_HOOK_VARIABLE_get")]
public static extern IntPtr __SWITCH_API_HANGUP_HOOK_VARIABLE_get();
- public static string SWITCH_API_HANGUP_HOOK_VARIABLE_get(){
-var _ptr = __SWITCH_API_HANGUP_HOOK_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_API_HANGUP_HOOK_VARIABLE_get(){
+var _ptr = __SWITCH_API_HANGUP_HOOK_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_PROCESS_CDR_VARIABLE_get")]
public static extern IntPtr __SWITCH_PROCESS_CDR_VARIABLE_get();
- public static string SWITCH_PROCESS_CDR_VARIABLE_get(){
-var _ptr = __SWITCH_PROCESS_CDR_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_PROCESS_CDR_VARIABLE_get(){
+var _ptr = __SWITCH_PROCESS_CDR_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_BRIDGE_CHANNEL_VARIABLE_get")]
public static extern IntPtr __SWITCH_BRIDGE_CHANNEL_VARIABLE_get();
- public static string SWITCH_BRIDGE_CHANNEL_VARIABLE_get(){
-var _ptr = __SWITCH_BRIDGE_CHANNEL_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_BRIDGE_CHANNEL_VARIABLE_get(){
+var _ptr = __SWITCH_BRIDGE_CHANNEL_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_CHANNEL_NAME_VARIABLE_get")]
public static extern IntPtr __SWITCH_CHANNEL_NAME_VARIABLE_get();
- public static string SWITCH_CHANNEL_NAME_VARIABLE_get(){
-var _ptr = __SWITCH_CHANNEL_NAME_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_CHANNEL_NAME_VARIABLE_get(){
+var _ptr = __SWITCH_CHANNEL_NAME_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_BRIDGE_UUID_VARIABLE_get")]
public static extern IntPtr __SWITCH_BRIDGE_UUID_VARIABLE_get();
- public static string SWITCH_BRIDGE_UUID_VARIABLE_get(){
-var _ptr = __SWITCH_BRIDGE_UUID_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_BRIDGE_UUID_VARIABLE_get(){
+var _ptr = __SWITCH_BRIDGE_UUID_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get")]
public static extern IntPtr __SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get();
- public static string SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get(){
-var _ptr = __SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get(){
+var _ptr = __SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get")]
public static extern IntPtr __SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get();
- public static string SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get(){
-var _ptr = __SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get(){
+var _ptr = __SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get")]
public static extern IntPtr __SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get();
- public static string SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get(){
-var _ptr = __SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get(){
+var _ptr = __SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_BYPASS_MEDIA_VARIABLE_get")]
public static extern IntPtr __SWITCH_BYPASS_MEDIA_VARIABLE_get();
- public static string SWITCH_BYPASS_MEDIA_VARIABLE_get(){
-var _ptr = __SWITCH_BYPASS_MEDIA_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_BYPASS_MEDIA_VARIABLE_get(){
+var _ptr = __SWITCH_BYPASS_MEDIA_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_PROXY_MEDIA_VARIABLE_get")]
public static extern IntPtr __SWITCH_PROXY_MEDIA_VARIABLE_get();
- public static string SWITCH_PROXY_MEDIA_VARIABLE_get(){
-var _ptr = __SWITCH_PROXY_MEDIA_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_PROXY_MEDIA_VARIABLE_get(){
+var _ptr = __SWITCH_PROXY_MEDIA_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get")]
public static extern IntPtr __SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get();
- public static string SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get(){
-var _ptr = __SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get(){
+var _ptr = __SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_HOLD_MUSIC_VARIABLE_get")]
public static extern IntPtr __SWITCH_HOLD_MUSIC_VARIABLE_get();
- public static string SWITCH_HOLD_MUSIC_VARIABLE_get(){
-var _ptr = __SWITCH_HOLD_MUSIC_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_HOLD_MUSIC_VARIABLE_get(){
+var _ptr = __SWITCH_HOLD_MUSIC_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_EXPORT_VARS_VARIABLE_get")]
public static extern IntPtr __SWITCH_EXPORT_VARS_VARIABLE_get();
- public static string SWITCH_EXPORT_VARS_VARIABLE_get(){
-var _ptr = __SWITCH_EXPORT_VARS_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_EXPORT_VARS_VARIABLE_get(){
+var _ptr = __SWITCH_EXPORT_VARS_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_R_SDP_VARIABLE_get")]
public static extern IntPtr __SWITCH_R_SDP_VARIABLE_get();
- public static string SWITCH_R_SDP_VARIABLE_get(){
-var _ptr = __SWITCH_R_SDP_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_R_SDP_VARIABLE_get(){
+var _ptr = __SWITCH_R_SDP_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_L_SDP_VARIABLE_get")]
public static extern IntPtr __SWITCH_L_SDP_VARIABLE_get();
- public static string SWITCH_L_SDP_VARIABLE_get(){
-var _ptr = __SWITCH_L_SDP_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_L_SDP_VARIABLE_get(){
+var _ptr = __SWITCH_L_SDP_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_B_SDP_VARIABLE_get")]
public static extern IntPtr __SWITCH_B_SDP_VARIABLE_get();
- public static string SWITCH_B_SDP_VARIABLE_get(){
-var _ptr = __SWITCH_B_SDP_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_B_SDP_VARIABLE_get(){
+var _ptr = __SWITCH_B_SDP_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_BRIDGE_VARIABLE_get")]
public static extern IntPtr __SWITCH_BRIDGE_VARIABLE_get();
- public static string SWITCH_BRIDGE_VARIABLE_get(){
-var _ptr = __SWITCH_BRIDGE_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_BRIDGE_VARIABLE_get(){
+var _ptr = __SWITCH_BRIDGE_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SIGNAL_BRIDGE_VARIABLE_get")]
public static extern IntPtr __SWITCH_SIGNAL_BRIDGE_VARIABLE_get();
- public static string SWITCH_SIGNAL_BRIDGE_VARIABLE_get(){
-var _ptr = __SWITCH_SIGNAL_BRIDGE_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SIGNAL_BRIDGE_VARIABLE_get(){
+var _ptr = __SWITCH_SIGNAL_BRIDGE_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SIGNAL_BOND_VARIABLE_get")]
public static extern IntPtr __SWITCH_SIGNAL_BOND_VARIABLE_get();
- public static string SWITCH_SIGNAL_BOND_VARIABLE_get(){
-var _ptr = __SWITCH_SIGNAL_BOND_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SIGNAL_BOND_VARIABLE_get(){
+var _ptr = __SWITCH_SIGNAL_BOND_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_ORIGINATOR_VARIABLE_get")]
public static extern IntPtr __SWITCH_ORIGINATOR_VARIABLE_get();
- public static string SWITCH_ORIGINATOR_VARIABLE_get(){
-var _ptr = __SWITCH_ORIGINATOR_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_ORIGINATOR_VARIABLE_get(){
+var _ptr = __SWITCH_ORIGINATOR_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_ORIGINATOR_CODEC_VARIABLE_get")]
public static extern IntPtr __SWITCH_ORIGINATOR_CODEC_VARIABLE_get();
- public static string SWITCH_ORIGINATOR_CODEC_VARIABLE_get(){
-var _ptr = __SWITCH_ORIGINATOR_CODEC_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_ORIGINATOR_CODEC_VARIABLE_get(){
+var _ptr = __SWITCH_ORIGINATOR_CODEC_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_LOCAL_MEDIA_IP_VARIABLE_get")]
public static extern IntPtr __SWITCH_LOCAL_MEDIA_IP_VARIABLE_get();
- public static string SWITCH_LOCAL_MEDIA_IP_VARIABLE_get(){
-var _ptr = __SWITCH_LOCAL_MEDIA_IP_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_LOCAL_MEDIA_IP_VARIABLE_get(){
+var _ptr = __SWITCH_LOCAL_MEDIA_IP_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get")]
public static extern IntPtr __SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get();
- public static string SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get(){
-var _ptr = __SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get(){
+var _ptr = __SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_REMOTE_MEDIA_IP_VARIABLE_get")]
public static extern IntPtr __SWITCH_REMOTE_MEDIA_IP_VARIABLE_get();
- public static string SWITCH_REMOTE_MEDIA_IP_VARIABLE_get(){
-var _ptr = __SWITCH_REMOTE_MEDIA_IP_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_REMOTE_MEDIA_IP_VARIABLE_get(){
+var _ptr = __SWITCH_REMOTE_MEDIA_IP_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get")]
public static extern IntPtr __SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get();
- public static string SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get(){
-var _ptr = __SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get(){
+var _ptr = __SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_REMOTE_VIDEO_IP_VARIABLE_get")]
public static extern IntPtr __SWITCH_REMOTE_VIDEO_IP_VARIABLE_get();
- public static string SWITCH_REMOTE_VIDEO_IP_VARIABLE_get(){
-var _ptr = __SWITCH_REMOTE_VIDEO_IP_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_REMOTE_VIDEO_IP_VARIABLE_get(){
+var _ptr = __SWITCH_REMOTE_VIDEO_IP_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get")]
public static extern IntPtr __SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get();
- public static string SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get(){
-var _ptr = __SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get(){
+var _ptr = __SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_LOCAL_VIDEO_IP_VARIABLE_get")]
public static extern IntPtr __SWITCH_LOCAL_VIDEO_IP_VARIABLE_get();
- public static string SWITCH_LOCAL_VIDEO_IP_VARIABLE_get(){
-var _ptr = __SWITCH_LOCAL_VIDEO_IP_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_LOCAL_VIDEO_IP_VARIABLE_get(){
+var _ptr = __SWITCH_LOCAL_VIDEO_IP_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get")]
public static extern IntPtr __SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get();
- public static string SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get(){
-var _ptr = __SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get(){
+var _ptr = __SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get")]
public static extern IntPtr __SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get();
- public static string SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get(){
-var _ptr = __SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get(){
+var _ptr = __SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get")]
public static extern IntPtr __SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get();
- public static string SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get(){
-var _ptr = __SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get(){
+var _ptr = __SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get")]
public static extern IntPtr __SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get();
- public static string SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get(){
-var _ptr = __SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get(){
+var _ptr = __SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_MAX_FORWARDS_VARIABLE_get")]
public static extern IntPtr __SWITCH_MAX_FORWARDS_VARIABLE_get();
- public static string SWITCH_MAX_FORWARDS_VARIABLE_get(){
-var _ptr = __SWITCH_MAX_FORWARDS_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_MAX_FORWARDS_VARIABLE_get(){
+var _ptr = __SWITCH_MAX_FORWARDS_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_DISABLE_APP_LOG_VARIABLE_get")]
public static extern IntPtr __SWITCH_DISABLE_APP_LOG_VARIABLE_get();
- public static string SWITCH_DISABLE_APP_LOG_VARIABLE_get(){
-var _ptr = __SWITCH_DISABLE_APP_LOG_VARIABLE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_DISABLE_APP_LOG_VARIABLE_get(){
+var _ptr = __SWITCH_DISABLE_APP_LOG_VARIABLE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_SPEECH_KEY_get")]
public static extern IntPtr __SWITCH_SPEECH_KEY_get();
- public static string SWITCH_SPEECH_KEY_get(){
-var _ptr = __SWITCH_SPEECH_KEY_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_SPEECH_KEY_get(){
+var _ptr = __SWITCH_SPEECH_KEY_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_UUID_BRIDGE_get")]
public static extern IntPtr __SWITCH_UUID_BRIDGE_get();
- public static string SWITCH_UUID_BRIDGE_get(){
-var _ptr = __SWITCH_UUID_BRIDGE_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_UUID_BRIDGE_get(){
+var _ptr = __SWITCH_UUID_BRIDGE_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_BITS_PER_BYTE_get")]
@@ -1039,10 +1047,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_directories_base_dir_get")]
public static extern IntPtr __switch_directories_base_dir_get(HandleRef jarg1);
- public static string switch_directories_base_dir_get(HandleRef jarg1){
-var _ptr = __switch_directories_base_dir_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_directories_base_dir_get(HandleRef jarg1){
+var _ptr = __switch_directories_base_dir_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_directories_mod_dir_set")]
@@ -1050,10 +1058,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_directories_mod_dir_get")]
public static extern IntPtr __switch_directories_mod_dir_get(HandleRef jarg1);
- public static string switch_directories_mod_dir_get(HandleRef jarg1){
-var _ptr = __switch_directories_mod_dir_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_directories_mod_dir_get(HandleRef jarg1){
+var _ptr = __switch_directories_mod_dir_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_directories_conf_dir_set")]
@@ -1061,10 +1069,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_directories_conf_dir_get")]
public static extern IntPtr __switch_directories_conf_dir_get(HandleRef jarg1);
- public static string switch_directories_conf_dir_get(HandleRef jarg1){
-var _ptr = __switch_directories_conf_dir_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_directories_conf_dir_get(HandleRef jarg1){
+var _ptr = __switch_directories_conf_dir_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_directories_log_dir_set")]
@@ -1072,10 +1080,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_directories_log_dir_get")]
public static extern IntPtr __switch_directories_log_dir_get(HandleRef jarg1);
- public static string switch_directories_log_dir_get(HandleRef jarg1){
-var _ptr = __switch_directories_log_dir_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_directories_log_dir_get(HandleRef jarg1){
+var _ptr = __switch_directories_log_dir_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_directories_db_dir_set")]
@@ -1083,10 +1091,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_directories_db_dir_get")]
public static extern IntPtr __switch_directories_db_dir_get(HandleRef jarg1);
- public static string switch_directories_db_dir_get(HandleRef jarg1){
-var _ptr = __switch_directories_db_dir_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_directories_db_dir_get(HandleRef jarg1){
+var _ptr = __switch_directories_db_dir_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_directories_script_dir_set")]
@@ -1094,10 +1102,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_directories_script_dir_get")]
public static extern IntPtr __switch_directories_script_dir_get(HandleRef jarg1);
- public static string switch_directories_script_dir_get(HandleRef jarg1){
-var _ptr = __switch_directories_script_dir_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_directories_script_dir_get(HandleRef jarg1){
+var _ptr = __switch_directories_script_dir_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_directories_temp_dir_set")]
@@ -1105,10 +1113,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_directories_temp_dir_get")]
public static extern IntPtr __switch_directories_temp_dir_get(HandleRef jarg1);
- public static string switch_directories_temp_dir_get(HandleRef jarg1){
-var _ptr = __switch_directories_temp_dir_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_directories_temp_dir_get(HandleRef jarg1){
+var _ptr = __switch_directories_temp_dir_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_directories_htdocs_dir_set")]
@@ -1116,10 +1124,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_directories_htdocs_dir_get")]
public static extern IntPtr __switch_directories_htdocs_dir_get(HandleRef jarg1);
- public static string switch_directories_htdocs_dir_get(HandleRef jarg1){
-var _ptr = __switch_directories_htdocs_dir_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_directories_htdocs_dir_get(HandleRef jarg1){
+var _ptr = __switch_directories_htdocs_dir_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_directories_grammar_dir_set")]
@@ -1127,10 +1135,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_directories_grammar_dir_get")]
public static extern IntPtr __switch_directories_grammar_dir_get(HandleRef jarg1);
- public static string switch_directories_grammar_dir_get(HandleRef jarg1){
-var _ptr = __switch_directories_grammar_dir_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_directories_grammar_dir_get(HandleRef jarg1){
+var _ptr = __switch_directories_grammar_dir_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_directories_storage_dir_set")]
@@ -1138,10 +1146,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_directories_storage_dir_get")]
public static extern IntPtr __switch_directories_storage_dir_get(HandleRef jarg1);
- public static string switch_directories_storage_dir_get(HandleRef jarg1){
-var _ptr = __switch_directories_storage_dir_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_directories_storage_dir_get(HandleRef jarg1){
+var _ptr = __switch_directories_storage_dir_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_new_switch_directories")]
@@ -1332,10 +1340,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_db_column_name")]
public static extern IntPtr __switch_core_db_column_name(HandleRef jarg1, int jarg2);
- public static string switch_core_db_column_name(HandleRef jarg1, int jarg2){
-var _ptr = __switch_core_db_column_name(jarg1, jarg2);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_core_db_column_name(HandleRef jarg1, int jarg2){
+var _ptr = __switch_core_db_column_name(jarg1, jarg2);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_db_column_count")]
@@ -1343,10 +1351,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_db_errmsg")]
public static extern IntPtr __switch_core_db_errmsg(HandleRef jarg1);
- public static string switch_core_db_errmsg(HandleRef jarg1){
-var _ptr = __switch_core_db_errmsg(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_core_db_errmsg(HandleRef jarg1){
+var _ptr = __switch_core_db_errmsg(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_db_exec")]
@@ -1480,10 +1488,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_mprintf")]
public static extern IntPtr __switch_mprintf(string jarg1);
- public static string switch_mprintf(string jarg1){
-var _ptr = __switch_mprintf(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_mprintf(string jarg1){
+var _ptr = __switch_mprintf(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_regex_compile")]
@@ -1563,10 +1571,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_app_log_app_get")]
public static extern IntPtr __switch_app_log_app_get(HandleRef jarg1);
- public static string switch_app_log_app_get(HandleRef jarg1){
-var _ptr = __switch_app_log_app_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_app_log_app_get(HandleRef jarg1){
+var _ptr = __switch_app_log_app_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_app_log_arg_set")]
@@ -1574,10 +1582,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_app_log_arg_get")]
public static extern IntPtr __switch_app_log_arg_get(HandleRef jarg1);
- public static string switch_app_log_arg_get(HandleRef jarg1){
-var _ptr = __switch_app_log_arg_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_app_log_arg_get(HandleRef jarg1){
+var _ptr = __switch_app_log_arg_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_app_log_next_set")]
@@ -1597,10 +1605,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_message_from_get")]
public static extern IntPtr __switch_core_session_message_from_get(HandleRef jarg1);
- public static string switch_core_session_message_from_get(HandleRef jarg1){
-var _ptr = __switch_core_session_message_from_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_core_session_message_from_get(HandleRef jarg1){
+var _ptr = __switch_core_session_message_from_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_message_message_id_set")]
@@ -1620,10 +1628,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_message_string_arg_get")]
public static extern IntPtr __switch_core_session_message_string_arg_get(HandleRef jarg1);
- public static string switch_core_session_message_string_arg_get(HandleRef jarg1){
-var _ptr = __switch_core_session_message_string_arg_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_core_session_message_string_arg_get(HandleRef jarg1){
+var _ptr = __switch_core_session_message_string_arg_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_message_string_arg_size_set")]
@@ -1655,10 +1663,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_message_string_reply_get")]
public static extern IntPtr __switch_core_session_message_string_reply_get(HandleRef jarg1);
- public static string switch_core_session_message_string_reply_get(HandleRef jarg1){
-var _ptr = __switch_core_session_message_string_reply_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_core_session_message_string_reply_get(HandleRef jarg1){
+var _ptr = __switch_core_session_message_string_reply_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_message_string_reply_size_set")]
@@ -1837,42 +1845,42 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_perform_permanent_strdup")]
public static extern IntPtr __switch_core_perform_permanent_strdup(string jarg1, string jarg2, string jarg3, int jarg4);
- public static string switch_core_perform_permanent_strdup(string jarg1, string jarg2, string jarg3, int jarg4){
-var _ptr = __switch_core_perform_permanent_strdup(jarg1, jarg2, jarg3, jarg4);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_core_perform_permanent_strdup(string jarg1, string jarg2, string jarg3, int jarg4){
+var _ptr = __switch_core_perform_permanent_strdup(jarg1, jarg2, jarg3, jarg4);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_perform_session_strdup")]
public static extern IntPtr __switch_core_perform_session_strdup(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5);
- public static string switch_core_perform_session_strdup(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5){
-var _ptr = __switch_core_perform_session_strdup(jarg1, jarg2, jarg3, jarg4, jarg5);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_core_perform_session_strdup(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5){
+var _ptr = __switch_core_perform_session_strdup(jarg1, jarg2, jarg3, jarg4, jarg5);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_perform_strdup")]
public static extern IntPtr __switch_core_perform_strdup(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5);
- public static string switch_core_perform_strdup(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5){
-var _ptr = __switch_core_perform_strdup(jarg1, jarg2, jarg3, jarg4, jarg5);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_core_perform_strdup(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5){
+var _ptr = __switch_core_perform_strdup(jarg1, jarg2, jarg3, jarg4, jarg5);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_sprintf")]
public static extern IntPtr __switch_core_session_sprintf(HandleRef jarg1, string jarg2);
- public static string switch_core_session_sprintf(HandleRef jarg1, string jarg2){
-var _ptr = __switch_core_session_sprintf(jarg1, jarg2);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_core_session_sprintf(HandleRef jarg1, string jarg2){
+var _ptr = __switch_core_session_sprintf(jarg1, jarg2);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_sprintf")]
public static extern IntPtr __switch_core_sprintf(HandleRef jarg1, string jarg2);
- public static string switch_core_sprintf(HandleRef jarg1, string jarg2){
-var _ptr = __switch_core_sprintf(jarg1, jarg2);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_core_sprintf(HandleRef jarg1, string jarg2){
+var _ptr = __switch_core_sprintf(jarg1, jarg2);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_get_pool")]
@@ -1904,18 +1912,18 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_get_uuid")]
public static extern IntPtr __switch_core_session_get_uuid(HandleRef jarg1);
- public static string switch_core_session_get_uuid(HandleRef jarg1){
-var _ptr = __switch_core_session_get_uuid(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_core_session_get_uuid(HandleRef jarg1){
+var _ptr = __switch_core_session_get_uuid(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_get_uuid")]
public static extern IntPtr __switch_core_get_uuid();
- public static string switch_core_get_uuid(){
-var _ptr = __switch_core_get_uuid();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_core_get_uuid(){
+var _ptr = __switch_core_get_uuid();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_locate")]
@@ -1923,10 +1931,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_get_variable")]
public static extern IntPtr __switch_core_get_variable(string jarg1);
- public static string switch_core_get_variable(string jarg1){
-var _ptr = __switch_core_get_variable(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_core_get_variable(string jarg1){
+var _ptr = __switch_core_get_variable(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_set_variable")]
@@ -2153,10 +2161,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_CORE_DB_get")]
public static extern IntPtr __SWITCH_CORE_DB_get();
- public static string SWITCH_CORE_DB_get(){
-var _ptr = __SWITCH_CORE_DB_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_CORE_DB_get(){
+var _ptr = __SWITCH_CORE_DB_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_perform_file_open")]
@@ -2296,10 +2304,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_mime_ext2type")]
public static extern IntPtr __switch_core_mime_ext2type(string jarg1);
- public static string switch_core_mime_ext2type(string jarg1){
-var _ptr = __switch_core_mime_ext2type(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_core_mime_ext2type(string jarg1){
+var _ptr = __switch_core_mime_ext2type(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_mime_add_type")]
@@ -2382,10 +2390,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_amp_encode")]
public static extern IntPtr __switch_amp_encode(string jarg1, string jarg2, HandleRef jarg3);
- public static string switch_amp_encode(string jarg1, string jarg2, HandleRef jarg3){
-var _ptr = __switch_amp_encode(jarg1, jarg2, jarg3);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_amp_encode(string jarg1, string jarg2, HandleRef jarg3){
+var _ptr = __switch_amp_encode(jarg1, jarg2, jarg3);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_is_digit_string")]
@@ -2399,18 +2407,18 @@
[DllImport("mod_mono", EntryPoint="CSharp_get_addr")]
public static extern IntPtr __get_addr(string jarg1, HandleRef jarg2, HandleRef jarg3);
- public static string get_addr(string jarg1, HandleRef jarg2, HandleRef jarg3){
-var _ptr = __get_addr(jarg1, jarg2, jarg3);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string get_addr(string jarg1, HandleRef jarg2, HandleRef jarg3){
+var _ptr = __get_addr(jarg1, jarg2, jarg3);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_priority_name")]
public static extern IntPtr __switch_priority_name(int jarg1);
- public static string switch_priority_name(int jarg1){
-var _ptr = __switch_priority_name(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_priority_name(int jarg1){
+var _ptr = __switch_priority_name(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_rfc2833_to_char")]
@@ -2421,10 +2429,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_clean_string")]
public static extern IntPtr __switch_clean_string(string jarg1);
- public static string switch_clean_string(string jarg1){
-var _ptr = __switch_clean_string(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_clean_string(string jarg1){
+var _ptr = __switch_clean_string(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_strstr")]
@@ -2441,26 +2449,26 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_strip_spaces")]
public static extern IntPtr __switch_strip_spaces(string jarg1);
- public static string switch_strip_spaces(string jarg1){
-var _ptr = __switch_strip_spaces(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_strip_spaces(string jarg1){
+var _ptr = __switch_strip_spaces(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_separate_paren_args")]
public static extern IntPtr __switch_separate_paren_args(string jarg1);
- public static string switch_separate_paren_args(string jarg1){
-var _ptr = __switch_separate_paren_args(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_separate_paren_args(string jarg1){
+var _ptr = __switch_separate_paren_args(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_stristr")]
public static extern IntPtr __switch_stristr(string jarg1, string jarg2);
- public static string switch_stristr(string jarg1, string jarg2){
-var _ptr = __switch_stristr(jarg1, jarg2);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_stristr(string jarg1, string jarg2){
+var _ptr = __switch_stristr(jarg1, jarg2);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_is_lan_addr")]
@@ -2468,10 +2476,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_replace_char")]
public static extern IntPtr __switch_replace_char(string jarg1, char jarg2, char jarg3, int jarg4);
- public static string switch_replace_char(string jarg1, char jarg2, char jarg3, int jarg4){
-var _ptr = __switch_replace_char(jarg1, jarg2, jarg3, jarg4);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_replace_char(string jarg1, char jarg2, char jarg3, int jarg4){
+var _ptr = __switch_replace_char(jarg1, jarg2, jarg3, jarg4);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_ast2regex")]
@@ -2479,10 +2487,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_escape_char")]
public static extern IntPtr __switch_escape_char(HandleRef jarg1, string jarg2, string jarg3, char jarg4);
- public static string switch_escape_char(HandleRef jarg1, string jarg2, string jarg3, char jarg4){
-var _ptr = __switch_escape_char(jarg1, jarg2, jarg3, jarg4);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_escape_char(HandleRef jarg1, string jarg2, string jarg3, char jarg4){
+var _ptr = __switch_escape_char(jarg1, jarg2, jarg3, jarg4);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_socket_waitfor")]
@@ -2490,18 +2498,18 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_cut_path")]
public static extern IntPtr __switch_cut_path(string jarg1);
- public static string switch_cut_path(string jarg1){
-var _ptr = __switch_cut_path(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_cut_path(string jarg1){
+var _ptr = __switch_cut_path(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_string_replace")]
public static extern IntPtr __switch_string_replace(string jarg1, string jarg2, string jarg3);
- public static string switch_string_replace(string jarg1, string jarg2, string jarg3){
-var _ptr = __switch_string_replace(jarg1, jarg2, jarg3);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_string_replace(string jarg1, string jarg2, string jarg3){
+var _ptr = __switch_string_replace(jarg1, jarg2, jarg3);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_string_match")]
@@ -2512,10 +2520,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_url_decode")]
public static extern IntPtr __switch_url_decode(string jarg1);
- public static string switch_url_decode(string jarg1){
-var _ptr = __switch_url_decode(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_url_decode(string jarg1){
+var _ptr = __switch_url_decode(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_simple_email")]
@@ -2523,10 +2531,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_find_end_paren")]
public static extern IntPtr __switch_find_end_paren(string jarg1, char jarg2, char jarg3);
- public static string switch_find_end_paren(string jarg1, char jarg2, char jarg3){
-var _ptr = __switch_find_end_paren(jarg1, jarg2, jarg3);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_find_end_paren(string jarg1, char jarg2, char jarg3){
+var _ptr = __switch_find_end_paren(jarg1, jarg2, jarg3);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_parse_cidr")]
@@ -2549,10 +2557,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_username_get")]
public static extern IntPtr __switch_caller_profile_username_get(HandleRef jarg1);
- public static string switch_caller_profile_username_get(HandleRef jarg1){
-var _ptr = __switch_caller_profile_username_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_caller_profile_username_get(HandleRef jarg1){
+var _ptr = __switch_caller_profile_username_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_dialplan_set")]
@@ -2560,10 +2568,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_dialplan_get")]
public static extern IntPtr __switch_caller_profile_dialplan_get(HandleRef jarg1);
- public static string switch_caller_profile_dialplan_get(HandleRef jarg1){
-var _ptr = __switch_caller_profile_dialplan_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_caller_profile_dialplan_get(HandleRef jarg1){
+var _ptr = __switch_caller_profile_dialplan_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_caller_id_name_set")]
@@ -2571,10 +2579,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_caller_id_name_get")]
public static extern IntPtr __switch_caller_profile_caller_id_name_get(HandleRef jarg1);
- public static string switch_caller_profile_caller_id_name_get(HandleRef jarg1){
-var _ptr = __switch_caller_profile_caller_id_name_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_caller_profile_caller_id_name_get(HandleRef jarg1){
+var _ptr = __switch_caller_profile_caller_id_name_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_caller_id_number_set")]
@@ -2582,10 +2590,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_caller_id_number_get")]
public static extern IntPtr __switch_caller_profile_caller_id_number_get(HandleRef jarg1);
- public static string switch_caller_profile_caller_id_number_get(HandleRef jarg1){
-var _ptr = __switch_caller_profile_caller_id_number_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_caller_profile_caller_id_number_get(HandleRef jarg1){
+var _ptr = __switch_caller_profile_caller_id_number_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_caller_ton_set")]
@@ -2605,10 +2613,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_network_addr_get")]
public static extern IntPtr __switch_caller_profile_network_addr_get(HandleRef jarg1);
- public static string switch_caller_profile_network_addr_get(HandleRef jarg1){
-var _ptr = __switch_caller_profile_network_addr_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_caller_profile_network_addr_get(HandleRef jarg1){
+var _ptr = __switch_caller_profile_network_addr_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_ani_set")]
@@ -2616,10 +2624,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_ani_get")]
public static extern IntPtr __switch_caller_profile_ani_get(HandleRef jarg1);
- public static string switch_caller_profile_ani_get(HandleRef jarg1){
-var _ptr = __switch_caller_profile_ani_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_caller_profile_ani_get(HandleRef jarg1){
+var _ptr = __switch_caller_profile_ani_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_ani_ton_set")]
@@ -2639,10 +2647,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_aniii_get")]
public static extern IntPtr __switch_caller_profile_aniii_get(HandleRef jarg1);
- public static string switch_caller_profile_aniii_get(HandleRef jarg1){
-var _ptr = __switch_caller_profile_aniii_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_caller_profile_aniii_get(HandleRef jarg1){
+var _ptr = __switch_caller_profile_aniii_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_rdnis_set")]
@@ -2650,10 +2658,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_rdnis_get")]
public static extern IntPtr __switch_caller_profile_rdnis_get(HandleRef jarg1);
- public static string switch_caller_profile_rdnis_get(HandleRef jarg1){
-var _ptr = __switch_caller_profile_rdnis_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_caller_profile_rdnis_get(HandleRef jarg1){
+var _ptr = __switch_caller_profile_rdnis_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_rdnis_ton_set")]
@@ -2673,10 +2681,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_destination_number_get")]
public static extern IntPtr __switch_caller_profile_destination_number_get(HandleRef jarg1);
- public static string switch_caller_profile_destination_number_get(HandleRef jarg1){
-var _ptr = __switch_caller_profile_destination_number_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_caller_profile_destination_number_get(HandleRef jarg1){
+var _ptr = __switch_caller_profile_destination_number_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_destination_number_ton_set")]
@@ -2696,10 +2704,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_source_get")]
public static extern IntPtr __switch_caller_profile_source_get(HandleRef jarg1);
- public static string switch_caller_profile_source_get(HandleRef jarg1){
-var _ptr = __switch_caller_profile_source_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_caller_profile_source_get(HandleRef jarg1){
+var _ptr = __switch_caller_profile_source_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_chan_name_set")]
@@ -2707,10 +2715,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_chan_name_get")]
public static extern IntPtr __switch_caller_profile_chan_name_get(HandleRef jarg1);
- public static string switch_caller_profile_chan_name_get(HandleRef jarg1){
-var _ptr = __switch_caller_profile_chan_name_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_caller_profile_chan_name_get(HandleRef jarg1){
+var _ptr = __switch_caller_profile_chan_name_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_uuid_set")]
@@ -2718,10 +2726,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_uuid_get")]
public static extern IntPtr __switch_caller_profile_uuid_get(HandleRef jarg1);
- public static string switch_caller_profile_uuid_get(HandleRef jarg1){
-var _ptr = __switch_caller_profile_uuid_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_caller_profile_uuid_get(HandleRef jarg1){
+var _ptr = __switch_caller_profile_uuid_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_context_set")]
@@ -2729,10 +2737,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_context_get")]
public static extern IntPtr __switch_caller_profile_context_get(HandleRef jarg1);
- public static string switch_caller_profile_context_get(HandleRef jarg1){
-var _ptr = __switch_caller_profile_context_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_caller_profile_context_get(HandleRef jarg1){
+var _ptr = __switch_caller_profile_context_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_profile_index_set")]
@@ -2740,10 +2748,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_profile_index_get")]
public static extern IntPtr __switch_caller_profile_profile_index_get(HandleRef jarg1);
- public static string switch_caller_profile_profile_index_get(HandleRef jarg1){
-var _ptr = __switch_caller_profile_profile_index_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_caller_profile_profile_index_get(HandleRef jarg1){
+var _ptr = __switch_caller_profile_profile_index_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_flags_set")]
@@ -2799,10 +2807,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_application_application_name_get")]
public static extern IntPtr __switch_caller_application_application_name_get(HandleRef jarg1);
- public static string switch_caller_application_application_name_get(HandleRef jarg1){
-var _ptr = __switch_caller_application_application_name_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_caller_application_application_name_get(HandleRef jarg1){
+var _ptr = __switch_caller_application_application_name_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_application_application_data_set")]
@@ -2810,10 +2818,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_application_application_data_get")]
public static extern IntPtr __switch_caller_application_application_data_get(HandleRef jarg1);
- public static string switch_caller_application_application_data_get(HandleRef jarg1){
-var _ptr = __switch_caller_application_application_data_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_caller_application_application_data_get(HandleRef jarg1){
+var _ptr = __switch_caller_application_application_data_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_application_application_function_set")]
@@ -2839,10 +2847,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_extension_extension_name_get")]
public static extern IntPtr __switch_caller_extension_extension_name_get(HandleRef jarg1);
- public static string switch_caller_extension_extension_name_get(HandleRef jarg1){
-var _ptr = __switch_caller_extension_extension_name_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_caller_extension_extension_name_get(HandleRef jarg1){
+var _ptr = __switch_caller_extension_extension_name_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_extension_extension_number_set")]
@@ -2850,10 +2858,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_extension_extension_number_get")]
public static extern IntPtr __switch_caller_extension_extension_number_get(HandleRef jarg1);
- public static string switch_caller_extension_extension_number_get(HandleRef jarg1){
-var _ptr = __switch_caller_extension_extension_number_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_caller_extension_extension_number_get(HandleRef jarg1){
+var _ptr = __switch_caller_extension_extension_number_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_extension_current_application_set")]
@@ -2900,10 +2908,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_get_field_by_name")]
public static extern IntPtr __switch_caller_get_field_by_name(HandleRef jarg1, string jarg2);
- public static string switch_caller_get_field_by_name(HandleRef jarg1, string jarg2){
-var _ptr = __switch_caller_get_field_by_name(jarg1, jarg2);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_caller_get_field_by_name(HandleRef jarg1, string jarg2){
+var _ptr = __switch_caller_get_field_by_name(jarg1, jarg2);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_new")]
@@ -2929,10 +2937,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_frame_source_get")]
public static extern IntPtr __switch_frame_source_get(HandleRef jarg1);
- public static string switch_frame_source_get(HandleRef jarg1){
-var _ptr = __switch_frame_source_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_frame_source_get(HandleRef jarg1){
+var _ptr = __switch_frame_source_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_frame_packet_set")]
@@ -3234,10 +3242,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_endpoint_interface_interface_name_get")]
public static extern IntPtr __switch_endpoint_interface_interface_name_get(HandleRef jarg1);
- public static string switch_endpoint_interface_interface_name_get(HandleRef jarg1){
-var _ptr = __switch_endpoint_interface_interface_name_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_endpoint_interface_interface_name_get(HandleRef jarg1){
+var _ptr = __switch_endpoint_interface_interface_name_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_endpoint_interface_io_routines_set")]
@@ -3335,10 +3343,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_timer_interface_interface_name_get")]
public static extern IntPtr __switch_timer_interface_interface_name_get(HandleRef jarg1);
- public static string switch_timer_interface_interface_name_get(HandleRef jarg1){
-var _ptr = __switch_timer_interface_interface_name_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_timer_interface_interface_name_get(HandleRef jarg1){
+var _ptr = __switch_timer_interface_interface_name_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_timer_interface_timer_init_set")]
@@ -3394,10 +3402,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_dialplan_interface_interface_name_get")]
public static extern IntPtr __switch_dialplan_interface_interface_name_get(HandleRef jarg1);
- public static string switch_dialplan_interface_interface_name_get(HandleRef jarg1){
-var _ptr = __switch_dialplan_interface_interface_name_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_dialplan_interface_interface_name_get(HandleRef jarg1){
+var _ptr = __switch_dialplan_interface_interface_name_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_dialplan_interface_hunt_function_set")]
@@ -3423,10 +3431,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_file_interface_interface_name_get")]
public static extern IntPtr __switch_file_interface_interface_name_get(HandleRef jarg1);
- public static string switch_file_interface_interface_name_get(HandleRef jarg1){
-var _ptr = __switch_file_interface_interface_name_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_file_interface_interface_name_get(HandleRef jarg1){
+var _ptr = __switch_file_interface_interface_name_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_file_interface_file_open_set")]
@@ -3590,10 +3598,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_file_handle_handler_get")]
public static extern IntPtr __switch_file_handle_handler_get(HandleRef jarg1);
- public static string switch_file_handle_handler_get(HandleRef jarg1){
-var _ptr = __switch_file_handle_handler_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_file_handle_handler_get(HandleRef jarg1){
+var _ptr = __switch_file_handle_handler_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_file_handle_pos_set")]
@@ -3673,10 +3681,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_file_handle_file_get")]
public static extern IntPtr __switch_file_handle_file_get(HandleRef jarg1);
- public static string switch_file_handle_file_get(HandleRef jarg1){
-var _ptr = __switch_file_handle_file_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_file_handle_file_get(HandleRef jarg1){
+var _ptr = __switch_file_handle_file_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_file_handle_func_set")]
@@ -3684,10 +3692,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_file_handle_func_get")]
public static extern IntPtr __switch_file_handle_func_get(HandleRef jarg1);
- public static string switch_file_handle_func_get(HandleRef jarg1){
-var _ptr = __switch_file_handle_func_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_file_handle_func_get(HandleRef jarg1){
+var _ptr = __switch_file_handle_func_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_file_handle_line_set")]
@@ -3707,10 +3715,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_asr_interface_interface_name_get")]
public static extern IntPtr __switch_asr_interface_interface_name_get(HandleRef jarg1);
- public static string switch_asr_interface_interface_name_get(HandleRef jarg1){
-var _ptr = __switch_asr_interface_interface_name_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_asr_interface_interface_name_get(HandleRef jarg1){
+var _ptr = __switch_asr_interface_interface_name_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_asr_interface_asr_open_set")]
@@ -3796,10 +3804,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_asr_handle_name_get")]
public static extern IntPtr __switch_asr_handle_name_get(HandleRef jarg1);
- public static string switch_asr_handle_name_get(HandleRef jarg1){
-var _ptr = __switch_asr_handle_name_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_asr_handle_name_get(HandleRef jarg1){
+var _ptr = __switch_asr_handle_name_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_asr_handle_codec_set")]
@@ -3807,10 +3815,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_asr_handle_codec_get")]
public static extern IntPtr __switch_asr_handle_codec_get(HandleRef jarg1);
- public static string switch_asr_handle_codec_get(HandleRef jarg1){
-var _ptr = __switch_asr_handle_codec_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_asr_handle_codec_get(HandleRef jarg1){
+var _ptr = __switch_asr_handle_codec_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_asr_handle_rate_set")]
@@ -3824,10 +3832,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_asr_handle_grammar_get")]
public static extern IntPtr __switch_asr_handle_grammar_get(HandleRef jarg1);
- public static string switch_asr_handle_grammar_get(HandleRef jarg1){
-var _ptr = __switch_asr_handle_grammar_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_asr_handle_grammar_get(HandleRef jarg1){
+var _ptr = __switch_asr_handle_grammar_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_asr_handle_param_set")]
@@ -3835,10 +3843,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_asr_handle_param_get")]
public static extern IntPtr __switch_asr_handle_param_get(HandleRef jarg1);
- public static string switch_asr_handle_param_get(HandleRef jarg1){
-var _ptr = __switch_asr_handle_param_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_asr_handle_param_get(HandleRef jarg1){
+var _ptr = __switch_asr_handle_param_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_asr_handle_memory_pool_set")]
@@ -3864,10 +3872,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_speech_interface_interface_name_get")]
public static extern IntPtr __switch_speech_interface_interface_name_get(HandleRef jarg1);
- public static string switch_speech_interface_interface_name_get(HandleRef jarg1){
-var _ptr = __switch_speech_interface_interface_name_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_speech_interface_interface_name_get(HandleRef jarg1){
+var _ptr = __switch_speech_interface_interface_name_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_speech_interface_speech_open_set")]
@@ -3947,10 +3955,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_speech_handle_name_get")]
public static extern IntPtr __switch_speech_handle_name_get(HandleRef jarg1);
- public static string switch_speech_handle_name_get(HandleRef jarg1){
-var _ptr = __switch_speech_handle_name_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_speech_handle_name_get(HandleRef jarg1){
+var _ptr = __switch_speech_handle_name_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_speech_handle_rate_set")]
@@ -3976,10 +3984,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_speech_handle_voice_get")]
public static extern IntPtr __switch_speech_handle_voice_get(HandleRef jarg1);
- public static string switch_speech_handle_voice_get(HandleRef jarg1){
-var _ptr = __switch_speech_handle_voice_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_speech_handle_voice_get(HandleRef jarg1){
+var _ptr = __switch_speech_handle_voice_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_speech_handle_engine_set")]
@@ -3987,10 +3995,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_speech_handle_engine_get")]
public static extern IntPtr __switch_speech_handle_engine_get(HandleRef jarg1);
- public static string switch_speech_handle_engine_get(HandleRef jarg1){
-var _ptr = __switch_speech_handle_engine_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_speech_handle_engine_get(HandleRef jarg1){
+var _ptr = __switch_speech_handle_engine_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_speech_handle_param_set")]
@@ -3998,10 +4006,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_speech_handle_param_get")]
public static extern IntPtr __switch_speech_handle_param_get(HandleRef jarg1);
- public static string switch_speech_handle_param_get(HandleRef jarg1){
-var _ptr = __switch_speech_handle_param_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_speech_handle_param_get(HandleRef jarg1){
+var _ptr = __switch_speech_handle_param_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_speech_handle_memory_pool_set")]
@@ -4027,10 +4035,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_say_interface_interface_name_get")]
public static extern IntPtr __switch_say_interface_interface_name_get(HandleRef jarg1);
- public static string switch_say_interface_interface_name_get(HandleRef jarg1){
-var _ptr = __switch_say_interface_interface_name_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_say_interface_interface_name_get(HandleRef jarg1){
+var _ptr = __switch_say_interface_interface_name_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_say_interface_say_function_set")]
@@ -4056,10 +4064,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_chat_interface_interface_name_get")]
public static extern IntPtr __switch_chat_interface_interface_name_get(HandleRef jarg1);
- public static string switch_chat_interface_interface_name_get(HandleRef jarg1){
-var _ptr = __switch_chat_interface_interface_name_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_chat_interface_interface_name_get(HandleRef jarg1){
+var _ptr = __switch_chat_interface_interface_name_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_chat_interface_chat_send_set")]
@@ -4085,10 +4093,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_management_interface_relative_oid_get")]
public static extern IntPtr __switch_management_interface_relative_oid_get(HandleRef jarg1);
- public static string switch_management_interface_relative_oid_get(HandleRef jarg1){
-var _ptr = __switch_management_interface_relative_oid_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_management_interface_relative_oid_get(HandleRef jarg1){
+var _ptr = __switch_management_interface_relative_oid_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_management_interface_management_function_set")]
@@ -4114,10 +4122,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_directory_interface_interface_name_get")]
public static extern IntPtr __switch_directory_interface_interface_name_get(HandleRef jarg1);
- public static string switch_directory_interface_interface_name_get(HandleRef jarg1){
-var _ptr = __switch_directory_interface_interface_name_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_directory_interface_interface_name_get(HandleRef jarg1){
+var _ptr = __switch_directory_interface_interface_name_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_directory_interface_directory_open_set")]
@@ -4311,10 +4319,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_codec_fmtp_in_get")]
public static extern IntPtr __switch_codec_fmtp_in_get(HandleRef jarg1);
- public static string switch_codec_fmtp_in_get(HandleRef jarg1){
-var _ptr = __switch_codec_fmtp_in_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_codec_fmtp_in_get(HandleRef jarg1){
+var _ptr = __switch_codec_fmtp_in_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_codec_fmtp_out_set")]
@@ -4322,10 +4330,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_codec_fmtp_out_get")]
public static extern IntPtr __switch_codec_fmtp_out_get(HandleRef jarg1);
- public static string switch_codec_fmtp_out_get(HandleRef jarg1){
-var _ptr = __switch_codec_fmtp_out_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_codec_fmtp_out_get(HandleRef jarg1){
+var _ptr = __switch_codec_fmtp_out_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_codec_codec_settings_set")]
@@ -4381,10 +4389,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_codec_implementation_iananame_get")]
public static extern IntPtr __switch_codec_implementation_iananame_get(HandleRef jarg1);
- public static string switch_codec_implementation_iananame_get(HandleRef jarg1){
-var _ptr = __switch_codec_implementation_iananame_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_codec_implementation_iananame_get(HandleRef jarg1){
+var _ptr = __switch_codec_implementation_iananame_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_codec_implementation_fmtp_set")]
@@ -4392,10 +4400,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_codec_implementation_fmtp_get")]
public static extern IntPtr __switch_codec_implementation_fmtp_get(HandleRef jarg1);
- public static string switch_codec_implementation_fmtp_get(HandleRef jarg1){
-var _ptr = __switch_codec_implementation_fmtp_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_codec_implementation_fmtp_get(HandleRef jarg1){
+var _ptr = __switch_codec_implementation_fmtp_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_codec_implementation_samples_per_second_set")]
@@ -4505,10 +4513,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_codec_interface_interface_name_get")]
public static extern IntPtr __switch_codec_interface_interface_name_get(HandleRef jarg1);
- public static string switch_codec_interface_interface_name_get(HandleRef jarg1){
-var _ptr = __switch_codec_interface_interface_name_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_codec_interface_interface_name_get(HandleRef jarg1){
+var _ptr = __switch_codec_interface_interface_name_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_codec_interface_implementations_set")]
@@ -4540,10 +4548,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_application_interface_interface_name_get")]
public static extern IntPtr __switch_application_interface_interface_name_get(HandleRef jarg1);
- public static string switch_application_interface_interface_name_get(HandleRef jarg1){
-var _ptr = __switch_application_interface_interface_name_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_application_interface_interface_name_get(HandleRef jarg1){
+var _ptr = __switch_application_interface_interface_name_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_application_interface_application_function_set")]
@@ -4557,10 +4565,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_application_interface_long_desc_get")]
public static extern IntPtr __switch_application_interface_long_desc_get(HandleRef jarg1);
- public static string switch_application_interface_long_desc_get(HandleRef jarg1){
-var _ptr = __switch_application_interface_long_desc_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_application_interface_long_desc_get(HandleRef jarg1){
+var _ptr = __switch_application_interface_long_desc_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_application_interface_short_desc_set")]
@@ -4568,10 +4576,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_application_interface_short_desc_get")]
public static extern IntPtr __switch_application_interface_short_desc_get(HandleRef jarg1);
- public static string switch_application_interface_short_desc_get(HandleRef jarg1){
-var _ptr = __switch_application_interface_short_desc_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_application_interface_short_desc_get(HandleRef jarg1){
+var _ptr = __switch_application_interface_short_desc_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_application_interface_syntax_set")]
@@ -4579,10 +4587,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_application_interface_syntax_get")]
public static extern IntPtr __switch_application_interface_syntax_get(HandleRef jarg1);
- public static string switch_application_interface_syntax_get(HandleRef jarg1){
-var _ptr = __switch_application_interface_syntax_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_application_interface_syntax_get(HandleRef jarg1){
+var _ptr = __switch_application_interface_syntax_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_application_interface_flags_set")]
@@ -4608,10 +4616,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_api_interface_interface_name_get")]
public static extern IntPtr __switch_api_interface_interface_name_get(HandleRef jarg1);
- public static string switch_api_interface_interface_name_get(HandleRef jarg1){
-var _ptr = __switch_api_interface_interface_name_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_api_interface_interface_name_get(HandleRef jarg1){
+var _ptr = __switch_api_interface_interface_name_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_api_interface_desc_set")]
@@ -4619,10 +4627,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_api_interface_desc_get")]
public static extern IntPtr __switch_api_interface_desc_get(HandleRef jarg1);
- public static string switch_api_interface_desc_get(HandleRef jarg1){
-var _ptr = __switch_api_interface_desc_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_api_interface_desc_get(HandleRef jarg1){
+var _ptr = __switch_api_interface_desc_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_api_interface_function_set")]
@@ -4636,10 +4644,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_api_interface_syntax_get")]
public static extern IntPtr __switch_api_interface_syntax_get(HandleRef jarg1);
- public static string switch_api_interface_syntax_get(HandleRef jarg1){
-var _ptr = __switch_api_interface_syntax_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_api_interface_syntax_get(HandleRef jarg1){
+var _ptr = __switch_api_interface_syntax_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_api_interface_next_set")]
@@ -4737,10 +4745,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_cause2str")]
public static extern IntPtr __switch_channel_cause2str(int jarg1);
- public static string switch_channel_cause2str(int jarg1){
-var _ptr = __switch_channel_cause2str(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_channel_cause2str(int jarg1){
+var _ptr = __switch_channel_cause2str(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_get_timetable")]
@@ -4778,10 +4786,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_get_uuid")]
public static extern IntPtr __switch_channel_get_uuid(HandleRef jarg1);
- public static string switch_channel_get_uuid(HandleRef jarg1){
-var _ptr = __switch_channel_get_uuid(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_channel_get_uuid(HandleRef jarg1){
+var _ptr = __switch_channel_get_uuid(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_set_variable")]
@@ -4792,18 +4800,18 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_get_variable_partner")]
public static extern IntPtr __switch_channel_get_variable_partner(HandleRef jarg1, string jarg2);
- public static string switch_channel_get_variable_partner(HandleRef jarg1, string jarg2){
-var _ptr = __switch_channel_get_variable_partner(jarg1, jarg2);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_channel_get_variable_partner(HandleRef jarg1, string jarg2){
+var _ptr = __switch_channel_get_variable_partner(jarg1, jarg2);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_get_variable")]
public static extern IntPtr __switch_channel_get_variable(HandleRef jarg1, string jarg2);
- public static string switch_channel_get_variable(HandleRef jarg1, string jarg2){
-var _ptr = __switch_channel_get_variable(jarg1, jarg2);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_channel_get_variable(HandleRef jarg1, string jarg2){
+var _ptr = __switch_channel_get_variable(jarg1, jarg2);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_variable_first")]
@@ -4874,10 +4882,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_get_name")]
public static extern IntPtr __switch_channel_get_name(HandleRef jarg1);
- public static string switch_channel_get_name(HandleRef jarg1){
-var _ptr = __switch_channel_get_name(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_channel_get_name(HandleRef jarg1){
+var _ptr = __switch_channel_get_name(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_perform_hangup")]
@@ -4903,10 +4911,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_state_name")]
public static extern IntPtr __switch_channel_state_name(int jarg1);
- public static string switch_channel_state_name(int jarg1){
-var _ptr = __switch_channel_state_name(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_channel_state_name(int jarg1){
+var _ptr = __switch_channel_state_name(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_name_state")]
@@ -4917,18 +4925,18 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_expand_variables")]
public static extern IntPtr __switch_channel_expand_variables(HandleRef jarg1, string jarg2);
- public static string switch_channel_expand_variables(HandleRef jarg1, string jarg2){
-var _ptr = __switch_channel_expand_variables(jarg1, jarg2);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_channel_expand_variables(HandleRef jarg1, string jarg2){
+var _ptr = __switch_channel_expand_variables(jarg1, jarg2);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_build_param_string")]
public static extern IntPtr __switch_channel_build_param_string(HandleRef jarg1, HandleRef jarg2, string jarg3);
- public static string switch_channel_build_param_string(HandleRef jarg1, HandleRef jarg2, string jarg3){
-var _ptr = __switch_channel_build_param_string(jarg1, jarg2, jarg3);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_channel_build_param_string(HandleRef jarg1, HandleRef jarg2, string jarg3){
+var _ptr = __switch_channel_build_param_string(jarg1, jarg2, jarg3);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_set_timestamps")]
@@ -4990,10 +4998,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_event_header_name_get")]
public static extern IntPtr __switch_event_header_name_get(HandleRef jarg1);
- public static string switch_event_header_name_get(HandleRef jarg1){
-var _ptr = __switch_event_header_name_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_event_header_name_get(HandleRef jarg1){
+var _ptr = __switch_event_header_name_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_event_header_value_set")]
@@ -5001,10 +5009,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_event_header_value_get")]
public static extern IntPtr __switch_event_header_value_get(HandleRef jarg1);
- public static string switch_event_header_value_get(HandleRef jarg1){
-var _ptr = __switch_event_header_value_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_event_header_value_get(HandleRef jarg1){
+var _ptr = __switch_event_header_value_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_event_header_next_set")]
@@ -5024,10 +5032,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_event_subclass_owner_get")]
public static extern IntPtr __switch_event_subclass_owner_get(HandleRef jarg1);
- public static string switch_event_subclass_owner_get(HandleRef jarg1){
-var _ptr = __switch_event_subclass_owner_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_event_subclass_owner_get(HandleRef jarg1){
+var _ptr = __switch_event_subclass_owner_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_event_subclass_name_set")]
@@ -5035,10 +5043,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_event_subclass_name_get")]
public static extern IntPtr __switch_event_subclass_name_get(HandleRef jarg1);
- public static string switch_event_subclass_name_get(HandleRef jarg1){
-var _ptr = __switch_event_subclass_name_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_event_subclass_name_get(HandleRef jarg1){
+var _ptr = __switch_event_subclass_name_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_new_switch_event_subclass")]
@@ -5064,10 +5072,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_event_owner_get")]
public static extern IntPtr __switch_event_owner_get(HandleRef jarg1);
- public static string switch_event_owner_get(HandleRef jarg1){
-var _ptr = __switch_event_owner_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_event_owner_get(HandleRef jarg1){
+var _ptr = __switch_event_owner_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_event_subclass_set")]
@@ -5093,10 +5101,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_event_body_get")]
public static extern IntPtr __switch_event_body_get(HandleRef jarg1);
- public static string switch_event_body_get(HandleRef jarg1){
-var _ptr = __switch_event_body_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_event_body_get(HandleRef jarg1){
+var _ptr = __switch_event_body_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_event_bind_user_data_set")]
@@ -5134,10 +5142,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_event_node_id_get")]
public static extern IntPtr __switch_event_node_id_get(HandleRef jarg1);
- public static string switch_event_node_id_get(HandleRef jarg1){
-var _ptr = __switch_event_node_id_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_event_node_id_get(HandleRef jarg1){
+var _ptr = __switch_event_node_id_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_event_node_event_id_set")]
@@ -5190,18 +5198,18 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_event_get_header")]
public static extern IntPtr __switch_event_get_header(HandleRef jarg1, string jarg2);
- public static string switch_event_get_header(HandleRef jarg1, string jarg2){
-var _ptr = __switch_event_get_header(jarg1, jarg2);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_event_get_header(HandleRef jarg1, string jarg2){
+var _ptr = __switch_event_get_header(jarg1, jarg2);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_event_get_body")]
public static extern IntPtr __switch_event_get_body(HandleRef jarg1);
- public static string switch_event_get_body(HandleRef jarg1){
-var _ptr = __switch_event_get_body(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_event_get_body(HandleRef jarg1){
+var _ptr = __switch_event_get_body(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_event_add_header_string")]
@@ -5224,10 +5232,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_event_name")]
public static extern IntPtr __switch_event_name(int jarg1);
- public static string switch_event_name(int jarg1){
-var _ptr = __switch_event_name(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_event_name(int jarg1){
+var _ptr = __switch_event_name(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_name_event")]
@@ -5244,10 +5252,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_event_expand_headers")]
public static extern IntPtr __switch_event_expand_headers(HandleRef jarg1, string jarg2);
- public static string switch_event_expand_headers(HandleRef jarg1, string jarg2){
-var _ptr = __switch_event_expand_headers(jarg1, jarg2);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_event_expand_headers(HandleRef jarg1, string jarg2){
+var _ptr = __switch_event_expand_headers(jarg1, jarg2);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_event_create_pres_in_detailed")]
@@ -5258,10 +5266,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_event_build_param_string")]
public static extern IntPtr __switch_event_build_param_string(HandleRef jarg1, string jarg2, HandleRef jarg3);
- public static string switch_event_build_param_string(HandleRef jarg1, string jarg2, HandleRef jarg3){
-var _ptr = __switch_event_build_param_string(jarg1, jarg2, jarg3);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_event_build_param_string(HandleRef jarg1, string jarg2, HandleRef jarg3){
+var _ptr = __switch_event_build_param_string(jarg1, jarg2, jarg3);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_audio_resampler_t_resampler_set")]
@@ -5398,10 +5406,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_unicast_conninfo_local_ip_get")]
public static extern IntPtr __switch_unicast_conninfo_local_ip_get(HandleRef jarg1);
- public static string switch_unicast_conninfo_local_ip_get(HandleRef jarg1){
-var _ptr = __switch_unicast_conninfo_local_ip_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_unicast_conninfo_local_ip_get(HandleRef jarg1){
+var _ptr = __switch_unicast_conninfo_local_ip_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_unicast_conninfo_local_port_set")]
@@ -5415,10 +5423,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_unicast_conninfo_remote_ip_get")]
public static extern IntPtr __switch_unicast_conninfo_remote_ip_get(HandleRef jarg1);
- public static string switch_unicast_conninfo_remote_ip_get(HandleRef jarg1){
-var _ptr = __switch_unicast_conninfo_remote_ip_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_unicast_conninfo_remote_ip_get(HandleRef jarg1){
+var _ptr = __switch_unicast_conninfo_remote_ip_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_unicast_conninfo_remote_port_set")]
@@ -5738,18 +5746,18 @@
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_RTP_CRYPTO_KEY_32_get")]
public static extern IntPtr __SWITCH_RTP_CRYPTO_KEY_32_get();
- public static string SWITCH_RTP_CRYPTO_KEY_32_get(){
-var _ptr = __SWITCH_RTP_CRYPTO_KEY_32_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_RTP_CRYPTO_KEY_32_get(){
+var _ptr = __SWITCH_RTP_CRYPTO_KEY_32_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_SWITCH_RTP_CRYPTO_KEY_80_get")]
public static extern IntPtr __SWITCH_RTP_CRYPTO_KEY_80_get();
- public static string SWITCH_RTP_CRYPTO_KEY_80_get(){
-var _ptr = __SWITCH_RTP_CRYPTO_KEY_80_get();
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string SWITCH_RTP_CRYPTO_KEY_80_get(){
+var _ptr = __SWITCH_RTP_CRYPTO_KEY_80_get();
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_crypto_key_index_set")]
@@ -5925,10 +5933,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_log_node_t_data_get")]
public static extern IntPtr __switch_log_node_t_data_get(HandleRef jarg1);
- public static string switch_log_node_t_data_get(HandleRef jarg1){
-var _ptr = __switch_log_node_t_data_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_log_node_t_data_get(HandleRef jarg1){
+var _ptr = __switch_log_node_t_data_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_log_node_t_file_set")]
@@ -5936,10 +5944,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_log_node_t_file_get")]
public static extern IntPtr __switch_log_node_t_file_get(HandleRef jarg1);
- public static string switch_log_node_t_file_get(HandleRef jarg1){
-var _ptr = __switch_log_node_t_file_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_log_node_t_file_get(HandleRef jarg1){
+var _ptr = __switch_log_node_t_file_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_log_node_t_line_set")]
@@ -5953,10 +5961,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_log_node_t_func_get")]
public static extern IntPtr __switch_log_node_t_func_get(HandleRef jarg1);
- public static string switch_log_node_t_func_get(HandleRef jarg1){
-var _ptr = __switch_log_node_t_func_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_log_node_t_func_get(HandleRef jarg1){
+var _ptr = __switch_log_node_t_func_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_log_node_t_level_set")]
@@ -5976,10 +5984,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_log_node_t_content_get")]
public static extern IntPtr __switch_log_node_t_content_get(HandleRef jarg1);
- public static string switch_log_node_t_content_get(HandleRef jarg1){
-var _ptr = __switch_log_node_t_content_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_log_node_t_content_get(HandleRef jarg1){
+var _ptr = __switch_log_node_t_content_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_log_node_t_userdata_set")]
@@ -5987,10 +5995,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_log_node_t_userdata_get")]
public static extern IntPtr __switch_log_node_t_userdata_get(HandleRef jarg1);
- public static string switch_log_node_t_userdata_get(HandleRef jarg1){
-var _ptr = __switch_log_node_t_userdata_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_log_node_t_userdata_get(HandleRef jarg1){
+var _ptr = __switch_log_node_t_userdata_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_new_switch_log_node_t")]
@@ -6010,10 +6018,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_log_level2str")]
public static extern IntPtr __switch_log_level2str(int jarg1);
- public static string switch_log_level2str(int jarg1){
-var _ptr = __switch_log_level2str(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_log_level2str(int jarg1){
+var _ptr = __switch_log_level2str(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_log_str2level")]
@@ -6030,10 +6038,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_xml_name_get")]
public static extern IntPtr __switch_xml_name_get(HandleRef jarg1);
- public static string switch_xml_name_get(HandleRef jarg1){
-var _ptr = __switch_xml_name_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_xml_name_get(HandleRef jarg1){
+var _ptr = __switch_xml_name_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_xml_attr_set")]
@@ -6047,10 +6055,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_xml_txt_get")]
public static extern IntPtr __switch_xml_txt_get(HandleRef jarg1);
- public static string switch_xml_txt_get(HandleRef jarg1){
-var _ptr = __switch_xml_txt_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_xml_txt_get(HandleRef jarg1){
+var _ptr = __switch_xml_txt_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_xml_free_path_set")]
@@ -6058,10 +6066,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_xml_free_path_get")]
public static extern IntPtr __switch_xml_free_path_get(HandleRef jarg1);
- public static string switch_xml_free_path_get(HandleRef jarg1){
-var _ptr = __switch_xml_free_path_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_xml_free_path_get(HandleRef jarg1){
+var _ptr = __switch_xml_free_path_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_xml_off_set")]
@@ -6135,18 +6143,18 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_xml_attr")]
public static extern IntPtr __switch_xml_attr(HandleRef jarg1, string jarg2);
- public static string switch_xml_attr(HandleRef jarg1, string jarg2){
-var _ptr = __switch_xml_attr(jarg1, jarg2);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_xml_attr(HandleRef jarg1, string jarg2){
+var _ptr = __switch_xml_attr(jarg1, jarg2);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_xml_attr_soft")]
public static extern IntPtr __switch_xml_attr_soft(HandleRef jarg1, string jarg2);
- public static string switch_xml_attr_soft(HandleRef jarg1, string jarg2){
-var _ptr = __switch_xml_attr_soft(jarg1, jarg2);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_xml_attr_soft(HandleRef jarg1, string jarg2){
+var _ptr = __switch_xml_attr_soft(jarg1, jarg2);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_xml_get")]
@@ -6154,18 +6162,18 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_xml_toxml")]
public static extern IntPtr __switch_xml_toxml(HandleRef jarg1, int jarg2);
- public static string switch_xml_toxml(HandleRef jarg1, int jarg2){
-var _ptr = __switch_xml_toxml(jarg1, jarg2);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_xml_toxml(HandleRef jarg1, int jarg2){
+var _ptr = __switch_xml_toxml(jarg1, jarg2);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_xml_toxml_buf")]
public static extern IntPtr __switch_xml_toxml_buf(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, int jarg5);
- public static string switch_xml_toxml_buf(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, int jarg5){
-var _ptr = __switch_xml_toxml_buf(jarg1, jarg2, jarg3, jarg4, jarg5);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_xml_toxml_buf(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, int jarg5){
+var _ptr = __switch_xml_toxml_buf(jarg1, jarg2, jarg3, jarg4, jarg5);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_xml_pi")]
@@ -6176,10 +6184,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_xml_error")]
public static extern IntPtr __switch_xml_error(HandleRef jarg1);
- public static string switch_xml_error(HandleRef jarg1){
-var _ptr = __switch_xml_error(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_xml_error(HandleRef jarg1){
+var _ptr = __switch_xml_error(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_xml_new")]
@@ -6622,10 +6630,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_scheduler_task_group_get")]
public static extern IntPtr __switch_scheduler_task_group_get(HandleRef jarg1);
- public static string switch_scheduler_task_group_get(HandleRef jarg1){
-var _ptr = __switch_scheduler_task_group_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_scheduler_task_group_get(HandleRef jarg1){
+var _ptr = __switch_scheduler_task_group_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_scheduler_task_cmd_arg_set")]
@@ -6672,10 +6680,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_config_path_get")]
public static extern IntPtr __switch_config_path_get(HandleRef jarg1);
- public static string switch_config_path_get(HandleRef jarg1){
-var _ptr = __switch_config_path_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_config_path_get(HandleRef jarg1){
+var _ptr = __switch_config_path_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_config_category_set")]
@@ -6683,10 +6691,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_config_category_get")]
public static extern IntPtr __switch_config_category_get(HandleRef jarg1);
- public static string switch_config_category_get(HandleRef jarg1){
-var _ptr = __switch_config_category_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_config_category_get(HandleRef jarg1){
+var _ptr = __switch_config_category_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_config_section_set")]
@@ -6694,10 +6702,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_config_section_get")]
public static extern IntPtr __switch_config_section_get(HandleRef jarg1);
- public static string switch_config_section_get(HandleRef jarg1){
-var _ptr = __switch_config_section_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_config_section_get(HandleRef jarg1){
+var _ptr = __switch_config_section_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_config_buf_set")]
@@ -6705,10 +6713,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_switch_config_buf_get")]
public static extern IntPtr __switch_config_buf_get(HandleRef jarg1);
- public static string switch_config_buf_get(HandleRef jarg1){
-var _ptr = __switch_config_buf_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string switch_config_buf_get(HandleRef jarg1){
+var _ptr = __switch_config_buf_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_config_lineno_set")]
@@ -6776,18 +6784,18 @@
[DllImport("mod_mono", EntryPoint="CSharp_Api_Execute")]
public static extern IntPtr __Api_Execute(HandleRef jarg1, string jarg2, string jarg3);
- public static string Api_Execute(HandleRef jarg1, string jarg2, string jarg3){
-var _ptr = __Api_Execute(jarg1, jarg2, jarg3);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string Api_Execute(HandleRef jarg1, string jarg2, string jarg3){
+var _ptr = __Api_Execute(jarg1, jarg2, jarg3);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_Api_ExecuteString")]
public static extern IntPtr __Api_ExecuteString(HandleRef jarg1, string jarg2);
- public static string Api_ExecuteString(HandleRef jarg1, string jarg2){
-var _ptr = __Api_ExecuteString(jarg1, jarg2);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string Api_ExecuteString(HandleRef jarg1, string jarg2){
+var _ptr = __Api_ExecuteString(jarg1, jarg2);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_input_callback_state_t_function_set")]
@@ -6813,10 +6821,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_input_callback_state_t_funcargs_get")]
public static extern IntPtr __input_callback_state_t_funcargs_get(HandleRef jarg1);
- public static string input_callback_state_t_funcargs_get(HandleRef jarg1){
-var _ptr = __input_callback_state_t_funcargs_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string input_callback_state_t_funcargs_get(HandleRef jarg1){
+var _ptr = __input_callback_state_t_funcargs_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_new_input_callback_state_t")]
@@ -6839,10 +6847,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_Stream_get_data")]
public static extern IntPtr __Stream_get_data(HandleRef jarg1);
- public static string Stream_get_data(HandleRef jarg1){
-var _ptr = __Stream_get_data(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string Stream_get_data(HandleRef jarg1){
+var _ptr = __Stream_get_data(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_Event_InternalEvent_set")]
@@ -6856,10 +6864,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_Event_serialized_string_get")]
public static extern IntPtr __Event_serialized_string_get(HandleRef jarg1);
- public static string Event_serialized_string_get(HandleRef jarg1){
-var _ptr = __Event_serialized_string_get(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string Event_serialized_string_get(HandleRef jarg1){
+var _ptr = __Event_serialized_string_get(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_Event_mine_set")]
@@ -6879,10 +6887,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_Event_Serialize")]
public static extern IntPtr __Event_Serialize(HandleRef jarg1, string jarg2);
- public static string Event_Serialize(HandleRef jarg1, string jarg2){
-var _ptr = __Event_Serialize(jarg1, jarg2);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string Event_Serialize(HandleRef jarg1, string jarg2){
+var _ptr = __Event_Serialize(jarg1, jarg2);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_Event_SetPriority")]
@@ -6890,26 +6898,26 @@
[DllImport("mod_mono", EntryPoint="CSharp_Event_GetHeader")]
public static extern IntPtr __Event_GetHeader(HandleRef jarg1, string jarg2);
- public static string Event_GetHeader(HandleRef jarg1, string jarg2){
-var _ptr = __Event_GetHeader(jarg1, jarg2);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string Event_GetHeader(HandleRef jarg1, string jarg2){
+var _ptr = __Event_GetHeader(jarg1, jarg2);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_Event_GetBody")]
public static extern IntPtr __Event_GetBody(HandleRef jarg1);
- public static string Event_GetBody(HandleRef jarg1){
-var _ptr = __Event_GetBody(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string Event_GetBody(HandleRef jarg1){
+var _ptr = __Event_GetBody(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_Event_GetEventType")]
public static extern IntPtr __Event_GetEventType(HandleRef jarg1);
- public static string Event_GetEventType(HandleRef jarg1){
-var _ptr = __Event_GetEventType(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string Event_GetEventType(HandleRef jarg1){
+var _ptr = __Event_GetEventType(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_Event_AddBody")]
@@ -6983,10 +6991,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_CoreSession_GetVariable")]
public static extern IntPtr __CoreSession_GetVariable(HandleRef jarg1, string jarg2);
- public static string CoreSession_GetVariable(HandleRef jarg1, string jarg2){
-var _ptr = __CoreSession_GetVariable(jarg1, jarg2);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string CoreSession_GetVariable(HandleRef jarg1, string jarg2){
+var _ptr = __CoreSession_GetVariable(jarg1, jarg2);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_CoreSession_Say")]
@@ -7015,10 +7023,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_CoreSession_GetDigits")]
public static extern IntPtr __CoreSession_GetDigits(HandleRef jarg1, int jarg2, string jarg3, int jarg4);
- public static string CoreSession_GetDigits(HandleRef jarg1, int jarg2, string jarg3, int jarg4){
-var _ptr = __CoreSession_GetDigits(jarg1, jarg2, jarg3, jarg4);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string CoreSession_GetDigits(HandleRef jarg1, int jarg2, string jarg3, int jarg4){
+var _ptr = __CoreSession_GetDigits(jarg1, jarg2, jarg3, jarg4);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_CoreSession_Transfer")]
@@ -7026,18 +7034,18 @@
[DllImport("mod_mono", EntryPoint="CSharp_CoreSession_read")]
public static extern IntPtr __CoreSession_read(HandleRef jarg1, int jarg2, int jarg3, string jarg4, int jarg5, string jarg6);
- public static string CoreSession_read(HandleRef jarg1, int jarg2, int jarg3, string jarg4, int jarg5, string jarg6){
-var _ptr = __CoreSession_read(jarg1, jarg2, jarg3, jarg4, jarg5, jarg6);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string CoreSession_read(HandleRef jarg1, int jarg2, int jarg3, string jarg4, int jarg5, string jarg6){
+var _ptr = __CoreSession_read(jarg1, jarg2, jarg3, jarg4, jarg5, jarg6);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_CoreSession_PlayAndGetDigits")]
public static extern IntPtr __CoreSession_PlayAndGetDigits(HandleRef jarg1, int jarg2, int jarg3, int jarg4, int jarg5, string jarg6, string jarg7, string jarg8, string jarg9);
- public static string CoreSession_PlayAndGetDigits(HandleRef jarg1, int jarg2, int jarg3, int jarg4, int jarg5, string jarg6, string jarg7, string jarg8, string jarg9){
-var _ptr = __CoreSession_PlayAndGetDigits(jarg1, jarg2, jarg3, jarg4, jarg5, jarg6, jarg7, jarg8, jarg9);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string CoreSession_PlayAndGetDigits(HandleRef jarg1, int jarg2, int jarg3, int jarg4, int jarg5, string jarg6, string jarg7, string jarg8, string jarg9){
+var _ptr = __CoreSession_PlayAndGetDigits(jarg1, jarg2, jarg3, jarg4, jarg5, jarg6, jarg7, jarg8, jarg9);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_CoreSession_StreamFile")]
@@ -7075,10 +7083,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_CoreSession_getXMLCDR")]
public static extern IntPtr __CoreSession_getXMLCDR(HandleRef jarg1);
- public static string CoreSession_getXMLCDR(HandleRef jarg1){
-var _ptr = __CoreSession_getXMLCDR(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string CoreSession_getXMLCDR(HandleRef jarg1){
+var _ptr = __CoreSession_getXMLCDR(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_CoreSession_begin_allow_threads")]
@@ -7089,10 +7097,10 @@
[DllImport("mod_mono", EntryPoint="CSharp_CoreSession_GetUuid")]
public static extern IntPtr __CoreSession_GetUuid(HandleRef jarg1);
- public static string CoreSession_GetUuid(HandleRef jarg1){
-var _ptr = __CoreSession_GetUuid(jarg1);
-var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
-System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
+ public static string CoreSession_GetUuid(HandleRef jarg1){
+var _ptr = __CoreSession_GetUuid(jarg1);
+var _res = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(_ptr);
+System.Runtime.InteropServices.Marshal.FreeCoTaskMem(_ptr);
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_CoreSession_get_cb_args")]
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/session_flag_t.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/session_flag_t.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/session_flag_t.cs Fri Jun 6 03:29:53 2008
@@ -8,7 +8,7 @@
namespace FreeSWITCH.Native {
-public enum session_flag_t {
+[System.Flags] public enum session_flag_t {
S_HUP = (1 << 0),
S_FREE = (1 << 1),
S_RDLOCK = (1 << 2)
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_application_flag_enum_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_application_flag_enum_t.cs Fri Jun 6 03:29:53 2008
@@ -0,0 +1,16 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+[System.Flags] public enum switch_application_flag_enum_t {
+ SAF_NONE = 0,
+ SAF_SUPPORT_NOMEDIA = (1 << 0)
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_asr_flag_enum_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_asr_flag_enum_t.cs Fri Jun 6 03:29:53 2008
@@ -0,0 +1,20 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+[System.Flags] public enum switch_asr_flag_enum_t {
+ SWITCH_ASR_FLAG_NONE = 0,
+ SWITCH_ASR_FLAG_DATA = (1 << 0),
+ SWITCH_ASR_FLAG_FREE_POOL = (1 << 1),
+ SWITCH_ASR_FLAG_CLOSED = (1 << 2),
+ SWITCH_ASR_FLAG_FIRE_EVENTS = (1 << 3),
+ SWITCH_ASR_FLAG_AUTO_RESUME = (1 << 4)
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_bind_flag_enum_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_bind_flag_enum_t.cs Fri Jun 6 03:29:53 2008
@@ -0,0 +1,20 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+[System.Flags] public enum switch_bind_flag_enum_t {
+ SBF_DIAL_ALEG = (1 << 0),
+ SBF_EXEC_ALEG = (1 << 1),
+ SBF_DIAL_BLEG = (1 << 2),
+ SBF_EXEC_BLEG = (1 << 3),
+ SBF_EXEC_OPPOSITE = (1 << 4),
+ SBF_EXEC_SAME = (1 << 5)
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_caller_profile_flag_enum_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_caller_profile_flag_enum_t.cs Fri Jun 6 03:29:53 2008
@@ -0,0 +1,17 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+[System.Flags] public enum switch_caller_profile_flag_enum_t {
+ SWITCH_CPF_SCREEN = (1 << 0),
+ SWITCH_CPF_HIDE_NAME = (1 << 1),
+ SWITCH_CPF_HIDE_NUMBER = (1 << 2)
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_channel_flag_enum_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_channel_flag_enum_t.cs Fri Jun 6 03:29:53 2008
@@ -0,0 +1,44 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+[System.Flags] public enum switch_channel_flag_enum_t {
+ CF_ANSWERED = (1 << 0),
+ CF_OUTBOUND = (1 << 1),
+ CF_EARLY_MEDIA = (1 << 2),
+ CF_ORIGINATOR = (1 << 3),
+ CF_TRANSFER = (1 << 4),
+ CF_ACCEPT_CNG = (1 << 5),
+ CF_WAIT_FOR_ME = (1 << 6),
+ CF_BRIDGED = (1 << 7),
+ CF_HOLD = (1 << 8),
+ CF_SERVICE = (1 << 9),
+ CF_TAGGED = (1 << 10),
+ CF_WINNER = (1 << 11),
+ CF_CONTROLLED = (1 << 12),
+ CF_PROXY_MODE = (1 << 13),
+ CF_SUSPEND = (1 << 14),
+ CF_EVENT_PARSE = (1 << 15),
+ CF_REPEAT_STATE = (1 << 16),
+ CF_GEN_RINGBACK = (1 << 17),
+ CF_RING_READY = (1 << 18),
+ CF_BREAK = (1 << 19),
+ CF_BROADCAST = (1 << 20),
+ CF_UNICAST = (1 << 21),
+ CF_VIDEO = (1 << 22),
+ CF_EVENT_LOCK = (1 << 23),
+ CF_RESET = (1 << 24),
+ CF_ORIGINATING = (1 << 25),
+ CF_STOP_BROADCAST = (1 << 26),
+ CF_PROXY_MEDIA = (1 << 27),
+ CF_INNER_BRIDGE = (1 << 28),
+ CF_REQ_MEDIA = (1 << 29)
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_codec_flag_enum_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_codec_flag_enum_t.cs Fri Jun 6 03:29:53 2008
@@ -0,0 +1,22 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+[System.Flags] public enum switch_codec_flag_enum_t {
+ SWITCH_CODEC_FLAG_ENCODE = (1 << 0),
+ SWITCH_CODEC_FLAG_DECODE = (1 << 1),
+ SWITCH_CODEC_FLAG_SILENCE_START = (1 << 2),
+ SWITCH_CODEC_FLAG_SILENCE_STOP = (1 << 3),
+ SWITCH_CODEC_FLAG_SILENCE = (1 << 4),
+ SWITCH_CODEC_FLAG_FREE_POOL = (1 << 5),
+ SWITCH_CODEC_FLAG_AAL2 = (1 << 6),
+ SWITCH_CODEC_FLAG_PASSTHROUGH = (1 << 7)
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_core_flag_enum_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_core_flag_enum_t.cs Fri Jun 6 03:29:53 2008
@@ -0,0 +1,19 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+[System.Flags] public enum switch_core_flag_enum_t {
+ SCF_NONE = 0,
+ SCF_USE_SQL = (1 << 0),
+ SCF_NO_NEW_SESSIONS = (1 << 1),
+ SCF_SHUTTING_DOWN = (1 << 2),
+ SCF_CRASH_PROT = (1 << 3)
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_core_session_message_flag_enum_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_core_session_message_flag_enum_t.cs Fri Jun 6 03:29:53 2008
@@ -0,0 +1,15 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+[System.Flags] public enum switch_core_session_message_flag_enum_t {
+ SCSMF_DYNAMIC = (1 << 0)
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_directory_flag_enum_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_directory_flag_enum_t.cs Fri Jun 6 03:29:53 2008
@@ -0,0 +1,15 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+[System.Flags] public enum switch_directory_flag_enum_t {
+ SWITCH_DIRECTORY_FLAG_FREE_POOL = (1 << 0)
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_eavesdrop_flag_enum_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_eavesdrop_flag_enum_t.cs Fri Jun 6 03:29:53 2008
@@ -0,0 +1,17 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+[System.Flags] public enum switch_eavesdrop_flag_enum_t {
+ ED_MUX_READ = (1 << 0),
+ ED_MUX_WRITE = (1 << 1),
+ ED_DTMF = (1 << 2)
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_file_flag_enum_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_file_flag_enum_t.cs Fri Jun 6 03:29:53 2008
@@ -0,0 +1,27 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+[System.Flags] public enum switch_file_flag_enum_t {
+ SWITCH_FILE_FLAG_READ = (1 << 0),
+ SWITCH_FILE_FLAG_WRITE = (1 << 1),
+ SWITCH_FILE_FLAG_FREE_POOL = (1 << 2),
+ SWITCH_FILE_DATA_SHORT = (1 << 3),
+ SWITCH_FILE_DATA_INT = (1 << 4),
+ SWITCH_FILE_DATA_FLOAT = (1 << 5),
+ SWITCH_FILE_DATA_DOUBLE = (1 << 6),
+ SWITCH_FILE_DATA_RAW = (1 << 7),
+ SWITCH_FILE_PAUSE = (1 << 8),
+ SWITCH_FILE_NATIVE = (1 << 9),
+ SWITCH_FILE_SEEK = (1 << 10),
+ SWITCH_FILE_OPEN = (1 << 11),
+ SWITCH_FILE_CALLBACK = (1 << 12)
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_frame_flag_enum_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_frame_flag_enum_t.cs Fri Jun 6 03:29:53 2008
@@ -0,0 +1,21 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+[System.Flags] public enum switch_frame_flag_enum_t {
+ SFF_NONE = 0,
+ SFF_CNG = (1 << 0),
+ SFF_RAW_RTP = (1 << 1),
+ SFF_RTP_HEADER = (1 << 2),
+ SFF_PLC = (1 << 3),
+ SFF_RFC2833 = (1 << 4),
+ SFF_PROXY_PACKET = (1 << 5)
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_flag_enum_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_flag_enum_t.cs Fri Jun 6 03:29:53 2008
@@ -0,0 +1,16 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+[System.Flags] public enum switch_io_flag_enum_t {
+ SWITCH_IO_FLAG_NONE = 0,
+ SWITCH_IO_FLAG_NOBLOCK = (1 << 0)
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_ivr_option_enum_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_ivr_option_enum_t.cs Fri Jun 6 03:29:53 2008
@@ -0,0 +1,17 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+public enum switch_ivr_option_enum_t {
+ SWITCH_IVR_OPTION_NONE = 0,
+ SWITCH_IVR_OPTION_ASYNC = (1 << 0),
+ SWITCH_IVR_OPTION_FILE = (1 << 1)
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_media_bug_flag_enum_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_media_bug_flag_enum_t.cs Fri Jun 6 03:29:53 2008
@@ -0,0 +1,23 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+[System.Flags] public enum switch_media_bug_flag_enum_t {
+ SMBF_BOTH = 0,
+ SMBF_READ_STREAM = (1 << 0),
+ SMBF_WRITE_STREAM = (1 << 1),
+ SMBF_WRITE_REPLACE = (1 << 2),
+ SMBF_READ_REPLACE = (1 << 3),
+ SMBF_READ_PING = (1 << 4),
+ SMBF_STEREO = (1 << 5),
+ SMBF_RECORD_ANSWER_REQ = (1 << 6),
+ SMBF_THREAD_LOCK = (1 << 7)
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_media_flag_enum_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_media_flag_enum_t.cs Fri Jun 6 03:29:53 2008
@@ -0,0 +1,21 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+[System.Flags] public enum switch_media_flag_enum_t {
+ SMF_NONE = 0,
+ SMF_REBRIDGE = (1 << 0),
+ SMF_ECHO_ALEG = (1 << 1),
+ SMF_ECHO_BLEG = (1 << 2),
+ SMF_FORCE = (1 << 3),
+ SMF_LOOP = (1 << 4),
+ SMF_HOLD_BLEG = (1 << 5)
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_originate_flag_enum_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_originate_flag_enum_t.cs Fri Jun 6 03:29:53 2008
@@ -0,0 +1,17 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+[System.Flags] public enum switch_originate_flag_enum_t {
+ SOF_NONE = 0,
+ SOF_NOBLOCK = (1 << 0),
+ SOF_FORKED_DIAL = (1 << 1)
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_port_flag_enum_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_port_flag_enum_t.cs Fri Jun 6 03:29:53 2008
@@ -0,0 +1,17 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+[System.Flags] public enum switch_port_flag_enum_t {
+ SPF_NONE = 0,
+ SPF_ODD = (1 << 0),
+ SPF_EVEN = (1 << 1)
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_rtp_flag_enum_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_rtp_flag_enum_t.cs Fri Jun 6 03:29:53 2008
@@ -0,0 +1,34 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+[System.Flags] public enum switch_rtp_flag_enum_t {
+ SWITCH_RTP_FLAG_NOBLOCK = (1 << 0),
+ SWITCH_RTP_FLAG_IO = (1 << 1),
+ SWITCH_RTP_FLAG_USE_TIMER = (1 << 2),
+ SWITCH_RTP_FLAG_TIMER_RECLOCK = (1 << 3),
+ SWITCH_RTP_FLAG_SECURE_SEND = (1 << 4),
+ SWITCH_RTP_FLAG_SECURE_RECV = (1 << 5),
+ SWITCH_RTP_FLAG_AUTOADJ = (1 << 6),
+ SWITCH_RTP_FLAG_RAW_WRITE = (1 << 7),
+ SWITCH_RTP_FLAG_GOOGLEHACK = (1 << 8),
+ SWITCH_RTP_FLAG_VAD = (1 << 9),
+ SWITCH_RTP_FLAG_BREAK = (1 << 10),
+ SWITCH_RTP_FLAG_MINI = (1 << 11),
+ SWITCH_RTP_FLAG_DATAWAIT = (1 << 12),
+ SWITCH_RTP_FLAG_BUGGY_2833 = (1 << 13),
+ SWITCH_RTP_FLAG_PASS_RFC2833 = (1 << 14),
+ SWITCH_RTP_FLAG_AUTO_CNG = (1 << 15),
+ SWITCH_RTP_FLAG_SECURE_SEND_RESET = (1 << 16),
+ SWITCH_RTP_FLAG_SECURE_RECV_RESET = (1 << 17),
+ SWITCH_RTP_FLAG_PROXY_MEDIA = (1 << 18),
+ SWITCH_RTP_FLAG_SHUTDOWN = (1 << 19)
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_scheduler_flag_enum_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_scheduler_flag_enum_t.cs Fri Jun 6 03:29:53 2008
@@ -0,0 +1,18 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+[System.Flags] public enum switch_scheduler_flag_enum_t {
+ SSHF_NONE = 0,
+ SSHF_OWN_THREAD = (1 << 0),
+ SSHF_FREE_ARG = (1 << 1),
+ SSHF_NO_DEL = (1 << 2)
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_speech_flag_enum_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_speech_flag_enum_t.cs Fri Jun 6 03:29:53 2008
@@ -0,0 +1,20 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+[System.Flags] public enum switch_speech_flag_enum_t {
+ SWITCH_SPEECH_FLAG_NONE = 0,
+ SWITCH_SPEECH_FLAG_HASTEXT = (1 << 0),
+ SWITCH_SPEECH_FLAG_PEEK = (1 << 1),
+ SWITCH_SPEECH_FLAG_FREE_POOL = (1 << 2),
+ SWITCH_SPEECH_FLAG_BLOCKING = (1 << 3),
+ SWITCH_SPEECH_FLAG_PAUSE = (1 << 4)
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_timer_flag_enum_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_timer_flag_enum_t.cs Fri Jun 6 03:29:53 2008
@@ -0,0 +1,15 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+[System.Flags] public enum switch_timer_flag_enum_t {
+ SWITCH_TIMER_FLAG_FREE_POOL = (1 << 0)
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_unicast_flag_enum_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_unicast_flag_enum_t.cs Fri Jun 6 03:29:53 2008
@@ -0,0 +1,18 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+[System.Flags] public enum switch_unicast_flag_enum_t {
+ SUF_NONE = 0,
+ SUF_THREAD_RUNNING = (1 << 0),
+ SUF_READY = (1 << 1),
+ SUF_NATIVE = (1 << 2)
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_vad_flag_enum_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_vad_flag_enum_t.cs Fri Jun 6 03:29:53 2008
@@ -0,0 +1,18 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+[System.Flags] public enum switch_vad_flag_enum_t {
+ SWITCH_VAD_FLAG_TALKING = (1 << 0),
+ SWITCH_VAD_FLAG_EVENTS_TALK = (1 << 1),
+ SWITCH_VAD_FLAG_EVENTS_NOTALK = (1 << 2),
+ SWITCH_VAD_FLAG_CNG = (1 << 3)
+}
+
+}
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_xml_flag_t.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_xml_flag_t.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_xml_flag_t.cs Fri Jun 6 03:29:53 2008
@@ -8,7 +8,7 @@
namespace FreeSWITCH.Native {
-public enum switch_xml_flag_t {
+[System.Flags] public enum switch_xml_flag_t {
SWITCH_XML_ROOT = (1 << 0),
SWITCH_XML_NAMEM = (1 << 1),
SWITCH_XML_TXTM = (1 << 2),
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_xml_section_enum_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_xml_section_enum_t.cs Fri Jun 6 03:29:53 2008
@@ -0,0 +1,19 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+[System.Flags] public enum switch_xml_section_enum_t {
+ SWITCH_XML_SECTION_RESULT = 0,
+ SWITCH_XML_SECTION_CONFIG = (1 << 0),
+ SWITCH_XML_SECTION_DIRECTORY = (1 << 1),
+ SWITCH_XML_SECTION_DIALPLAN = (1 << 2),
+ SWITCH_XML_SECTION_PHRASES = (1 << 3)
+}
+
+}
1
0
Author: anthm
Date: Thu Jun 5 16:45:03 2008
New Revision: 8774
Modified:
freeswitch/trunk/src/include/switch_types.h
freeswitch/trunk/src/switch_channel.c
Log:
add ctrix's patch
Modified: freeswitch/trunk/src/include/switch_types.h
==============================================================================
--- freeswitch/trunk/src/include/switch_types.h (original)
+++ freeswitch/trunk/src/include/switch_types.h Thu Jun 5 16:45:03 2008
@@ -102,6 +102,7 @@
#define SWITCH_URL_SEPARATOR "://"
#define SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE "proto_specific_hangup_cause"
#define SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE "execute_on_answer"
+#define SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE "execute_on_ring"
#define SWITCH_CALL_TIMEOUT_VARIABLE "call_timeout"
#define SWITCH_HOLDING_UUID_VARIABLE "holding_uuid"
#define SWITCH_API_BRIDGE_END_VARIABLE "api_after_bridge"
Modified: freeswitch/trunk/src/switch_channel.c
==============================================================================
--- freeswitch/trunk/src/switch_channel.c (original)
+++ freeswitch/trunk/src/switch_channel.c Thu Jun 5 16:45:03 2008
@@ -1369,6 +1369,9 @@
SWITCH_DECLARE(switch_status_t) switch_channel_perform_mark_ring_ready(switch_channel_t *channel, const char *file, const char *func, int line)
{
+ const char *var;
+ char *app;
+
if (!switch_channel_test_flag(channel, CF_RING_READY)) {
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, NULL, SWITCH_LOG_NOTICE, "Ring-Ready %s!\n", channel->name);
switch_channel_set_flag(channel, CF_RING_READY);
@@ -1377,6 +1380,18 @@
channel->caller_profile->times->progress = switch_timestamp_now();
switch_mutex_unlock(channel->profile_mutex);
}
+
+ var = switch_channel_get_variable(channel, SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE);
+ if (var) {
+ char *arg = NULL;
+ app = switch_core_session_strdup(channel->session, var);
+ if ((arg = strchr(app, ' '))) {
+ *arg++ = '\0';
+ }
+ switch_core_session_execute_application(channel->session, app, arg);
+ }
+
+
return SWITCH_STATUS_SUCCESS;
}
1
0
[commit] r8773 - in freeswitch/trunk/src/mod/languages: mod_mono mod_mono_managed mod_mono_managed/swig
by Freeswitch SVN 05 Jun '08
by Freeswitch SVN 05 Jun '08
05 Jun '08
Author: michaelgg
Date: Thu Jun 5 16:33:21 2008
New Revision: 8773
Added:
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_unsigned_long__switch_status_t.cs
Removed:
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_asr_handle_p_enum_switch_asr_flag_t__switch_status_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_enum_switch_asr_flag_t__switch_status_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_enum_switch_asr_flag_t__switch_status_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_enum_switch_asr_flag_t__switch_status_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_flag_t_p_q_const__switch_codec_settings__switch_status_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_enum_switch_originate_flag_t__switch_call_cause_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_enum_switch_originate_flag_t__switch_status_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_enum_switch_speech_flag_t__switch_status_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_speech_handle_p_enum_switch_speech_flag_t__switch_status_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_enum_switch_speech_flag_t__switch_status_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_enum_switch_speech_flag_t__switch_status_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_switch_asr_flag_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_switch_frame_flag_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_switch_speech_flag_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_application_flag_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_bind_flag_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_caller_profile_flag_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_channel_flag_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_codec_flag_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_core_flag_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_core_session_message_flag_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_directory_flag_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_eavesdrop_flag_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_file_flag_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_frame_flag_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_flag_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_ivr_option_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_media_bug_flag_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_media_flag_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_originate_flag_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_port_flag_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_rtp_flag_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_scheduler_flag_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_speech_flag_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_timer_flag_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_unicast_flag_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_vad_flag_t.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_xml_section_t.cs
Modified:
freeswitch/trunk/src/mod/languages/mod_mono/freeswitch.i
freeswitch/trunk/src/mod/languages/mod_mono/freeswitch_wrap.cxx
freeswitch/trunk/src/mod/languages/mod_mono/mod_mono.vcproj
freeswitch/trunk/src/mod/languages/mod_mono_managed/AppFunction.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/Demo.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/MonoSession.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/mod_mono_managed.csproj
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/CoreSession.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/freeswitch.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE_fixed.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_asr_interface.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_caller_profile.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_codec_implementation.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_core_session_message.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_frame.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_event_hook_outgoing_channel.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_event_hook_read_frame.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_event_hook_video_read_frame.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_event_hook_video_write_frame.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_event_hook_write_frame.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_routines.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_speech_interface.cs
Log:
Update swig for enum changes. Add better auto-abort handling.
Modified: freeswitch/trunk/src/mod/languages/mod_mono/freeswitch.i
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono/freeswitch.i (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono/freeswitch.i Thu Jun 5 16:33:21 2008
@@ -23,6 +23,7 @@
%ignore setDTMFCallback;
// Rename some things to make them more .NET-like
+//%csmethodmodifiers CoreSession::hangup "internal";
%rename (Answer) CoreSession::answer;
%rename (Hangup) CoreSession::hangup;
%rename (Ready) CoreSession::ready;
Modified: freeswitch/trunk/src/mod/languages/mod_mono/freeswitch_wrap.cxx
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono/freeswitch_wrap.cxx (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono/freeswitch_wrap.cxx Thu Jun 5 16:33:21 2008
@@ -4052,7 +4052,7 @@
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_flags_set(void * jarg1, int jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_flags_set(void * jarg1, unsigned long jarg2) {
switch_core_session_message *arg1 = (switch_core_session_message *) 0 ;
switch_core_session_message_flag_t arg2 ;
@@ -4063,14 +4063,14 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_message_flags_get(void * jarg1) {
- int jresult ;
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_message_flags_get(void * jarg1) {
+ unsigned long jresult ;
switch_core_session_message *arg1 = (switch_core_session_message *) 0 ;
switch_core_session_message_flag_t result;
arg1 = (switch_core_session_message *)jarg1;
result = (switch_core_session_message_flag_t) ((arg1)->flags);
- jresult = result;
+ jresult = (unsigned long)result;
return jresult;
}
@@ -4231,7 +4231,7 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_add(void * jarg1, void * jarg2, void * jarg3, void * jarg4, int jarg5, void * jarg6) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_add(void * jarg1, void * jarg2, void * jarg3, void * jarg4, unsigned long jarg5, void * jarg6) {
int jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
switch_media_bug_callback_t arg2 = (switch_media_bug_callback_t) 0 ;
@@ -4393,7 +4393,7 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_port_allocator_new(unsigned short jarg1, unsigned short jarg2, int jarg3, void * jarg4) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_port_allocator_new(unsigned short jarg1, unsigned short jarg2, unsigned long jarg3, void * jarg4) {
int jresult ;
switch_port_t arg1 ;
switch_port_t arg2 ;
@@ -4447,7 +4447,7 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_init(int jarg1, int jarg2, void * jarg3) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_init(unsigned long jarg1, int jarg2, void * jarg3) {
int jresult ;
switch_core_flag_t arg1 ;
switch_bool_t arg2 ;
@@ -4463,7 +4463,7 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_init_and_modload(int jarg1, int jarg2, void * jarg3) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_init_and_modload(unsigned long jarg1, int jarg2, void * jarg3) {
int jresult ;
switch_core_flag_t arg1 ;
switch_bool_t arg2 ;
@@ -5259,7 +5259,7 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_outgoing_channel(void * jarg1, void * jarg2, char * jarg3, void * jarg4, void * jarg5, void * jarg6, int jarg7) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_outgoing_channel(void * jarg1, void * jarg2, char * jarg3, void * jarg4, void * jarg5, void * jarg6, unsigned long jarg7) {
int jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
switch_event_t *arg2 = (switch_event_t *) 0 ;
@@ -5407,7 +5407,7 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_read_frame(void * jarg1, void * jarg2, int jarg3, int jarg4) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_read_frame(void * jarg1, void * jarg2, unsigned long jarg3, int jarg4) {
int jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
switch_frame_t **arg2 = (switch_frame_t **) 0 ;
@@ -5425,7 +5425,7 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_read_video_frame(void * jarg1, void * jarg2, int jarg3, int jarg4) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_read_video_frame(void * jarg1, void * jarg2, unsigned long jarg3, int jarg4) {
int jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
switch_frame_t **arg2 = (switch_frame_t **) 0 ;
@@ -5443,7 +5443,7 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_write_video_frame(void * jarg1, void * jarg2, int jarg3, int jarg4) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_write_video_frame(void * jarg1, void * jarg2, unsigned long jarg3, int jarg4) {
int jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
switch_frame_t *arg2 = (switch_frame_t *) 0 ;
@@ -5471,7 +5471,7 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_write_frame(void * jarg1, void * jarg2, int jarg3, int jarg4) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_write_frame(void * jarg1, void * jarg2, unsigned long jarg3, int jarg4) {
int jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
switch_frame_t *arg2 = (switch_frame_t *) 0 ;
@@ -6542,12 +6542,12 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_flags() {
- int jresult ;
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_flags() {
+ unsigned long jresult ;
switch_core_flag_t result;
result = (switch_core_flag_t)switch_core_flags();
- jresult = result;
+ jresult = (unsigned long)result;
return jresult;
}
@@ -8118,7 +8118,7 @@
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_flags_set(void * jarg1, int jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_flags_set(void * jarg1, unsigned long jarg2) {
switch_caller_profile *arg1 = (switch_caller_profile *) 0 ;
switch_caller_profile_flag_t arg2 ;
@@ -8129,14 +8129,14 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_caller_profile_flags_get(void * jarg1) {
- int jresult ;
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_caller_profile_flags_get(void * jarg1) {
+ unsigned long jresult ;
switch_caller_profile *arg1 = (switch_caller_profile *) 0 ;
switch_caller_profile_flag_t result;
arg1 = (switch_caller_profile *)jarg1;
result = (switch_caller_profile_flag_t) ((arg1)->flags);
- jresult = result;
+ jresult = (unsigned long)result;
return jresult;
}
@@ -9069,7 +9069,7 @@
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_flags_set(void * jarg1, int jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_flags_set(void * jarg1, unsigned long jarg2) {
switch_frame *arg1 = (switch_frame *) 0 ;
switch_frame_flag_t arg2 ;
@@ -9080,14 +9080,14 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_flags_get(void * jarg1) {
- int jresult ;
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_flags_get(void * jarg1) {
+ unsigned long jresult ;
switch_frame *arg1 = (switch_frame *) 0 ;
switch_frame_flag_t result;
arg1 = (switch_frame *)jarg1;
result = (switch_frame_flag_t) ((arg1)->flags);
- jresult = result;
+ jresult = (unsigned long)result;
return jresult;
}
@@ -15203,7 +15203,7 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_wait_for_flag(void * jarg1, int jarg2, int jarg3, unsigned long jarg4) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_wait_for_flag(void * jarg1, unsigned long jarg2, int jarg3, unsigned long jarg4) {
int jresult ;
switch_channel_t *arg1 = (switch_channel_t *) 0 ;
switch_channel_flag_t arg2 ;
@@ -15541,7 +15541,7 @@
}
-SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_channel_test_flag(void * jarg1, int jarg2) {
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_channel_test_flag(void * jarg1, unsigned long jarg2) {
unsigned long jresult ;
switch_channel_t *arg1 = (switch_channel_t *) 0 ;
switch_channel_flag_t arg2 ;
@@ -15555,7 +15555,7 @@
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_flag(void * jarg1, int jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_flag(void * jarg1, unsigned long jarg2) {
switch_channel_t *arg1 = (switch_channel_t *) 0 ;
switch_channel_flag_t arg2 ;
@@ -15565,7 +15565,7 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_flag_partner(void * jarg1, int jarg2) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_flag_partner(void * jarg1, unsigned long jarg2) {
int jresult ;
switch_channel_t *arg1 = (switch_channel_t *) 0 ;
switch_channel_flag_t arg2 ;
@@ -15579,7 +15579,7 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_clear_flag_partner(void * jarg1, int jarg2) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_clear_flag_partner(void * jarg1, unsigned long jarg2) {
int jresult ;
switch_channel_t *arg1 = (switch_channel_t *) 0 ;
switch_channel_flag_t arg2 ;
@@ -15593,7 +15593,7 @@
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_state_flag(void * jarg1, int jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_state_flag(void * jarg1, unsigned long jarg2) {
switch_channel_t *arg1 = (switch_channel_t *) 0 ;
switch_channel_flag_t arg2 ;
@@ -15603,7 +15603,7 @@
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_flag(void * jarg1, int jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_flag(void * jarg1, unsigned long jarg2) {
switch_channel_t *arg1 = (switch_channel_t *) 0 ;
switch_channel_flag_t arg2 ;
@@ -18357,7 +18357,7 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_eavesdrop_session(void * jarg1, char * jarg2, char * jarg3, int jarg4) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_eavesdrop_session(void * jarg1, char * jarg2, char * jarg3, unsigned long jarg4) {
int jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
char *arg2 = (char *) 0 ;
@@ -18659,7 +18659,7 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_originate(void * jarg1, void * jarg2, void * jarg3, char * jarg4, unsigned long jarg5, void * jarg6, char * jarg7, char * jarg8, void * jarg9, int jarg10) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_originate(void * jarg1, void * jarg2, void * jarg3, char * jarg4, unsigned long jarg5, void * jarg6, char * jarg7, char * jarg8, void * jarg9, unsigned long jarg10) {
int jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
switch_core_session_t **arg2 = (switch_core_session_t **) 0 ;
@@ -18805,7 +18805,7 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_media(char * jarg1, int jarg2) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_media(char * jarg1, unsigned long jarg2) {
int jresult ;
char *arg1 = (char *) 0 ;
switch_media_flag_t arg2 ;
@@ -18819,7 +18819,7 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_nomedia(char * jarg1, int jarg2) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_nomedia(char * jarg1, unsigned long jarg2) {
int jresult ;
char *arg1 = (char *) 0 ;
switch_media_flag_t arg2 ;
@@ -18889,7 +18889,7 @@
}
-SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_ivr_schedule_broadcast(void * jarg1, char * jarg2, char * jarg3, int jarg4) {
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_ivr_schedule_broadcast(void * jarg1, char * jarg2, char * jarg3, unsigned long jarg4) {
unsigned long jresult ;
time_t arg1 ;
char *arg2 = (char *) 0 ;
@@ -18913,7 +18913,7 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_broadcast(char * jarg1, char * jarg2, int jarg3) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_broadcast(char * jarg1, char * jarg2, unsigned long jarg3) {
int jresult ;
char *arg1 = (char *) 0 ;
char *arg2 = (char *) 0 ;
@@ -19357,7 +19357,7 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_bind_dtmf_meta_session(void * jarg1, unsigned long jarg2, int jarg3, char * jarg4) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_bind_dtmf_meta_session(void * jarg1, unsigned long jarg2, unsigned long jarg3, char * jarg4) {
int jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
uint32_t arg2 ;
@@ -19746,7 +19746,7 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_create(void * jarg1, unsigned char jarg2, unsigned long jarg3, unsigned long jarg4, int jarg5, char * jarg6, void * jarg7, void * jarg8) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_create(void * jarg1, unsigned char jarg2, unsigned long jarg3, unsigned long jarg4, unsigned long jarg5, char * jarg6, void * jarg7, void * jarg8) {
int jresult ;
switch_rtp_t **arg1 = (switch_rtp_t **) 0 ;
switch_payload_t arg2 ;
@@ -19772,7 +19772,7 @@
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_new(char * jarg1, unsigned short jarg2, char * jarg3, unsigned short jarg4, unsigned char jarg5, unsigned long jarg6, unsigned long jarg7, int jarg8, char * jarg9, void * jarg10, void * jarg11) {
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_new(char * jarg1, unsigned short jarg2, char * jarg3, unsigned short jarg4, unsigned char jarg5, unsigned long jarg6, unsigned long jarg7, unsigned long jarg8, char * jarg9, void * jarg10, void * jarg11) {
void * jresult ;
char *arg1 = (char *) 0 ;
switch_port_t arg2 ;
@@ -19916,7 +19916,7 @@
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_flag(void * jarg1, int jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_flag(void * jarg1, unsigned long jarg2) {
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
switch_rtp_flag_t arg2 ;
@@ -19926,7 +19926,7 @@
}
-SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtp_test_flag(void * jarg1, int jarg2) {
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtp_test_flag(void * jarg1, unsigned long jarg2) {
unsigned long jresult ;
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
switch_rtp_flag_t arg2 ;
@@ -19940,7 +19940,7 @@
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_clear_flag(void * jarg1, int jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_clear_flag(void * jarg1, unsigned long jarg2) {
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
switch_rtp_flag_t arg2 ;
@@ -20016,7 +20016,7 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_read(void * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5, int jarg6) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_read(void * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5, unsigned long jarg6) {
int jresult ;
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
void *arg2 = (void *) 0 ;
@@ -20092,7 +20092,7 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_zerocopy_read(void * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5, int jarg6) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_zerocopy_read(void * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5, unsigned long jarg6) {
int jresult ;
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
void **arg2 = (void **) 0 ;
@@ -20114,7 +20114,7 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_zerocopy_read_frame(void * jarg1, void * jarg2, int jarg3) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_zerocopy_read_frame(void * jarg1, void * jarg2, unsigned long jarg3) {
int jresult ;
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
switch_frame_t *arg2 = (switch_frame_t *) 0 ;
@@ -20130,7 +20130,7 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_enable_vad(void * jarg1, void * jarg2, void * jarg3, int jarg4) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_enable_vad(void * jarg1, void * jarg2, void * jarg3, unsigned long jarg4) {
int jresult ;
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
switch_core_session_t *arg2 = (switch_core_session_t *) 0 ;
@@ -21332,7 +21332,7 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_bind_search_function(void * jarg1, int jarg2, void * jarg3) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_bind_search_function(void * jarg1, unsigned long jarg2, void * jarg3) {
int jresult ;
switch_xml_search_function_t arg1 = (switch_xml_search_function_t) 0 ;
switch_xml_section_t arg2 ;
@@ -21348,14 +21348,14 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_parse_section_string(char * jarg1) {
- int jresult ;
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_xml_parse_section_string(char * jarg1) {
+ unsigned long jresult ;
char *arg1 = (char *) 0 ;
switch_xml_section_t result;
arg1 = (char *)jarg1;
result = (switch_xml_section_t)switch_xml_parse_section_string((char const *)arg1);
- jresult = result;
+ jresult = (unsigned long)result;
return jresult;
}
@@ -22935,7 +22935,7 @@
}
-SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_add_task(void * jarg1, void * jarg2, char * jarg3, char * jarg4, unsigned long jarg5, void * jarg6, int jarg7) {
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_add_task(void * jarg1, void * jarg2, char * jarg3, char * jarg4, unsigned long jarg5, void * jarg6, unsigned long jarg7) {
unsigned long jresult ;
time_t arg1 ;
switch_scheduler_func_t arg2 = (switch_scheduler_func_t) 0 ;
@@ -24320,6 +24320,40 @@
}
+SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CoreSession_answered(void * jarg1) {
+ unsigned int jresult ;
+ CoreSession *arg1 = (CoreSession *) 0 ;
+ bool result;
+
+ arg1 = (CoreSession *)jarg1;
+ result = (bool)(arg1)->answered();
+ jresult = result;
+ return jresult;
+}
+
+
+SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CoreSession_mediaReady(void * jarg1) {
+ unsigned int jresult ;
+ CoreSession *arg1 = (CoreSession *) 0 ;
+ bool result;
+
+ arg1 = (CoreSession *)jarg1;
+ result = (bool)(arg1)->mediaReady();
+ jresult = result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_waitForAnswer(void * jarg1, void * jarg2) {
+ CoreSession *arg1 = (CoreSession *) 0 ;
+ CoreSession *arg2 = (CoreSession *) 0 ;
+
+ arg1 = (CoreSession *)jarg1;
+ arg2 = (CoreSession *)jarg2;
+ (arg1)->waitForAnswer(arg2);
+}
+
+
SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_Execute(void * jarg1, char * jarg2, char * jarg3) {
CoreSession *arg1 = (CoreSession *) 0 ;
char *arg2 = (char *) 0 ;
Modified: freeswitch/trunk/src/mod/languages/mod_mono/mod_mono.vcproj
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono/mod_mono.vcproj (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono/mod_mono.vcproj Thu Jun 5 16:33:21 2008
@@ -211,6 +211,10 @@
RelativePath=".\freeswitch.i"
>
</File>
+ <File
+ RelativePath=".\switch_platform.i"
+ >
+ </File>
</Files>
<Globals>
</Globals>
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/AppFunction.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/AppFunction.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/AppFunction.cs Thu Jun 5 16:33:21 2008
@@ -46,9 +46,15 @@
void hangupCallback()
{
Log.WriteLine(LogLevel.Debug, "AppFunction is in hangupCallback.");
- abortRun();
- var f = HangupFunction;
- if (f != null) f();
+ try {
+ abortRun();
+ var f = HangupFunction;
+ if (f != null) f();
+ }
+ catch (Exception ex) {
+ Log.WriteLine(LogLevel.Warning, "Exception in hangupCallback: {0}", ex.ToString());
+ throw;
+ }
}
protected Action HangupFunction { get; set; }
@@ -104,6 +110,7 @@
}
}
+ /// <summary>Determines if the thread used for Run will have Abort called on it on hangup. Defaults to false.</summary>
protected virtual bool AbortOnHangup { get { return false; } }
bool abortable = false;
readonly object abortLock = new object();
@@ -111,8 +118,15 @@
void abortRun()
{
if (!AbortOnHangup) return;
+ if (runThread == Thread.CurrentThread) {
+ Log.WriteLine(LogLevel.Warning, "Thread will not be aborted because Hangup was called from the Run thread.");
+ return;
+ }
lock (abortLock) {
- if (abortable) runThread.Abort();
+ if (abortable) {
+ Log.WriteLine(LogLevel.Critical, "Aborting run thread.");
+ runThread.Abort();
+ }
}
}
@@ -131,12 +145,15 @@
Run();
}
catch (ThreadAbortException) {
- Log.WriteLine(LogLevel.Debug, "Run thread aborted.");
+ Log.WriteLine(LogLevel.Critical, "Run thread aborted.");
Thread.ResetAbort();
}
finally {
lock (abortLock) { abortable = false; }
- Thread.ResetAbort();
+ if (runThread.ThreadState == ThreadState.AbortRequested) {
+ try { Thread.ResetAbort(); }
+ catch { }
+ }
}
}
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/Demo.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/Demo.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/Demo.cs Thu Jun 5 16:33:21 2008
@@ -42,13 +42,13 @@
{
new protected static bool Load()
{
- Log.WriteLine(LogLevel.Debug, "Inside AppDemo::Load.");
+ Log.WriteLine(LogLevel.Info, "Inside AppDemo::Load.");
return true;
}
new protected static void Unload()
{
- Log.WriteLine(LogLevel.Debug, "Inside AppDemo::Unload.");
+ Log.WriteLine(LogLevel.Info, "Inside AppDemo::Unload.");
}
protected override void Run()
@@ -59,9 +59,9 @@
Log.WriteLine(LogLevel.Info, "Received {0} for {1}.", d, t);
return "";
};
- Log.WriteLine(LogLevel.Debug, "Inside AppDemo.Run (args '{0}'); HookState is {1}.", Arguments, Session.HookState);
- Session.CollectDigits(5000);
- if (!IsAvailable) return; // Hungup
+ Log.WriteLine(LogLevel.Info, "Inside AppDemo.Run (args '{0}'); HookState is {1}.", Arguments, Session.HookState);
+ Session.CollectDigits(5000); // Hanging up here will cause an abort and the next line won't be written
+ Log.WriteLine(LogLevel.Info, "AppDemo is finishing its run and will now hang up.");
Session.Hangup("USER_BUSY");
}
@@ -69,6 +69,8 @@
{
Log.WriteLine(LogLevel.Debug, "AppDemo hanging up, UUID: {0}.", this.Uuid);
}
+
+ protected override bool AbortOnHangup { get { return true; } }
}
public class ApiDemo : ApiFunction
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/MonoSession.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/MonoSession.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/MonoSession.cs Thu Jun 5 16:33:21 2008
@@ -48,5 +48,6 @@
{
InitMonoSession(MonoSession.getCPtr(this).Handle, dtmfCallback, hangupHook);
}
+
}
}
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/mod_mono_managed.csproj
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/mod_mono_managed.csproj (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/mod_mono_managed.csproj Thu Jun 5 16:33:21 2008
@@ -81,28 +81,28 @@
<Compile Include="swig\SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml.cs" />
<Compile Include="swig\SWIGTYPE_p_f_p_q_const__char_p_switch_core_session_p_switch_stream_handle__switch_status_t.cs" />
<Compile Include="swig\SWIGTYPE_p_f_p_q_const__switch_log_node_t_enum_switch_log_level_t__switch_status_t.cs" />
- <Compile Include="swig\SWIGTYPE_p_f_p_switch_asr_handle_p_enum_switch_asr_flag_t__switch_status_t.cs" />
- <Compile Include="swig\SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_enum_switch_asr_flag_t__switch_status_t.cs" />
- <Compile Include="swig\SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_enum_switch_asr_flag_t__switch_status_t.cs" />
+ <Compile Include="swig\SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t.cs" />
+ <Compile Include="swig\SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t.cs" />
<Compile Include="swig\SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_p_q_const__char__switch_status_t.cs" />
<Compile Include="swig\SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t.cs" />
- <Compile Include="swig\SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_enum_switch_asr_flag_t__switch_status_t.cs" />
+ <Compile Include="swig\SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t.cs" />
+ <Compile Include="swig\SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t.cs" />
<Compile Include="swig\SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t.cs" />
- <Compile Include="swig\SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_flag_t_p_q_const__switch_codec_settings__switch_status_t.cs" />
<Compile Include="swig\SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t.cs" />
+ <Compile Include="swig\SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t.cs" />
<Compile Include="swig\SWIGTYPE_p_f_p_switch_codec__switch_status_t.cs" />
<Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t.cs" />
<Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_char_enum_switch_say_type_t_enum_switch_say_method_t_p_switch_input_args_t__switch_status_t.cs" />
- <Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.cs" />
+ <Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.cs" />
<Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void.cs" />
<Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t.cs" />
<Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t__switch_status_t.cs" />
<Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t.cs" />
- <Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_enum_switch_originate_flag_t__switch_call_cause_t.cs" />
- <Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_enum_switch_originate_flag_t__switch_status_t.cs" />
+ <Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t.cs" />
+ <Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t.cs" />
<Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t.cs" />
- <Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.cs" />
<Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_p_void__switch_status_t.cs" />
+ <Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.cs" />
<Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t.cs" />
<Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_t_p_void_p_switch_caller_profile_t__p_switch_caller_extension.cs" />
<Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session__switch_status_t.cs" />
@@ -122,11 +122,11 @@
<Compile Include="swig\SWIGTYPE_p_f_p_switch_scheduler_task__void.cs" />
<Compile Include="swig\SWIGTYPE_p_f_p_switch_speech_handle_p_char_double__void.cs" />
<Compile Include="swig\SWIGTYPE_p_f_p_switch_speech_handle_p_char_int__void.cs" />
- <Compile Include="swig\SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_enum_switch_speech_flag_t__switch_status_t.cs" />
<Compile Include="swig\SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_q_const__char__void.cs" />
- <Compile Include="swig\SWIGTYPE_p_f_p_switch_speech_handle_p_enum_switch_speech_flag_t__switch_status_t.cs" />
- <Compile Include="swig\SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_enum_switch_speech_flag_t__switch_status_t.cs" />
- <Compile Include="swig\SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_enum_switch_speech_flag_t__switch_status_t.cs" />
+ <Compile Include="swig\SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t.cs" />
+ <Compile Include="swig\SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t.cs" />
+ <Compile Include="swig\SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t.cs" />
+ <Compile Include="swig\SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_unsigned_long__switch_status_t.cs" />
<Compile Include="swig\SWIGTYPE_p_f_p_switch_speech_handle__void.cs" />
<Compile Include="swig\SWIGTYPE_p_f_p_switch_stream_handle_p_q_const__char_v_______switch_status_t.cs" />
<Compile Include="swig\SWIGTYPE_p_f_p_switch_stream_handle_p_unsigned_char_switch_size_t__switch_status_t.cs" />
@@ -167,7 +167,6 @@
<Compile Include="swig\SWIGTYPE_p_short.cs" />
<Compile Include="swig\SWIGTYPE_p_sqlite3.cs" />
<Compile Include="swig\SWIGTYPE_p_sqlite3_stmt.cs" />
- <Compile Include="swig\SWIGTYPE_p_switch_asr_flag_t.cs" />
<Compile Include="swig\SWIGTYPE_p_switch_buffer.cs" />
<Compile Include="swig\SWIGTYPE_p_switch_call_cause_t.cs" />
<Compile Include="swig\SWIGTYPE_p_switch_channel.cs" />
@@ -175,7 +174,6 @@
<Compile Include="swig\SWIGTYPE_p_switch_core_session.cs" />
<Compile Include="swig\SWIGTYPE_p_switch_event_types_t.cs" />
<Compile Include="swig\SWIGTYPE_p_switch_file_t.cs" />
- <Compile Include="swig\SWIGTYPE_p_switch_frame_flag_t.cs" />
<Compile Include="swig\SWIGTYPE_p_switch_hash.cs" />
<Compile Include="swig\SWIGTYPE_p_switch_ivr_action_t.cs" />
<Compile Include="swig\SWIGTYPE_p_switch_ivr_digit_stream.cs" />
@@ -192,7 +190,6 @@
<Compile Include="swig\SWIGTYPE_p_switch_size_t.cs" />
<Compile Include="swig\SWIGTYPE_p_switch_sockaddr_t.cs" />
<Compile Include="swig\SWIGTYPE_p_switch_socket_t.cs" />
- <Compile Include="swig\SWIGTYPE_p_switch_speech_flag_t.cs" />
<Compile Include="swig\SWIGTYPE_p_switch_ssize_t.cs" />
<Compile Include="swig\SWIGTYPE_p_switch_time_t.cs" />
<Compile Include="swig\SWIGTYPE_p_time_t.cs" />
@@ -203,59 +200,59 @@
<Compile Include="swig\SWIGTYPE_p_void.cs" />
<Compile Include="swig\switch_abc_type_t.cs" />
<Compile Include="swig\switch_api_interface.cs" />
- <Compile Include="swig\switch_application_flag_t.cs" />
+ <Compile Include="swig\switch_application_flag_enum_t.cs" />
<Compile Include="swig\switch_application_interface.cs" />
<Compile Include="swig\switch_app_log.cs" />
- <Compile Include="swig\switch_asr_flag_t.cs" />
+ <Compile Include="swig\switch_asr_flag_enum_t.cs" />
<Compile Include="swig\switch_asr_handle.cs" />
<Compile Include="swig\switch_asr_interface.cs" />
<Compile Include="swig\switch_audio_col_t.cs" />
<Compile Include="swig\switch_audio_resampler_t.cs" />
- <Compile Include="swig\switch_bind_flag_t.cs" />
+ <Compile Include="swig\switch_bind_flag_enum_t.cs" />
<Compile Include="swig\switch_bitpack_mode_t.cs" />
<Compile Include="swig\switch_bitpack_t.cs" />
<Compile Include="swig\switch_bool_t.cs" />
<Compile Include="swig\switch_caller_application.cs" />
<Compile Include="swig\switch_caller_extension.cs" />
<Compile Include="swig\switch_caller_profile.cs" />
- <Compile Include="swig\switch_caller_profile_flag_t.cs" />
+ <Compile Include="swig\switch_caller_profile_flag_enum_t.cs" />
<Compile Include="swig\switch_call_cause_t.cs" />
- <Compile Include="swig\switch_channel_flag_t.cs" />
+ <Compile Include="swig\switch_channel_flag_enum_t.cs" />
<Compile Include="swig\switch_channel_state_t.cs" />
<Compile Include="swig\switch_channel_timetable.cs" />
<Compile Include="swig\switch_chat_interface.cs" />
<Compile Include="swig\switch_codec.cs" />
- <Compile Include="swig\switch_codec_flag_t.cs" />
+ <Compile Include="swig\switch_codec_flag_enum_t.cs" />
<Compile Include="swig\switch_codec_implementation.cs" />
<Compile Include="swig\switch_codec_interface.cs" />
<Compile Include="swig\switch_codec_settings.cs" />
<Compile Include="swig\switch_codec_type_t.cs" />
<Compile Include="swig\switch_config.cs" />
- <Compile Include="swig\switch_core_flag_t.cs" />
+ <Compile Include="swig\switch_core_flag_enum_t.cs" />
<Compile Include="swig\switch_core_session_message.cs" />
- <Compile Include="swig\switch_core_session_message_flag_t.cs" />
+ <Compile Include="swig\switch_core_session_message_flag_enum_t.cs" />
<Compile Include="swig\switch_core_session_message_types_t.cs" />
<Compile Include="swig\switch_core_thread_session.cs" />
<Compile Include="swig\switch_core_time_duration.cs" />
<Compile Include="swig\switch_dialplan_interface.cs" />
<Compile Include="swig\switch_directories.cs" />
- <Compile Include="swig\switch_directory_flag_t.cs" />
+ <Compile Include="swig\switch_directory_flag_enum_t.cs" />
<Compile Include="swig\switch_directory_handle.cs" />
<Compile Include="swig\switch_directory_interface.cs" />
<Compile Include="swig\switch_dtmf_direction_t.cs" />
<Compile Include="swig\switch_dtmf_t.cs" />
- <Compile Include="swig\switch_eavesdrop_flag_t.cs" />
+ <Compile Include="swig\switch_eavesdrop_flag_enum_t.cs" />
<Compile Include="swig\switch_endpoint_interface.cs" />
<Compile Include="swig\switch_event.cs" />
<Compile Include="swig\switch_event_header.cs" />
<Compile Include="swig\switch_event_node.cs" />
<Compile Include="swig\switch_event_subclass.cs" />
<Compile Include="swig\switch_event_types_t.cs" />
- <Compile Include="swig\switch_file_flag_t.cs" />
+ <Compile Include="swig\switch_file_flag_enum_t.cs" />
<Compile Include="swig\switch_file_handle.cs" />
<Compile Include="swig\switch_file_interface.cs" />
<Compile Include="swig\switch_frame.cs" />
- <Compile Include="swig\switch_frame_flag_t.cs" />
+ <Compile Include="swig\switch_frame_flag_enum_t.cs" />
<Compile Include="swig\switch_input_args_t.cs" />
<Compile Include="swig\switch_input_type_t.cs" />
<Compile Include="swig\switch_io_event_hooks.cs" />
@@ -271,36 +268,36 @@
<Compile Include="swig\switch_io_event_hook_video_read_frame.cs" />
<Compile Include="swig\switch_io_event_hook_video_write_frame.cs" />
<Compile Include="swig\switch_io_event_hook_write_frame.cs" />
- <Compile Include="swig\switch_io_flag_t.cs" />
+ <Compile Include="swig\switch_io_flag_enum_t.cs" />
<Compile Include="swig\switch_io_routines.cs" />
<Compile Include="swig\switch_io_routine_name_t.cs" />
<Compile Include="swig\switch_ivr_action_t.cs" />
<Compile Include="swig\switch_ivr_menu_flags.cs" />
- <Compile Include="swig\switch_ivr_option_t.cs" />
+ <Compile Include="swig\switch_ivr_option_enum_t.cs" />
<Compile Include="swig\switch_loadable_module_function_table_t.cs" />
<Compile Include="swig\switch_log_level_t.cs" />
<Compile Include="swig\switch_log_node_t.cs" />
<Compile Include="swig\switch_management_action_t.cs" />
<Compile Include="swig\switch_management_interface.cs" />
- <Compile Include="swig\switch_media_bug_flag_t.cs" />
- <Compile Include="swig\switch_media_flag_t.cs" />
+ <Compile Include="swig\switch_media_bug_flag_enum_t.cs" />
+ <Compile Include="swig\switch_media_flag_enum_t.cs" />
<Compile Include="swig\switch_module_interface_name_t.cs" />
- <Compile Include="swig\switch_originate_flag_t.cs" />
- <Compile Include="swig\switch_port_flag_t.cs" />
+ <Compile Include="swig\switch_originate_flag_enum_t.cs" />
+ <Compile Include="swig\switch_port_flag_enum_t.cs" />
<Compile Include="swig\switch_priority_t.cs" />
<Compile Include="swig\switch_rtp_crypto_direction_t.cs" />
<Compile Include="swig\switch_rtp_crypto_key.cs" />
<Compile Include="swig\switch_rtp_crypto_key_type_t.cs" />
- <Compile Include="swig\switch_rtp_flag_t.cs" />
+ <Compile Include="swig\switch_rtp_flag_enum_t.cs" />
<Compile Include="swig\switch_rtp_hdr_t.cs" />
<Compile Include="swig\switch_say_interface.cs" />
<Compile Include="swig\switch_say_method_t.cs" />
<Compile Include="swig\switch_say_type_t.cs" />
- <Compile Include="swig\switch_scheduler_flag_t.cs" />
+ <Compile Include="swig\switch_scheduler_flag_enum_t.cs" />
<Compile Include="swig\switch_scheduler_task.cs" />
<Compile Include="swig\switch_session_ctl_t.cs" />
<Compile Include="swig\switch_signal_t.cs" />
- <Compile Include="swig\switch_speech_flag_t.cs" />
+ <Compile Include="swig\switch_speech_flag_enum_t.cs" />
<Compile Include="swig\switch_speech_handle.cs" />
<Compile Include="swig\switch_speech_interface.cs" />
<Compile Include="swig\switch_stack_t.cs" />
@@ -310,15 +307,15 @@
<Compile Include="swig\switch_stream_handle.cs" />
<Compile Include="swig\switch_text_channel_t.cs" />
<Compile Include="swig\switch_timer.cs" />
- <Compile Include="swig\switch_timer_flag_t.cs" />
+ <Compile Include="swig\switch_timer_flag_enum_t.cs" />
<Compile Include="swig\switch_timer_func_name_t.cs" />
<Compile Include="swig\switch_timer_interface.cs" />
<Compile Include="swig\switch_unicast_conninfo.cs" />
- <Compile Include="swig\switch_unicast_flag_t.cs" />
- <Compile Include="swig\switch_vad_flag_t.cs" />
+ <Compile Include="swig\switch_unicast_flag_enum_t.cs" />
+ <Compile Include="swig\switch_vad_flag_enum_t.cs" />
<Compile Include="swig\switch_xml.cs" />
<Compile Include="swig\switch_xml_flag_t.cs" />
- <Compile Include="swig\switch_xml_section_t.cs" />
+ <Compile Include="swig\switch_xml_section_enum_t.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/CoreSession.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/CoreSession.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/CoreSession.cs Thu Jun 5 16:33:21 2008
@@ -216,6 +216,20 @@
return ret;
}
+ public bool answered() {
+ bool ret = freeswitchPINVOKE.CoreSession_answered(swigCPtr);
+ return ret;
+ }
+
+ public bool mediaReady() {
+ bool ret = freeswitchPINVOKE.CoreSession_mediaReady(swigCPtr);
+ return ret;
+ }
+
+ public void waitForAnswer(CoreSession calling_session) {
+ freeswitchPINVOKE.CoreSession_waitForAnswer(swigCPtr, CoreSession.getCPtr(calling_session));
+ }
+
public void Execute(string app, string data) {
freeswitchPINVOKE.CoreSession_Execute(swigCPtr, app, data);
}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t.cs Thu Jun 5 16:33:21 2008
@@ -0,0 +1,30 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+using System;
+using System.Runtime.InteropServices;
+
+public class SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t {
+ private HandleRef swigCPtr;
+
+ internal SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) {
+ swigCPtr = new HandleRef(this, cPtr);
+ }
+
+ protected SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t() {
+ swigCPtr = new HandleRef(null, IntPtr.Zero);
+ }
+
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t obj) {
+ return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
+ }
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t.cs Thu Jun 5 16:33:21 2008
@@ -0,0 +1,30 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+using System;
+using System.Runtime.InteropServices;
+
+public class SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t {
+ private HandleRef swigCPtr;
+
+ internal SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) {
+ swigCPtr = new HandleRef(this, cPtr);
+ }
+
+ protected SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t() {
+ swigCPtr = new HandleRef(null, IntPtr.Zero);
+ }
+
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t obj) {
+ return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
+ }
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t.cs Thu Jun 5 16:33:21 2008
@@ -0,0 +1,30 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+using System;
+using System.Runtime.InteropServices;
+
+public class SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t {
+ private HandleRef swigCPtr;
+
+ internal SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) {
+ swigCPtr = new HandleRef(this, cPtr);
+ }
+
+ protected SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t() {
+ swigCPtr = new HandleRef(null, IntPtr.Zero);
+ }
+
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t obj) {
+ return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
+ }
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t.cs Thu Jun 5 16:33:21 2008
@@ -0,0 +1,30 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+using System;
+using System.Runtime.InteropServices;
+
+public class SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t {
+ private HandleRef swigCPtr;
+
+ internal SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) {
+ swigCPtr = new HandleRef(this, cPtr);
+ }
+
+ protected SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t() {
+ swigCPtr = new HandleRef(null, IntPtr.Zero);
+ }
+
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t obj) {
+ return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
+ }
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t.cs Thu Jun 5 16:33:21 2008
@@ -0,0 +1,30 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+using System;
+using System.Runtime.InteropServices;
+
+public class SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t {
+ private HandleRef swigCPtr;
+
+ internal SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t(IntPtr cPtr, bool futureUse) {
+ swigCPtr = new HandleRef(this, cPtr);
+ }
+
+ protected SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t() {
+ swigCPtr = new HandleRef(null, IntPtr.Zero);
+ }
+
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t obj) {
+ return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
+ }
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.cs Thu Jun 5 16:33:21 2008
@@ -0,0 +1,30 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+using System;
+using System.Runtime.InteropServices;
+
+public class SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t {
+ private HandleRef swigCPtr;
+
+ internal SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(IntPtr cPtr, bool futureUse) {
+ swigCPtr = new HandleRef(this, cPtr);
+ }
+
+ protected SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t() {
+ swigCPtr = new HandleRef(null, IntPtr.Zero);
+ }
+
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t obj) {
+ return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
+ }
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t.cs Thu Jun 5 16:33:21 2008
@@ -0,0 +1,30 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+using System;
+using System.Runtime.InteropServices;
+
+public class SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t {
+ private HandleRef swigCPtr;
+
+ internal SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t(IntPtr cPtr, bool futureUse) {
+ swigCPtr = new HandleRef(this, cPtr);
+ }
+
+ protected SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t() {
+ swigCPtr = new HandleRef(null, IntPtr.Zero);
+ }
+
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t obj) {
+ return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
+ }
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t.cs Thu Jun 5 16:33:21 2008
@@ -0,0 +1,30 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+using System;
+using System.Runtime.InteropServices;
+
+public class SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t {
+ private HandleRef swigCPtr;
+
+ internal SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) {
+ swigCPtr = new HandleRef(this, cPtr);
+ }
+
+ protected SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t() {
+ swigCPtr = new HandleRef(null, IntPtr.Zero);
+ }
+
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t obj) {
+ return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
+ }
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.cs Thu Jun 5 16:33:21 2008
@@ -0,0 +1,30 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+using System;
+using System.Runtime.InteropServices;
+
+public class SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t {
+ private HandleRef swigCPtr;
+
+ internal SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(IntPtr cPtr, bool futureUse) {
+ swigCPtr = new HandleRef(this, cPtr);
+ }
+
+ protected SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t() {
+ swigCPtr = new HandleRef(null, IntPtr.Zero);
+ }
+
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t obj) {
+ return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
+ }
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t.cs Thu Jun 5 16:33:21 2008
@@ -0,0 +1,30 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+using System;
+using System.Runtime.InteropServices;
+
+public class SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t {
+ private HandleRef swigCPtr;
+
+ internal SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) {
+ swigCPtr = new HandleRef(this, cPtr);
+ }
+
+ protected SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t() {
+ swigCPtr = new HandleRef(null, IntPtr.Zero);
+ }
+
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t obj) {
+ return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
+ }
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t.cs Thu Jun 5 16:33:21 2008
@@ -0,0 +1,30 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+using System;
+using System.Runtime.InteropServices;
+
+public class SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t {
+ private HandleRef swigCPtr;
+
+ internal SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) {
+ swigCPtr = new HandleRef(this, cPtr);
+ }
+
+ protected SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t() {
+ swigCPtr = new HandleRef(null, IntPtr.Zero);
+ }
+
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t obj) {
+ return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
+ }
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t.cs Thu Jun 5 16:33:21 2008
@@ -0,0 +1,30 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+using System;
+using System.Runtime.InteropServices;
+
+public class SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t {
+ private HandleRef swigCPtr;
+
+ internal SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) {
+ swigCPtr = new HandleRef(this, cPtr);
+ }
+
+ protected SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t() {
+ swigCPtr = new HandleRef(null, IntPtr.Zero);
+ }
+
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t obj) {
+ return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
+ }
+}
+
+}
Added: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_unsigned_long__switch_status_t.cs
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_unsigned_long__switch_status_t.cs Thu Jun 5 16:33:21 2008
@@ -0,0 +1,30 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org)
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+using System;
+using System.Runtime.InteropServices;
+
+public class SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_unsigned_long__switch_status_t {
+ private HandleRef swigCPtr;
+
+ internal SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) {
+ swigCPtr = new HandleRef(this, cPtr);
+ }
+
+ protected SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_unsigned_long__switch_status_t() {
+ swigCPtr = new HandleRef(null, IntPtr.Zero);
+ }
+
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_unsigned_long__switch_status_t obj) {
+ return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
+ }
+}
+
+}
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/freeswitch.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/freeswitch.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/freeswitch.cs Thu Jun 5 16:33:21 2008
@@ -157,8 +157,8 @@
return ret;
}
- public static switch_status_t switch_core_media_bug_add(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t callback, SWIGTYPE_p_void user_data, SWIGTYPE_p_time_t stop_time, switch_media_bug_flag_t flags, SWIGTYPE_p_p_switch_media_bug new_bug) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_add(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t.getCPtr(callback), SWIGTYPE_p_void.getCPtr(user_data), SWIGTYPE_p_time_t.getCPtr(stop_time), (int)flags, SWIGTYPE_p_p_switch_media_bug.getCPtr(new_bug));
+ public static switch_status_t switch_core_media_bug_add(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t callback, SWIGTYPE_p_void user_data, SWIGTYPE_p_time_t stop_time, uint flags, SWIGTYPE_p_p_switch_media_bug new_bug) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_add(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t.getCPtr(callback), SWIGTYPE_p_void.getCPtr(user_data), SWIGTYPE_p_time_t.getCPtr(stop_time), flags, SWIGTYPE_p_p_switch_media_bug.getCPtr(new_bug));
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
@@ -220,8 +220,8 @@
return ret;
}
- public static switch_status_t switch_core_port_allocator_new(ushort start, ushort end, switch_port_flag_t flags, SWIGTYPE_p_p_switch_core_port_allocator new_allocator) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_port_allocator_new(start, end, (int)flags, SWIGTYPE_p_p_switch_core_port_allocator.getCPtr(new_allocator));
+ public static switch_status_t switch_core_port_allocator_new(ushort start, ushort end, uint flags, SWIGTYPE_p_p_switch_core_port_allocator new_allocator) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_port_allocator_new(start, end, flags, SWIGTYPE_p_p_switch_core_port_allocator.getCPtr(new_allocator));
return ret;
}
@@ -239,13 +239,13 @@
freeswitchPINVOKE.switch_core_port_allocator_destroy(SWIGTYPE_p_p_switch_core_port_allocator.getCPtr(alloc));
}
- public static switch_status_t switch_core_init(switch_core_flag_t flags, switch_bool_t console, SWIGTYPE_p_p_char err) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_init((int)flags, (int)console, SWIGTYPE_p_p_char.getCPtr(err));
+ public static switch_status_t switch_core_init(uint flags, switch_bool_t console, SWIGTYPE_p_p_char err) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_init(flags, (int)console, SWIGTYPE_p_p_char.getCPtr(err));
return ret;
}
- public static switch_status_t switch_core_init_and_modload(switch_core_flag_t flags, switch_bool_t console, SWIGTYPE_p_p_char err) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_init_and_modload((int)flags, (int)console, SWIGTYPE_p_p_char.getCPtr(err));
+ public static switch_status_t switch_core_init_and_modload(uint flags, switch_bool_t console, SWIGTYPE_p_p_char err) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_init_and_modload(flags, (int)console, SWIGTYPE_p_p_char.getCPtr(err));
return ret;
}
@@ -543,8 +543,8 @@
freeswitchPINVOKE.switch_core_service_session(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_core_thread_session.getCPtr(thread_session), stream_id);
}
- public static switch_call_cause_t switch_core_session_outgoing_channel(SWIGTYPE_p_switch_core_session session, switch_event var_event, string endpoint_name, switch_caller_profile caller_profile, SWIGTYPE_p_p_switch_core_session new_session, SWIGTYPE_p_p_apr_pool_t pool, switch_originate_flag_t flags) {
- switch_call_cause_t ret = (switch_call_cause_t)freeswitchPINVOKE.switch_core_session_outgoing_channel(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_event.getCPtr(var_event), endpoint_name, switch_caller_profile.getCPtr(caller_profile), SWIGTYPE_p_p_switch_core_session.getCPtr(new_session), SWIGTYPE_p_p_apr_pool_t.getCPtr(pool), (int)flags);
+ public static switch_call_cause_t switch_core_session_outgoing_channel(SWIGTYPE_p_switch_core_session session, switch_event var_event, string endpoint_name, switch_caller_profile caller_profile, SWIGTYPE_p_p_switch_core_session new_session, SWIGTYPE_p_p_apr_pool_t pool, uint flags) {
+ switch_call_cause_t ret = (switch_call_cause_t)freeswitchPINVOKE.switch_core_session_outgoing_channel(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_event.getCPtr(var_event), endpoint_name, switch_caller_profile.getCPtr(caller_profile), SWIGTYPE_p_p_switch_core_session.getCPtr(new_session), SWIGTYPE_p_p_apr_pool_t.getCPtr(pool), flags);
return ret;
}
@@ -593,18 +593,18 @@
return ret;
}
- public static switch_status_t switch_core_session_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_frame frame, switch_io_flag_t flags, int stream_id) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_frame.getCPtr(frame), (int)flags, stream_id);
+ public static switch_status_t switch_core_session_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_frame frame, uint flags, int stream_id) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_frame.getCPtr(frame), flags, stream_id);
return ret;
}
- public static switch_status_t switch_core_session_read_video_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_frame frame, switch_io_flag_t flags, int stream_id) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_read_video_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_frame.getCPtr(frame), (int)flags, stream_id);
+ public static switch_status_t switch_core_session_read_video_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_frame frame, uint flags, int stream_id) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_read_video_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_frame.getCPtr(frame), flags, stream_id);
return ret;
}
- public static switch_status_t switch_core_session_write_video_frame(SWIGTYPE_p_switch_core_session session, switch_frame frame, switch_io_flag_t flags, int stream_id) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_write_video_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_frame.getCPtr(frame), (int)flags, stream_id);
+ public static switch_status_t switch_core_session_write_video_frame(SWIGTYPE_p_switch_core_session session, switch_frame frame, uint flags, int stream_id) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_write_video_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_frame.getCPtr(frame), flags, stream_id);
return ret;
}
@@ -612,8 +612,8 @@
freeswitchPINVOKE.switch_core_session_reset(SWIGTYPE_p_switch_core_session.getCPtr(session), (int)flush_dtmf);
}
- public static switch_status_t switch_core_session_write_frame(SWIGTYPE_p_switch_core_session session, switch_frame frame, switch_io_flag_t flags, int stream_id) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_write_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_frame.getCPtr(frame), (int)flags, stream_id);
+ public static switch_status_t switch_core_session_write_frame(SWIGTYPE_p_switch_core_session session, switch_frame frame, uint flags, int stream_id) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_write_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_frame.getCPtr(frame), flags, stream_id);
return ret;
}
@@ -844,13 +844,13 @@
return ret;
}
- public static switch_status_t switch_core_speech_open(switch_speech_handle sh, string module_name, string voice_name, uint rate, uint interval, SWIGTYPE_p_switch_speech_flag_t flags, SWIGTYPE_p_apr_pool_t pool) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_speech_open(switch_speech_handle.getCPtr(sh), module_name, voice_name, rate, interval, SWIGTYPE_p_switch_speech_flag_t.getCPtr(flags), SWIGTYPE_p_apr_pool_t.getCPtr(pool));
+ public static switch_status_t switch_core_speech_open(switch_speech_handle sh, string module_name, string voice_name, uint rate, uint interval, SWIGTYPE_p_unsigned_long flags, SWIGTYPE_p_apr_pool_t pool) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_speech_open(switch_speech_handle.getCPtr(sh), module_name, voice_name, rate, interval, SWIGTYPE_p_unsigned_long.getCPtr(flags), SWIGTYPE_p_apr_pool_t.getCPtr(pool));
return ret;
}
- public static switch_status_t switch_core_speech_feed_tts(switch_speech_handle sh, string text, SWIGTYPE_p_switch_speech_flag_t flags) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_speech_feed_tts(switch_speech_handle.getCPtr(sh), text, SWIGTYPE_p_switch_speech_flag_t.getCPtr(flags));
+ public static switch_status_t switch_core_speech_feed_tts(switch_speech_handle sh, string text, SWIGTYPE_p_unsigned_long flags) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_speech_feed_tts(switch_speech_handle.getCPtr(sh), text, SWIGTYPE_p_unsigned_long.getCPtr(flags));
return ret;
}
@@ -870,38 +870,38 @@
freeswitchPINVOKE.switch_core_speech_float_param_tts(switch_speech_handle.getCPtr(sh), param, val);
}
- public static switch_status_t switch_core_speech_read_tts(switch_speech_handle sh, SWIGTYPE_p_void data, SWIGTYPE_p_switch_size_t datalen, SWIGTYPE_p_unsigned_long rate, SWIGTYPE_p_switch_speech_flag_t flags) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_speech_read_tts(switch_speech_handle.getCPtr(sh), SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_switch_size_t.getCPtr(datalen), SWIGTYPE_p_unsigned_long.getCPtr(rate), SWIGTYPE_p_switch_speech_flag_t.getCPtr(flags));
+ public static switch_status_t switch_core_speech_read_tts(switch_speech_handle sh, SWIGTYPE_p_void data, SWIGTYPE_p_switch_size_t datalen, SWIGTYPE_p_unsigned_long rate, SWIGTYPE_p_unsigned_long flags) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_speech_read_tts(switch_speech_handle.getCPtr(sh), SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_switch_size_t.getCPtr(datalen), SWIGTYPE_p_unsigned_long.getCPtr(rate), SWIGTYPE_p_unsigned_long.getCPtr(flags));
return ret;
}
- public static switch_status_t switch_core_speech_close(switch_speech_handle sh, SWIGTYPE_p_switch_speech_flag_t flags) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_speech_close(switch_speech_handle.getCPtr(sh), SWIGTYPE_p_switch_speech_flag_t.getCPtr(flags));
+ public static switch_status_t switch_core_speech_close(switch_speech_handle sh, SWIGTYPE_p_unsigned_long flags) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_speech_close(switch_speech_handle.getCPtr(sh), SWIGTYPE_p_unsigned_long.getCPtr(flags));
return ret;
}
- public static switch_status_t switch_core_asr_open(switch_asr_handle ah, string module_name, string codec, int rate, string dest, SWIGTYPE_p_switch_asr_flag_t flags, SWIGTYPE_p_apr_pool_t pool) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_open(switch_asr_handle.getCPtr(ah), module_name, codec, rate, dest, SWIGTYPE_p_switch_asr_flag_t.getCPtr(flags), SWIGTYPE_p_apr_pool_t.getCPtr(pool));
+ public static switch_status_t switch_core_asr_open(switch_asr_handle ah, string module_name, string codec, int rate, string dest, SWIGTYPE_p_unsigned_long flags, SWIGTYPE_p_apr_pool_t pool) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_open(switch_asr_handle.getCPtr(ah), module_name, codec, rate, dest, SWIGTYPE_p_unsigned_long.getCPtr(flags), SWIGTYPE_p_apr_pool_t.getCPtr(pool));
return ret;
}
- public static switch_status_t switch_core_asr_close(switch_asr_handle ah, SWIGTYPE_p_switch_asr_flag_t flags) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_close(switch_asr_handle.getCPtr(ah), SWIGTYPE_p_switch_asr_flag_t.getCPtr(flags));
+ public static switch_status_t switch_core_asr_close(switch_asr_handle ah, SWIGTYPE_p_unsigned_long flags) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_close(switch_asr_handle.getCPtr(ah), SWIGTYPE_p_unsigned_long.getCPtr(flags));
return ret;
}
- public static switch_status_t switch_core_asr_feed(switch_asr_handle ah, SWIGTYPE_p_void data, uint len, SWIGTYPE_p_switch_asr_flag_t flags) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_feed(switch_asr_handle.getCPtr(ah), SWIGTYPE_p_void.getCPtr(data), len, SWIGTYPE_p_switch_asr_flag_t.getCPtr(flags));
+ public static switch_status_t switch_core_asr_feed(switch_asr_handle ah, SWIGTYPE_p_void data, uint len, SWIGTYPE_p_unsigned_long flags) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_feed(switch_asr_handle.getCPtr(ah), SWIGTYPE_p_void.getCPtr(data), len, SWIGTYPE_p_unsigned_long.getCPtr(flags));
return ret;
}
- public static switch_status_t switch_core_asr_check_results(switch_asr_handle ah, SWIGTYPE_p_switch_asr_flag_t flags) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_check_results(switch_asr_handle.getCPtr(ah), SWIGTYPE_p_switch_asr_flag_t.getCPtr(flags));
+ public static switch_status_t switch_core_asr_check_results(switch_asr_handle ah, SWIGTYPE_p_unsigned_long flags) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_check_results(switch_asr_handle.getCPtr(ah), SWIGTYPE_p_unsigned_long.getCPtr(flags));
return ret;
}
- public static switch_status_t switch_core_asr_get_results(switch_asr_handle ah, SWIGTYPE_p_p_char xmlstr, SWIGTYPE_p_switch_asr_flag_t flags) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_get_results(switch_asr_handle.getCPtr(ah), SWIGTYPE_p_p_char.getCPtr(xmlstr), SWIGTYPE_p_switch_asr_flag_t.getCPtr(flags));
+ public static switch_status_t switch_core_asr_get_results(switch_asr_handle ah, SWIGTYPE_p_p_char xmlstr, SWIGTYPE_p_unsigned_long flags) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_get_results(switch_asr_handle.getCPtr(ah), SWIGTYPE_p_p_char.getCPtr(xmlstr), SWIGTYPE_p_unsigned_long.getCPtr(flags));
return ret;
}
@@ -961,8 +961,8 @@
return ret;
}
- public static switch_core_flag_t switch_core_flags() {
- switch_core_flag_t ret = (switch_core_flag_t)freeswitchPINVOKE.switch_core_flags();
+ public static uint switch_core_flags() {
+ uint ret = freeswitchPINVOKE.switch_core_flags();
return ret;
}
@@ -1371,8 +1371,8 @@
freeswitchPINVOKE.switch_channel_wait_for_state(SWIGTYPE_p_switch_channel.getCPtr(channel), SWIGTYPE_p_switch_channel.getCPtr(other_channel), (int)want_state);
}
- public static switch_status_t switch_channel_wait_for_flag(SWIGTYPE_p_switch_channel channel, switch_channel_flag_t want_flag, switch_bool_t pres, uint to) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_wait_for_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)want_flag, (int)pres, to);
+ public static switch_status_t switch_channel_wait_for_flag(SWIGTYPE_p_switch_channel channel, uint want_flag, switch_bool_t pres, uint to) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_wait_for_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), want_flag, (int)pres, to);
return ret;
}
@@ -1500,31 +1500,31 @@
return ret;
}
- public static uint switch_channel_test_flag(SWIGTYPE_p_switch_channel channel, switch_channel_flag_t flags) {
- uint ret = freeswitchPINVOKE.switch_channel_test_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)flags);
+ public static uint switch_channel_test_flag(SWIGTYPE_p_switch_channel channel, uint flags) {
+ uint ret = freeswitchPINVOKE.switch_channel_test_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), flags);
return ret;
}
- public static void switch_channel_set_flag(SWIGTYPE_p_switch_channel channel, switch_channel_flag_t flags) {
- freeswitchPINVOKE.switch_channel_set_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)flags);
+ public static void switch_channel_set_flag(SWIGTYPE_p_switch_channel channel, uint flags) {
+ freeswitchPINVOKE.switch_channel_set_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), flags);
}
- public static switch_bool_t switch_channel_set_flag_partner(SWIGTYPE_p_switch_channel channel, switch_channel_flag_t flags) {
- switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_channel_set_flag_partner(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)flags);
+ public static switch_bool_t switch_channel_set_flag_partner(SWIGTYPE_p_switch_channel channel, uint flags) {
+ switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_channel_set_flag_partner(SWIGTYPE_p_switch_channel.getCPtr(channel), flags);
return ret;
}
- public static switch_bool_t switch_channel_clear_flag_partner(SWIGTYPE_p_switch_channel channel, switch_channel_flag_t flags) {
- switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_channel_clear_flag_partner(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)flags);
+ public static switch_bool_t switch_channel_clear_flag_partner(SWIGTYPE_p_switch_channel channel, uint flags) {
+ switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_channel_clear_flag_partner(SWIGTYPE_p_switch_channel.getCPtr(channel), flags);
return ret;
}
- public static void switch_channel_set_state_flag(SWIGTYPE_p_switch_channel channel, switch_channel_flag_t flags) {
- freeswitchPINVOKE.switch_channel_set_state_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)flags);
+ public static void switch_channel_set_state_flag(SWIGTYPE_p_switch_channel channel, uint flags) {
+ freeswitchPINVOKE.switch_channel_set_state_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), flags);
}
- public static void switch_channel_clear_flag(SWIGTYPE_p_switch_channel channel, switch_channel_flag_t flags) {
- freeswitchPINVOKE.switch_channel_clear_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)flags);
+ public static void switch_channel_clear_flag(SWIGTYPE_p_switch_channel channel, uint flags) {
+ freeswitchPINVOKE.switch_channel_clear_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), flags);
}
public static switch_status_t switch_channel_perform_answer(SWIGTYPE_p_switch_channel channel, string file, string func, int line) {
@@ -1995,8 +1995,8 @@
return ret;
}
- public static switch_status_t switch_ivr_eavesdrop_session(SWIGTYPE_p_switch_core_session session, string uuid, string require_group, switch_eavesdrop_flag_t flags) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_eavesdrop_session(SWIGTYPE_p_switch_core_session.getCPtr(session), uuid, require_group, (int)flags);
+ public static switch_status_t switch_ivr_eavesdrop_session(SWIGTYPE_p_switch_core_session session, string uuid, string require_group, uint flags) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_eavesdrop_session(SWIGTYPE_p_switch_core_session.getCPtr(session), uuid, require_group, flags);
return ret;
}
@@ -2084,8 +2084,8 @@
return ret;
}
- public static switch_status_t switch_ivr_originate(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_core_session bleg, SWIGTYPE_p_switch_call_cause_t cause, string bridgeto, uint timelimit_sec, switch_state_handler_table table, string cid_name_override, string cid_num_override, switch_caller_profile caller_profile_override, switch_originate_flag_t flags) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_originate(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_core_session.getCPtr(bleg), SWIGTYPE_p_switch_call_cause_t.getCPtr(cause), bridgeto, timelimit_sec, switch_state_handler_table.getCPtr(table), cid_name_override, cid_num_override, switch_caller_profile.getCPtr(caller_profile_override), (int)flags);
+ public static switch_status_t switch_ivr_originate(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_core_session bleg, SWIGTYPE_p_switch_call_cause_t cause, string bridgeto, uint timelimit_sec, switch_state_handler_table table, string cid_name_override, string cid_num_override, switch_caller_profile caller_profile_override, uint flags) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_originate(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_core_session.getCPtr(bleg), SWIGTYPE_p_switch_call_cause_t.getCPtr(cause), bridgeto, timelimit_sec, switch_state_handler_table.getCPtr(table), cid_name_override, cid_num_override, switch_caller_profile.getCPtr(caller_profile_override), flags);
return ret;
}
@@ -2121,13 +2121,13 @@
return ret;
}
- public static switch_status_t switch_ivr_media(string uuid, switch_media_flag_t flags) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_media(uuid, (int)flags);
+ public static switch_status_t switch_ivr_media(string uuid, uint flags) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_media(uuid, flags);
return ret;
}
- public static switch_status_t switch_ivr_nomedia(string uuid, switch_media_flag_t flags) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_nomedia(uuid, (int)flags);
+ public static switch_status_t switch_ivr_nomedia(string uuid, uint flags) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_nomedia(uuid, flags);
return ret;
}
@@ -2151,14 +2151,14 @@
return ret;
}
- public static uint switch_ivr_schedule_broadcast(SWIGTYPE_p_time_t runtime, string uuid, string path, switch_media_flag_t flags) {
- uint ret = freeswitchPINVOKE.switch_ivr_schedule_broadcast(SWIGTYPE_p_time_t.getCPtr(runtime), uuid, path, (int)flags);
+ public static uint switch_ivr_schedule_broadcast(SWIGTYPE_p_time_t runtime, string uuid, string path, uint flags) {
+ uint ret = freeswitchPINVOKE.switch_ivr_schedule_broadcast(SWIGTYPE_p_time_t.getCPtr(runtime), uuid, path, flags);
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
- public static switch_status_t switch_ivr_broadcast(string uuid, string path, switch_media_flag_t flags) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_broadcast(uuid, path, (int)flags);
+ public static switch_status_t switch_ivr_broadcast(string uuid, string path, uint flags) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_broadcast(uuid, path, flags);
return ret;
}
@@ -2292,8 +2292,8 @@
return ret;
}
- public static switch_status_t switch_ivr_bind_dtmf_meta_session(SWIGTYPE_p_switch_core_session session, uint key, switch_bind_flag_t bind_flags, string app) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_bind_dtmf_meta_session(SWIGTYPE_p_switch_core_session.getCPtr(session), key, (int)bind_flags, app);
+ public static switch_status_t switch_ivr_bind_dtmf_meta_session(SWIGTYPE_p_switch_core_session session, uint key, uint bind_flags, string app) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_bind_dtmf_meta_session(SWIGTYPE_p_switch_core_session.getCPtr(session), key, bind_flags, app);
return ret;
}
@@ -2359,13 +2359,13 @@
freeswitchPINVOKE.switch_rtp_release_port(ip, port);
}
- public static switch_status_t switch_rtp_create(SWIGTYPE_p_p_switch_rtp new_rtp_session, byte payload, uint samples_per_interval, uint ms_per_packet, switch_rtp_flag_t flags, string timer_name, SWIGTYPE_p_p_char err, SWIGTYPE_p_apr_pool_t pool) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_create(SWIGTYPE_p_p_switch_rtp.getCPtr(new_rtp_session), payload, samples_per_interval, ms_per_packet, (int)flags, timer_name, SWIGTYPE_p_p_char.getCPtr(err), SWIGTYPE_p_apr_pool_t.getCPtr(pool));
+ public static switch_status_t switch_rtp_create(SWIGTYPE_p_p_switch_rtp new_rtp_session, byte payload, uint samples_per_interval, uint ms_per_packet, uint flags, string timer_name, SWIGTYPE_p_p_char err, SWIGTYPE_p_apr_pool_t pool) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_create(SWIGTYPE_p_p_switch_rtp.getCPtr(new_rtp_session), payload, samples_per_interval, ms_per_packet, flags, timer_name, SWIGTYPE_p_p_char.getCPtr(err), SWIGTYPE_p_apr_pool_t.getCPtr(pool));
return ret;
}
- public static SWIGTYPE_p_switch_rtp switch_rtp_new(string rx_host, ushort rx_port, string tx_host, ushort tx_port, byte payload, uint samples_per_interval, uint ms_per_packet, switch_rtp_flag_t flags, string timer_name, SWIGTYPE_p_p_char err, SWIGTYPE_p_apr_pool_t pool) {
- IntPtr cPtr = freeswitchPINVOKE.switch_rtp_new(rx_host, rx_port, tx_host, tx_port, payload, samples_per_interval, ms_per_packet, (int)flags, timer_name, SWIGTYPE_p_p_char.getCPtr(err), SWIGTYPE_p_apr_pool_t.getCPtr(pool));
+ public static SWIGTYPE_p_switch_rtp switch_rtp_new(string rx_host, ushort rx_port, string tx_host, ushort tx_port, byte payload, uint samples_per_interval, uint ms_per_packet, uint flags, string timer_name, SWIGTYPE_p_p_char err, SWIGTYPE_p_apr_pool_t pool) {
+ IntPtr cPtr = freeswitchPINVOKE.switch_rtp_new(rx_host, rx_port, tx_host, tx_port, payload, samples_per_interval, ms_per_packet, flags, timer_name, SWIGTYPE_p_p_char.getCPtr(err), SWIGTYPE_p_apr_pool_t.getCPtr(pool));
SWIGTYPE_p_switch_rtp ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_rtp(cPtr, false);
return ret;
}
@@ -2411,17 +2411,17 @@
return ret;
}
- public static void switch_rtp_set_flag(SWIGTYPE_p_switch_rtp rtp_session, switch_rtp_flag_t flags) {
- freeswitchPINVOKE.switch_rtp_set_flag(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), (int)flags);
+ public static void switch_rtp_set_flag(SWIGTYPE_p_switch_rtp rtp_session, uint flags) {
+ freeswitchPINVOKE.switch_rtp_set_flag(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), flags);
}
- public static uint switch_rtp_test_flag(SWIGTYPE_p_switch_rtp rtp_session, switch_rtp_flag_t flags) {
- uint ret = freeswitchPINVOKE.switch_rtp_test_flag(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), (int)flags);
+ public static uint switch_rtp_test_flag(SWIGTYPE_p_switch_rtp rtp_session, uint flags) {
+ uint ret = freeswitchPINVOKE.switch_rtp_test_flag(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), flags);
return ret;
}
- public static void switch_rtp_clear_flag(SWIGTYPE_p_switch_rtp rtp_session, switch_rtp_flag_t flags) {
- freeswitchPINVOKE.switch_rtp_clear_flag(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), (int)flags);
+ public static void switch_rtp_clear_flag(SWIGTYPE_p_switch_rtp rtp_session, uint flags) {
+ freeswitchPINVOKE.switch_rtp_clear_flag(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), flags);
}
public static SWIGTYPE_p_switch_socket_t switch_rtp_get_rtp_socket(SWIGTYPE_p_switch_rtp rtp_session) {
@@ -2452,8 +2452,8 @@
freeswitchPINVOKE.switch_rtp_set_invald_handler(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_f_p_switch_rtp_p_switch_socket_t_p_void_switch_size_t_p_switch_sockaddr_t__void.getCPtr(on_invalid));
}
- public static switch_status_t switch_rtp_read(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_void data, SWIGTYPE_p_unsigned_long datalen, SWIGTYPE_p_unsigned_char payload_type, SWIGTYPE_p_switch_frame_flag_t flags, switch_io_flag_t io_flags) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_read(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_unsigned_long.getCPtr(datalen), SWIGTYPE_p_unsigned_char.getCPtr(payload_type), SWIGTYPE_p_switch_frame_flag_t.getCPtr(flags), (int)io_flags);
+ public static switch_status_t switch_rtp_read(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_void data, SWIGTYPE_p_unsigned_long datalen, SWIGTYPE_p_unsigned_char payload_type, SWIGTYPE_p_unsigned_long flags, uint io_flags) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_read(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_unsigned_long.getCPtr(datalen), SWIGTYPE_p_unsigned_char.getCPtr(payload_type), SWIGTYPE_p_unsigned_long.getCPtr(flags), io_flags);
return ret;
}
@@ -2477,18 +2477,18 @@
return ret;
}
- public static switch_status_t switch_rtp_zerocopy_read(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_p_void data, SWIGTYPE_p_unsigned_long datalen, SWIGTYPE_p_unsigned_char payload_type, SWIGTYPE_p_switch_frame_flag_t flags, switch_io_flag_t io_flags) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_zerocopy_read(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_p_void.getCPtr(data), SWIGTYPE_p_unsigned_long.getCPtr(datalen), SWIGTYPE_p_unsigned_char.getCPtr(payload_type), SWIGTYPE_p_switch_frame_flag_t.getCPtr(flags), (int)io_flags);
+ public static switch_status_t switch_rtp_zerocopy_read(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_p_void data, SWIGTYPE_p_unsigned_long datalen, SWIGTYPE_p_unsigned_char payload_type, SWIGTYPE_p_unsigned_long flags, uint io_flags) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_zerocopy_read(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_p_void.getCPtr(data), SWIGTYPE_p_unsigned_long.getCPtr(datalen), SWIGTYPE_p_unsigned_char.getCPtr(payload_type), SWIGTYPE_p_unsigned_long.getCPtr(flags), io_flags);
return ret;
}
- public static switch_status_t switch_rtp_zerocopy_read_frame(SWIGTYPE_p_switch_rtp rtp_session, switch_frame frame, switch_io_flag_t io_flagsm) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_zerocopy_read_frame(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), switch_frame.getCPtr(frame), (int)io_flagsm);
+ public static switch_status_t switch_rtp_zerocopy_read_frame(SWIGTYPE_p_switch_rtp rtp_session, switch_frame frame, uint io_flags) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_zerocopy_read_frame(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), switch_frame.getCPtr(frame), io_flags);
return ret;
}
- public static switch_status_t switch_rtp_enable_vad(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_switch_core_session session, switch_codec codec, switch_vad_flag_t flags) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_enable_vad(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_switch_core_session.getCPtr(session), switch_codec.getCPtr(codec), (int)flags);
+ public static switch_status_t switch_rtp_enable_vad(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_switch_core_session session, switch_codec codec, uint flags) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_enable_vad(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_switch_core_session.getCPtr(session), switch_codec.getCPtr(codec), flags);
return ret;
}
@@ -2502,8 +2502,8 @@
return ret;
}
- public static int switch_rtp_write_manual(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_void data, uint datalen, byte m, byte payload, uint ts, SWIGTYPE_p_switch_frame_flag_t flags) {
- int ret = freeswitchPINVOKE.switch_rtp_write_manual(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_void.getCPtr(data), datalen, m, payload, ts, SWIGTYPE_p_switch_frame_flag_t.getCPtr(flags));
+ public static int switch_rtp_write_manual(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_void data, uint datalen, byte m, byte payload, uint ts, SWIGTYPE_p_unsigned_long flags) {
+ int ret = freeswitchPINVOKE.switch_rtp_write_manual(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_void.getCPtr(data), datalen, m, payload, ts, SWIGTYPE_p_unsigned_long.getCPtr(flags));
return ret;
}
@@ -2732,18 +2732,18 @@
return ret;
}
- public static switch_status_t switch_xml_bind_search_function(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml function, switch_xml_section_t sections, SWIGTYPE_p_void user_data) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_bind_search_function(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml.getCPtr(function), (int)sections, SWIGTYPE_p_void.getCPtr(user_data));
+ public static switch_status_t switch_xml_bind_search_function(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml function, uint sections, SWIGTYPE_p_void user_data) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_bind_search_function(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml.getCPtr(function), sections, SWIGTYPE_p_void.getCPtr(user_data));
return ret;
}
- public static switch_xml_section_t switch_xml_parse_section_string(string str) {
- switch_xml_section_t ret = (switch_xml_section_t)freeswitchPINVOKE.switch_xml_parse_section_string(str);
+ public static uint switch_xml_parse_section_string(string str) {
+ uint ret = freeswitchPINVOKE.switch_xml_parse_section_string(str);
return ret;
}
- public static switch_status_t switch_core_event_hook_add_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_enum_switch_originate_flag_t__switch_status_t outgoing_channel) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_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_enum_switch_originate_flag_t__switch_status_t.getCPtr(outgoing_channel));
+ public static switch_status_t switch_core_event_hook_add_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) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_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));
return ret;
}
@@ -2762,23 +2762,23 @@
return ret;
}
- public static switch_status_t switch_core_event_hook_add_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t read_frame) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(read_frame));
+ public static switch_status_t switch_core_event_hook_add_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t read_frame) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(read_frame));
return ret;
}
- public static switch_status_t switch_core_event_hook_add_write_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t write_frame) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_write_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(write_frame));
+ public static switch_status_t switch_core_event_hook_add_write_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t write_frame) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_write_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(write_frame));
return ret;
}
- public static switch_status_t switch_core_event_hook_add_video_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t video_read_frame) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_video_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(video_read_frame));
+ public static switch_status_t switch_core_event_hook_add_video_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t video_read_frame) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_video_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(video_read_frame));
return ret;
}
- public static switch_status_t switch_core_event_hook_add_video_write_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t video_write_frame) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_video_write_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(video_write_frame));
+ public static switch_status_t switch_core_event_hook_add_video_write_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t video_write_frame) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_video_write_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(video_write_frame));
return ret;
}
@@ -2802,8 +2802,8 @@
return ret;
}
- 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_enum_switch_originate_flag_t__switch_status_t outgoing_channel) {
- 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_enum_switch_originate_flag_t__switch_status_t.getCPtr(outgoing_channel));
+ 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) {
+ 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));
return ret;
}
@@ -2822,23 +2822,23 @@
return ret;
}
- public static switch_status_t switch_core_event_hook_remove_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t read_frame) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(read_frame));
+ public static switch_status_t switch_core_event_hook_remove_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t read_frame) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(read_frame));
return ret;
}
- public static switch_status_t switch_core_event_hook_remove_write_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t write_frame) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_write_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(write_frame));
+ public static switch_status_t switch_core_event_hook_remove_write_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t write_frame) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_write_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(write_frame));
return ret;
}
- public static switch_status_t switch_core_event_hook_remove_video_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t video_read_frame) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_video_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(video_read_frame));
+ public static switch_status_t switch_core_event_hook_remove_video_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t video_read_frame) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_video_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(video_read_frame));
return ret;
}
- public static switch_status_t switch_core_event_hook_remove_video_write_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t video_write_frame) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_video_write_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(video_write_frame));
+ public static switch_status_t switch_core_event_hook_remove_video_write_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t video_write_frame) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_video_write_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(video_write_frame));
return ret;
}
@@ -2862,8 +2862,8 @@
return ret;
}
- 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, switch_scheduler_flag_t flags) {
- 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), (int)flags);
+ 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) {
+ 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);
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE.cs Thu Jun 5 16:33:21 2008
@@ -1140,10 +1140,10 @@
public static extern IntPtr switch_core_session_message_pointer_reply_size_get(HandleRef jarg1);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_message_flags_set")]
- public static extern void switch_core_session_message_flags_set(HandleRef jarg1, int jarg2);
+ public static extern void switch_core_session_message_flags_set(HandleRef jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_message_flags_get")]
- public static extern int switch_core_session_message_flags_get(HandleRef jarg1);
+ public static extern uint switch_core_session_message_flags_get(HandleRef jarg1);
[DllImport("mod_mono", EntryPoint="CSharp_new_switch_core_session_message")]
public static extern IntPtr new_switch_core_session_message();
@@ -1188,7 +1188,7 @@
public static extern void delete_switch_core_thread_session(HandleRef jarg1);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_media_bug_add")]
- public static extern int switch_core_media_bug_add(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, int jarg5, HandleRef jarg6);
+ public static extern int switch_core_media_bug_add(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, uint jarg5, HandleRef jarg6);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_media_bug_get_user_data")]
public static extern IntPtr switch_core_media_bug_get_user_data(HandleRef jarg1);
@@ -1224,7 +1224,7 @@
public static extern int switch_core_media_bug_read(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_port_allocator_new")]
- public static extern int switch_core_port_allocator_new(ushort jarg1, ushort jarg2, int jarg3, HandleRef jarg4);
+ public static extern int switch_core_port_allocator_new(ushort jarg1, ushort jarg2, uint jarg3, HandleRef jarg4);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_port_allocator_request_port")]
public static extern int switch_core_port_allocator_request_port(HandleRef jarg1, HandleRef jarg2);
@@ -1236,10 +1236,10 @@
public static extern void switch_core_port_allocator_destroy(HandleRef jarg1);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_init")]
- public static extern int switch_core_init(int jarg1, int jarg2, HandleRef jarg3);
+ public static extern int switch_core_init(uint jarg1, int jarg2, HandleRef jarg3);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_init_and_modload")]
- public static extern int switch_core_init_and_modload(int jarg1, int jarg2, HandleRef jarg3);
+ public static extern int switch_core_init_and_modload(uint jarg1, int jarg2, HandleRef jarg3);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_limit")]
public static extern uint switch_core_session_limit(uint jarg1);
@@ -1416,7 +1416,7 @@
public static extern void switch_core_service_session(HandleRef jarg1, HandleRef jarg2, int jarg3);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_outgoing_channel")]
- public static extern int switch_core_session_outgoing_channel(HandleRef jarg1, HandleRef jarg2, string jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6, int jarg7);
+ public static extern int switch_core_session_outgoing_channel(HandleRef jarg1, HandleRef jarg2, string jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6, uint jarg7);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_resurrect_channel")]
public static extern int switch_core_session_resurrect_channel(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4);
@@ -1446,19 +1446,19 @@
public static extern uint switch_core_session_flush_private_events(HandleRef jarg1);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_read_frame")]
- public static extern int switch_core_session_read_frame(HandleRef jarg1, HandleRef jarg2, int jarg3, int jarg4);
+ public static extern int switch_core_session_read_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3, int jarg4);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_read_video_frame")]
- public static extern int switch_core_session_read_video_frame(HandleRef jarg1, HandleRef jarg2, int jarg3, int jarg4);
+ public static extern int switch_core_session_read_video_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3, int jarg4);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_write_video_frame")]
- public static extern int switch_core_session_write_video_frame(HandleRef jarg1, HandleRef jarg2, int jarg3, int jarg4);
+ public static extern int switch_core_session_write_video_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3, int jarg4);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_reset")]
public static extern void switch_core_session_reset(HandleRef jarg1, int jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_write_frame")]
- public static extern int switch_core_session_write_frame(HandleRef jarg1, HandleRef jarg2, int jarg3, int jarg4);
+ public static extern int switch_core_session_write_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3, int jarg4);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_perform_kill_channel")]
public static extern int switch_core_session_perform_kill_channel(HandleRef jarg1, string jarg2, string jarg3, int jarg4, int jarg5);
@@ -1668,7 +1668,7 @@
public static extern int switch_core_ready();
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_flags")]
- public static extern int switch_core_flags();
+ public static extern uint switch_core_flags();
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_management_exec")]
public static extern int switch_core_management_exec(string jarg1, int jarg2, string jarg3, HandleRef jarg4);
@@ -2022,10 +2022,10 @@
public static extern string switch_caller_profile_profile_index_get(HandleRef jarg1);
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_flags_set")]
- public static extern void switch_caller_profile_flags_set(HandleRef jarg1, int jarg2);
+ public static extern void switch_caller_profile_flags_set(HandleRef jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_flags_get")]
- public static extern int switch_caller_profile_flags_get(HandleRef jarg1);
+ public static extern uint switch_caller_profile_flags_get(HandleRef jarg1);
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_originator_caller_profile_set")]
public static extern void switch_caller_profile_originator_caller_profile_set(HandleRef jarg1, HandleRef jarg2);
@@ -2253,10 +2253,10 @@
public static extern int switch_frame_m_get(HandleRef jarg1);
[DllImport("mod_mono", EntryPoint="CSharp_switch_frame_flags_set")]
- public static extern void switch_frame_flags_set(HandleRef jarg1, int jarg2);
+ public static extern void switch_frame_flags_set(HandleRef jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_frame_flags_get")]
- public static extern int switch_frame_flags_get(HandleRef jarg1);
+ public static extern uint switch_frame_flags_get(HandleRef jarg1);
[DllImport("mod_mono", EntryPoint="CSharp_new_switch_frame")]
public static extern IntPtr new_switch_frame();
@@ -3801,7 +3801,7 @@
public static extern void switch_channel_wait_for_state(HandleRef jarg1, HandleRef jarg2, int jarg3);
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_wait_for_flag")]
- public static extern int switch_channel_wait_for_flag(HandleRef jarg1, int jarg2, int jarg3, uint jarg4);
+ public static extern int switch_channel_wait_for_flag(HandleRef jarg1, uint jarg2, int jarg3, uint jarg4);
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_perform_set_state")]
public static extern int switch_channel_perform_set_state(HandleRef jarg1, string jarg2, string jarg3, int jarg4, int jarg5);
@@ -3879,22 +3879,22 @@
public static extern IntPtr switch_channel_get_caller_extension(HandleRef jarg1);
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_test_flag")]
- public static extern uint switch_channel_test_flag(HandleRef jarg1, int jarg2);
+ public static extern uint switch_channel_test_flag(HandleRef jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_set_flag")]
- public static extern void switch_channel_set_flag(HandleRef jarg1, int jarg2);
+ public static extern void switch_channel_set_flag(HandleRef jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_set_flag_partner")]
- public static extern int switch_channel_set_flag_partner(HandleRef jarg1, int jarg2);
+ public static extern int switch_channel_set_flag_partner(HandleRef jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_clear_flag_partner")]
- public static extern int switch_channel_clear_flag_partner(HandleRef jarg1, int jarg2);
+ public static extern int switch_channel_clear_flag_partner(HandleRef jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_set_state_flag")]
- public static extern void switch_channel_set_state_flag(HandleRef jarg1, int jarg2);
+ public static extern void switch_channel_set_state_flag(HandleRef jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_clear_flag")]
- public static extern void switch_channel_clear_flag(HandleRef jarg1, int jarg2);
+ public static extern void switch_channel_clear_flag(HandleRef jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_perform_answer")]
public static extern int switch_channel_perform_answer(HandleRef jarg1, string jarg2, string jarg3, int jarg4);
@@ -4503,7 +4503,7 @@
public static extern int switch_ivr_record_session(HandleRef jarg1, string jarg2, uint jarg3, HandleRef jarg4);
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_eavesdrop_session")]
- public static extern int switch_ivr_eavesdrop_session(HandleRef jarg1, string jarg2, string jarg3, int jarg4);
+ public static extern int switch_ivr_eavesdrop_session(HandleRef jarg1, string jarg2, string jarg3, uint jarg4);
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_displace_session")]
public static extern int switch_ivr_displace_session(HandleRef jarg1, string jarg2, uint jarg3, string jarg4);
@@ -4557,7 +4557,7 @@
public static extern int switch_ivr_speak_text(HandleRef jarg1, string jarg2, string jarg3, string jarg4, HandleRef jarg5);
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_originate")]
- public static extern int switch_ivr_originate(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, string jarg4, uint jarg5, HandleRef jarg6, string jarg7, string jarg8, HandleRef jarg9, int jarg10);
+ public static extern int switch_ivr_originate(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, string jarg4, uint jarg5, HandleRef jarg6, string jarg7, string jarg8, HandleRef jarg9, uint jarg10);
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_multi_threaded_bridge")]
public static extern int switch_ivr_multi_threaded_bridge(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5);
@@ -4578,10 +4578,10 @@
public static extern int switch_ivr_uuid_bridge(string jarg1, string jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_media")]
- public static extern int switch_ivr_media(string jarg1, int jarg2);
+ public static extern int switch_ivr_media(string jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_nomedia")]
- public static extern int switch_ivr_nomedia(string jarg1, int jarg2);
+ public static extern int switch_ivr_nomedia(string jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_hold_uuid")]
public static extern int switch_ivr_hold_uuid(string jarg1, string jarg2, int jarg3);
@@ -4596,10 +4596,10 @@
public static extern int switch_ivr_unhold(HandleRef jarg1);
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_schedule_broadcast")]
- public static extern uint switch_ivr_schedule_broadcast(HandleRef jarg1, string jarg2, string jarg3, int jarg4);
+ public static extern uint switch_ivr_schedule_broadcast(HandleRef jarg1, string jarg2, string jarg3, uint jarg4);
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_broadcast")]
- public static extern int switch_ivr_broadcast(string jarg1, string jarg2, int jarg3);
+ public static extern int switch_ivr_broadcast(string jarg1, string jarg2, uint jarg3);
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_transfer_variable")]
public static extern int switch_ivr_transfer_variable(HandleRef jarg1, HandleRef jarg2, string jarg3);
@@ -4680,7 +4680,7 @@
public static extern int switch_ivr_read(HandleRef jarg1, uint jarg2, uint jarg3, string jarg4, string jarg5, string jarg6, HandleRef jarg7, uint jarg8, string jarg9);
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_bind_dtmf_meta_session")]
- public static extern int switch_ivr_bind_dtmf_meta_session(HandleRef jarg1, uint jarg2, int jarg3, string jarg4);
+ public static extern int switch_ivr_bind_dtmf_meta_session(HandleRef jarg1, uint jarg2, uint jarg3, string jarg4);
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_unbind_dtmf_meta_session")]
public static extern int switch_ivr_unbind_dtmf_meta_session(HandleRef jarg1);
@@ -4773,10 +4773,10 @@
public static extern void switch_rtp_release_port(string jarg1, ushort jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_create")]
- public static extern int switch_rtp_create(HandleRef jarg1, byte jarg2, uint jarg3, uint jarg4, int jarg5, string jarg6, HandleRef jarg7, HandleRef jarg8);
+ public static extern int switch_rtp_create(HandleRef jarg1, byte jarg2, uint jarg3, uint jarg4, uint jarg5, string jarg6, HandleRef jarg7, HandleRef jarg8);
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_new")]
- public static extern IntPtr switch_rtp_new(string jarg1, ushort jarg2, string jarg3, ushort jarg4, byte jarg5, uint jarg6, uint jarg7, int jarg8, string jarg9, HandleRef jarg10, HandleRef jarg11);
+ public static extern IntPtr switch_rtp_new(string jarg1, ushort jarg2, string jarg3, ushort jarg4, byte jarg5, uint jarg6, uint jarg7, uint jarg8, string jarg9, HandleRef jarg10, HandleRef jarg11);
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_set_remote_address")]
public static extern int switch_rtp_set_remote_address(HandleRef jarg1, string jarg2, ushort jarg3, HandleRef jarg4);
@@ -4806,13 +4806,13 @@
public static extern int switch_rtp_activate_jitter_buffer(HandleRef jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_set_flag")]
- public static extern void switch_rtp_set_flag(HandleRef jarg1, int jarg2);
+ public static extern void switch_rtp_set_flag(HandleRef jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_test_flag")]
- public static extern uint switch_rtp_test_flag(HandleRef jarg1, int jarg2);
+ public static extern uint switch_rtp_test_flag(HandleRef jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_clear_flag")]
- public static extern void switch_rtp_clear_flag(HandleRef jarg1, int jarg2);
+ public static extern void switch_rtp_clear_flag(HandleRef jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_get_rtp_socket")]
public static extern IntPtr switch_rtp_get_rtp_socket(HandleRef jarg1);
@@ -4833,7 +4833,7 @@
public static extern void switch_rtp_set_invald_handler(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_read")]
- public static extern int switch_rtp_read(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, int jarg6);
+ public static extern int switch_rtp_read(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, uint jarg6);
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_queue_rfc2833")]
public static extern int switch_rtp_queue_rfc2833(HandleRef jarg1, HandleRef jarg2);
@@ -4848,13 +4848,13 @@
public static extern IntPtr switch_rtp_dequeue_dtmf(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_zerocopy_read")]
- public static extern int switch_rtp_zerocopy_read(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, int jarg6);
+ public static extern int switch_rtp_zerocopy_read(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, uint jarg6);
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_zerocopy_read_frame")]
- public static extern int switch_rtp_zerocopy_read_frame(HandleRef jarg1, HandleRef jarg2, int jarg3);
+ public static extern int switch_rtp_zerocopy_read_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3);
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_enable_vad")]
- public static extern int switch_rtp_enable_vad(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, int jarg4);
+ public static extern int switch_rtp_enable_vad(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, uint jarg4);
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_disable_vad")]
public static extern int switch_rtp_disable_vad(HandleRef jarg1);
@@ -5118,10 +5118,10 @@
public static extern IntPtr switch_xml_open_cfg(string jarg1, HandleRef jarg2, HandleRef jarg3);
[DllImport("mod_mono", EntryPoint="CSharp_switch_xml_bind_search_function")]
- public static extern int switch_xml_bind_search_function(HandleRef jarg1, int jarg2, HandleRef jarg3);
+ public static extern int switch_xml_bind_search_function(HandleRef jarg1, uint jarg2, HandleRef jarg3);
[DllImport("mod_mono", EntryPoint="CSharp_switch_xml_parse_section_string")]
- public static extern int switch_xml_parse_section_string(string jarg1);
+ public static extern uint switch_xml_parse_section_string(string jarg1);
[DllImport("mod_mono", EntryPoint="CSharp_switch_io_event_hook_outgoing_channel_outgoing_channel_set")]
public static extern void switch_io_event_hook_outgoing_channel_outgoing_channel_set(HandleRef jarg1, HandleRef jarg2);
@@ -5532,7 +5532,7 @@
public static extern void delete_switch_scheduler_task(HandleRef jarg1);
[DllImport("mod_mono", EntryPoint="CSharp_switch_scheduler_add_task")]
- public static extern uint switch_scheduler_add_task(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, uint jarg5, HandleRef jarg6, int jarg7);
+ public static extern uint switch_scheduler_add_task(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, uint jarg5, HandleRef jarg6, uint jarg7);
[DllImport("mod_mono", EntryPoint="CSharp_switch_scheduler_del_task_id")]
public static extern uint switch_scheduler_del_task_id(uint jarg1);
@@ -5855,6 +5855,15 @@
[DllImport("mod_mono", EntryPoint="CSharp_CoreSession_Ready")]
public static extern bool CoreSession_Ready(HandleRef jarg1);
+ [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_answered")]
+ public static extern bool CoreSession_answered(HandleRef jarg1);
+
+ [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_mediaReady")]
+ public static extern bool CoreSession_mediaReady(HandleRef jarg1);
+
+ [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_waitForAnswer")]
+ public static extern void CoreSession_waitForAnswer(HandleRef jarg1, HandleRef jarg2);
+
[DllImport("mod_mono", EntryPoint="CSharp_CoreSession_Execute")]
public static extern void CoreSession_Execute(HandleRef jarg1, string jarg2, string jarg3);
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE_fixed.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE_fixed.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE_fixed.cs Thu Jun 5 16:33:21 2008
@@ -1680,10 +1680,10 @@
public static extern IntPtr switch_core_session_message_pointer_reply_size_get(HandleRef jarg1);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_message_flags_set")]
- public static extern void switch_core_session_message_flags_set(HandleRef jarg1, int jarg2);
+ public static extern void switch_core_session_message_flags_set(HandleRef jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_message_flags_get")]
- public static extern int switch_core_session_message_flags_get(HandleRef jarg1);
+ public static extern uint switch_core_session_message_flags_get(HandleRef jarg1);
[DllImport("mod_mono", EntryPoint="CSharp_new_switch_core_session_message")]
public static extern IntPtr new_switch_core_session_message();
@@ -1728,7 +1728,7 @@
public static extern void delete_switch_core_thread_session(HandleRef jarg1);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_media_bug_add")]
- public static extern int switch_core_media_bug_add(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, int jarg5, HandleRef jarg6);
+ public static extern int switch_core_media_bug_add(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, uint jarg5, HandleRef jarg6);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_media_bug_get_user_data")]
public static extern IntPtr switch_core_media_bug_get_user_data(HandleRef jarg1);
@@ -1764,7 +1764,7 @@
public static extern int switch_core_media_bug_read(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_port_allocator_new")]
- public static extern int switch_core_port_allocator_new(ushort jarg1, ushort jarg2, int jarg3, HandleRef jarg4);
+ public static extern int switch_core_port_allocator_new(ushort jarg1, ushort jarg2, uint jarg3, HandleRef jarg4);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_port_allocator_request_port")]
public static extern int switch_core_port_allocator_request_port(HandleRef jarg1, HandleRef jarg2);
@@ -1776,10 +1776,10 @@
public static extern void switch_core_port_allocator_destroy(HandleRef jarg1);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_init")]
- public static extern int switch_core_init(int jarg1, int jarg2, HandleRef jarg3);
+ public static extern int switch_core_init(uint jarg1, int jarg2, HandleRef jarg3);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_init_and_modload")]
- public static extern int switch_core_init_and_modload(int jarg1, int jarg2, HandleRef jarg3);
+ public static extern int switch_core_init_and_modload(uint jarg1, int jarg2, HandleRef jarg3);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_limit")]
public static extern uint switch_core_session_limit(uint jarg1);
@@ -1996,7 +1996,7 @@
public static extern void switch_core_service_session(HandleRef jarg1, HandleRef jarg2, int jarg3);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_outgoing_channel")]
- public static extern int switch_core_session_outgoing_channel(HandleRef jarg1, HandleRef jarg2, string jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6, int jarg7);
+ public static extern int switch_core_session_outgoing_channel(HandleRef jarg1, HandleRef jarg2, string jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6, uint jarg7);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_resurrect_channel")]
public static extern int switch_core_session_resurrect_channel(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4);
@@ -2026,19 +2026,19 @@
public static extern uint switch_core_session_flush_private_events(HandleRef jarg1);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_read_frame")]
- public static extern int switch_core_session_read_frame(HandleRef jarg1, HandleRef jarg2, int jarg3, int jarg4);
+ public static extern int switch_core_session_read_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3, int jarg4);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_read_video_frame")]
- public static extern int switch_core_session_read_video_frame(HandleRef jarg1, HandleRef jarg2, int jarg3, int jarg4);
+ public static extern int switch_core_session_read_video_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3, int jarg4);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_write_video_frame")]
- public static extern int switch_core_session_write_video_frame(HandleRef jarg1, HandleRef jarg2, int jarg3, int jarg4);
+ public static extern int switch_core_session_write_video_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3, int jarg4);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_reset")]
public static extern void switch_core_session_reset(HandleRef jarg1, int jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_write_frame")]
- public static extern int switch_core_session_write_frame(HandleRef jarg1, HandleRef jarg2, int jarg3, int jarg4);
+ public static extern int switch_core_session_write_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3, int jarg4);
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_perform_kill_channel")]
public static extern int switch_core_session_perform_kill_channel(HandleRef jarg1, string jarg2, string jarg3, int jarg4, int jarg5);
@@ -2253,7 +2253,7 @@
public static extern int switch_core_ready();
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_flags")]
- public static extern int switch_core_flags();
+ public static extern uint switch_core_flags();
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_management_exec")]
public static extern int switch_core_management_exec(string jarg1, int jarg2, string jarg3, HandleRef jarg4);
@@ -2747,10 +2747,10 @@
return _res; }
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_flags_set")]
- public static extern void switch_caller_profile_flags_set(HandleRef jarg1, int jarg2);
+ public static extern void switch_caller_profile_flags_set(HandleRef jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_flags_get")]
- public static extern int switch_caller_profile_flags_get(HandleRef jarg1);
+ public static extern uint switch_caller_profile_flags_get(HandleRef jarg1);
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_originator_caller_profile_set")]
public static extern void switch_caller_profile_originator_caller_profile_set(HandleRef jarg1, HandleRef jarg2);
@@ -3008,10 +3008,10 @@
public static extern int switch_frame_m_get(HandleRef jarg1);
[DllImport("mod_mono", EntryPoint="CSharp_switch_frame_flags_set")]
- public static extern void switch_frame_flags_set(HandleRef jarg1, int jarg2);
+ public static extern void switch_frame_flags_set(HandleRef jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_frame_flags_get")]
- public static extern int switch_frame_flags_get(HandleRef jarg1);
+ public static extern uint switch_frame_flags_get(HandleRef jarg1);
[DllImport("mod_mono", EntryPoint="CSharp_new_switch_frame")]
public static extern IntPtr new_switch_frame();
@@ -4721,7 +4721,7 @@
public static extern void switch_channel_wait_for_state(HandleRef jarg1, HandleRef jarg2, int jarg3);
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_wait_for_flag")]
- public static extern int switch_channel_wait_for_flag(HandleRef jarg1, int jarg2, int jarg3, uint jarg4);
+ public static extern int switch_channel_wait_for_flag(HandleRef jarg1, uint jarg2, int jarg3, uint jarg4);
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_perform_set_state")]
public static extern int switch_channel_perform_set_state(HandleRef jarg1, string jarg2, string jarg3, int jarg4, int jarg5);
@@ -4819,22 +4819,22 @@
public static extern IntPtr switch_channel_get_caller_extension(HandleRef jarg1);
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_test_flag")]
- public static extern uint switch_channel_test_flag(HandleRef jarg1, int jarg2);
+ public static extern uint switch_channel_test_flag(HandleRef jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_set_flag")]
- public static extern void switch_channel_set_flag(HandleRef jarg1, int jarg2);
+ public static extern void switch_channel_set_flag(HandleRef jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_set_flag_partner")]
- public static extern int switch_channel_set_flag_partner(HandleRef jarg1, int jarg2);
+ public static extern int switch_channel_set_flag_partner(HandleRef jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_clear_flag_partner")]
- public static extern int switch_channel_clear_flag_partner(HandleRef jarg1, int jarg2);
+ public static extern int switch_channel_clear_flag_partner(HandleRef jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_set_state_flag")]
- public static extern void switch_channel_set_state_flag(HandleRef jarg1, int jarg2);
+ public static extern void switch_channel_set_state_flag(HandleRef jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_clear_flag")]
- public static extern void switch_channel_clear_flag(HandleRef jarg1, int jarg2);
+ public static extern void switch_channel_clear_flag(HandleRef jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_perform_answer")]
public static extern int switch_channel_perform_answer(HandleRef jarg1, string jarg2, string jarg3, int jarg4);
@@ -5533,7 +5533,7 @@
public static extern int switch_ivr_record_session(HandleRef jarg1, string jarg2, uint jarg3, HandleRef jarg4);
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_eavesdrop_session")]
- public static extern int switch_ivr_eavesdrop_session(HandleRef jarg1, string jarg2, string jarg3, int jarg4);
+ public static extern int switch_ivr_eavesdrop_session(HandleRef jarg1, string jarg2, string jarg3, uint jarg4);
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_displace_session")]
public static extern int switch_ivr_displace_session(HandleRef jarg1, string jarg2, uint jarg3, string jarg4);
@@ -5587,7 +5587,7 @@
public static extern int switch_ivr_speak_text(HandleRef jarg1, string jarg2, string jarg3, string jarg4, HandleRef jarg5);
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_originate")]
- public static extern int switch_ivr_originate(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, string jarg4, uint jarg5, HandleRef jarg6, string jarg7, string jarg8, HandleRef jarg9, int jarg10);
+ public static extern int switch_ivr_originate(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, string jarg4, uint jarg5, HandleRef jarg6, string jarg7, string jarg8, HandleRef jarg9, uint jarg10);
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_multi_threaded_bridge")]
public static extern int switch_ivr_multi_threaded_bridge(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5);
@@ -5608,10 +5608,10 @@
public static extern int switch_ivr_uuid_bridge(string jarg1, string jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_media")]
- public static extern int switch_ivr_media(string jarg1, int jarg2);
+ public static extern int switch_ivr_media(string jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_nomedia")]
- public static extern int switch_ivr_nomedia(string jarg1, int jarg2);
+ public static extern int switch_ivr_nomedia(string jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_hold_uuid")]
public static extern int switch_ivr_hold_uuid(string jarg1, string jarg2, int jarg3);
@@ -5626,10 +5626,10 @@
public static extern int switch_ivr_unhold(HandleRef jarg1);
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_schedule_broadcast")]
- public static extern uint switch_ivr_schedule_broadcast(HandleRef jarg1, string jarg2, string jarg3, int jarg4);
+ public static extern uint switch_ivr_schedule_broadcast(HandleRef jarg1, string jarg2, string jarg3, uint jarg4);
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_broadcast")]
- public static extern int switch_ivr_broadcast(string jarg1, string jarg2, int jarg3);
+ public static extern int switch_ivr_broadcast(string jarg1, string jarg2, uint jarg3);
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_transfer_variable")]
public static extern int switch_ivr_transfer_variable(HandleRef jarg1, HandleRef jarg2, string jarg3);
@@ -5710,7 +5710,7 @@
public static extern int switch_ivr_read(HandleRef jarg1, uint jarg2, uint jarg3, string jarg4, string jarg5, string jarg6, HandleRef jarg7, uint jarg8, string jarg9);
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_bind_dtmf_meta_session")]
- public static extern int switch_ivr_bind_dtmf_meta_session(HandleRef jarg1, uint jarg2, int jarg3, string jarg4);
+ public static extern int switch_ivr_bind_dtmf_meta_session(HandleRef jarg1, uint jarg2, uint jarg3, string jarg4);
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_unbind_dtmf_meta_session")]
public static extern int switch_ivr_unbind_dtmf_meta_session(HandleRef jarg1);
@@ -5813,10 +5813,10 @@
public static extern void switch_rtp_release_port(string jarg1, ushort jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_create")]
- public static extern int switch_rtp_create(HandleRef jarg1, byte jarg2, uint jarg3, uint jarg4, int jarg5, string jarg6, HandleRef jarg7, HandleRef jarg8);
+ public static extern int switch_rtp_create(HandleRef jarg1, byte jarg2, uint jarg3, uint jarg4, uint jarg5, string jarg6, HandleRef jarg7, HandleRef jarg8);
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_new")]
- public static extern IntPtr switch_rtp_new(string jarg1, ushort jarg2, string jarg3, ushort jarg4, byte jarg5, uint jarg6, uint jarg7, int jarg8, string jarg9, HandleRef jarg10, HandleRef jarg11);
+ public static extern IntPtr switch_rtp_new(string jarg1, ushort jarg2, string jarg3, ushort jarg4, byte jarg5, uint jarg6, uint jarg7, uint jarg8, string jarg9, HandleRef jarg10, HandleRef jarg11);
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_set_remote_address")]
public static extern int switch_rtp_set_remote_address(HandleRef jarg1, string jarg2, ushort jarg3, HandleRef jarg4);
@@ -5846,13 +5846,13 @@
public static extern int switch_rtp_activate_jitter_buffer(HandleRef jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_set_flag")]
- public static extern void switch_rtp_set_flag(HandleRef jarg1, int jarg2);
+ public static extern void switch_rtp_set_flag(HandleRef jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_test_flag")]
- public static extern uint switch_rtp_test_flag(HandleRef jarg1, int jarg2);
+ public static extern uint switch_rtp_test_flag(HandleRef jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_clear_flag")]
- public static extern void switch_rtp_clear_flag(HandleRef jarg1, int jarg2);
+ public static extern void switch_rtp_clear_flag(HandleRef jarg1, uint jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_get_rtp_socket")]
public static extern IntPtr switch_rtp_get_rtp_socket(HandleRef jarg1);
@@ -5873,7 +5873,7 @@
public static extern void switch_rtp_set_invald_handler(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_read")]
- public static extern int switch_rtp_read(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, int jarg6);
+ public static extern int switch_rtp_read(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, uint jarg6);
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_queue_rfc2833")]
public static extern int switch_rtp_queue_rfc2833(HandleRef jarg1, HandleRef jarg2);
@@ -5888,13 +5888,13 @@
public static extern IntPtr switch_rtp_dequeue_dtmf(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_zerocopy_read")]
- public static extern int switch_rtp_zerocopy_read(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, int jarg6);
+ public static extern int switch_rtp_zerocopy_read(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, uint jarg6);
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_zerocopy_read_frame")]
- public static extern int switch_rtp_zerocopy_read_frame(HandleRef jarg1, HandleRef jarg2, int jarg3);
+ public static extern int switch_rtp_zerocopy_read_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3);
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_enable_vad")]
- public static extern int switch_rtp_enable_vad(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, int jarg4);
+ public static extern int switch_rtp_enable_vad(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, uint jarg4);
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_disable_vad")]
public static extern int switch_rtp_disable_vad(HandleRef jarg1);
@@ -6228,10 +6228,10 @@
public static extern IntPtr switch_xml_open_cfg(string jarg1, HandleRef jarg2, HandleRef jarg3);
[DllImport("mod_mono", EntryPoint="CSharp_switch_xml_bind_search_function")]
- public static extern int switch_xml_bind_search_function(HandleRef jarg1, int jarg2, HandleRef jarg3);
+ public static extern int switch_xml_bind_search_function(HandleRef jarg1, uint jarg2, HandleRef jarg3);
[DllImport("mod_mono", EntryPoint="CSharp_switch_xml_parse_section_string")]
- public static extern int switch_xml_parse_section_string(string jarg1);
+ public static extern uint switch_xml_parse_section_string(string jarg1);
[DllImport("mod_mono", EntryPoint="CSharp_switch_io_event_hook_outgoing_channel_outgoing_channel_set")]
public static extern void switch_io_event_hook_outgoing_channel_outgoing_channel_set(HandleRef jarg1, HandleRef jarg2);
@@ -6647,7 +6647,7 @@
public static extern void delete_switch_scheduler_task(HandleRef jarg1);
[DllImport("mod_mono", EntryPoint="CSharp_switch_scheduler_add_task")]
- public static extern uint switch_scheduler_add_task(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, uint jarg5, HandleRef jarg6, int jarg7);
+ public static extern uint switch_scheduler_add_task(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, uint jarg5, HandleRef jarg6, uint jarg7);
[DllImport("mod_mono", EntryPoint="CSharp_switch_scheduler_del_task_id")]
public static extern uint switch_scheduler_del_task_id(uint jarg1);
@@ -7055,6 +7055,15 @@
[DllImport("mod_mono", EntryPoint="CSharp_CoreSession_Ready")]
public static extern bool CoreSession_Ready(HandleRef jarg1);
+ [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_answered")]
+ public static extern bool CoreSession_answered(HandleRef jarg1);
+
+ [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_mediaReady")]
+ public static extern bool CoreSession_mediaReady(HandleRef jarg1);
+
+ [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_waitForAnswer")]
+ public static extern void CoreSession_waitForAnswer(HandleRef jarg1, HandleRef jarg2);
+
[DllImport("mod_mono", EntryPoint="CSharp_CoreSession_Execute")]
public static extern void CoreSession_Execute(HandleRef jarg1, string jarg2, string jarg3);
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_asr_interface.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_asr_interface.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_asr_interface.cs Thu Jun 5 16:33:21 2008
@@ -49,13 +49,13 @@
}
}
- public SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_enum_switch_asr_flag_t__switch_status_t asr_open {
+ public SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t asr_open {
set {
- freeswitchPINVOKE.switch_asr_interface_asr_open_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_enum_switch_asr_flag_t__switch_status_t.getCPtr(value));
+ freeswitchPINVOKE.switch_asr_interface_asr_open_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_open_get(swigCPtr);
- SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_enum_switch_asr_flag_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_enum_switch_asr_flag_t__switch_status_t(cPtr, false);
+ SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t(cPtr, false);
return ret;
}
}
@@ -82,24 +82,24 @@
}
}
- public SWIGTYPE_p_f_p_switch_asr_handle_p_enum_switch_asr_flag_t__switch_status_t asr_close {
+ public SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t asr_close {
set {
- freeswitchPINVOKE.switch_asr_interface_asr_close_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_enum_switch_asr_flag_t__switch_status_t.getCPtr(value));
+ freeswitchPINVOKE.switch_asr_interface_asr_close_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_close_get(swigCPtr);
- SWIGTYPE_p_f_p_switch_asr_handle_p_enum_switch_asr_flag_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_enum_switch_asr_flag_t__switch_status_t(cPtr, false);
+ SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t(cPtr, false);
return ret;
}
}
- public SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_enum_switch_asr_flag_t__switch_status_t asr_feed {
+ public SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t asr_feed {
set {
- freeswitchPINVOKE.switch_asr_interface_asr_feed_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_enum_switch_asr_flag_t__switch_status_t.getCPtr(value));
+ freeswitchPINVOKE.switch_asr_interface_asr_feed_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_feed_get(swigCPtr);
- SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_enum_switch_asr_flag_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_enum_switch_asr_flag_t__switch_status_t(cPtr, false);
+ SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t(cPtr, false);
return ret;
}
}
@@ -126,24 +126,24 @@
}
}
- public SWIGTYPE_p_f_p_switch_asr_handle_p_enum_switch_asr_flag_t__switch_status_t asr_check_results {
+ public SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t asr_check_results {
set {
- freeswitchPINVOKE.switch_asr_interface_asr_check_results_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_enum_switch_asr_flag_t__switch_status_t.getCPtr(value));
+ freeswitchPINVOKE.switch_asr_interface_asr_check_results_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_check_results_get(swigCPtr);
- SWIGTYPE_p_f_p_switch_asr_handle_p_enum_switch_asr_flag_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_enum_switch_asr_flag_t__switch_status_t(cPtr, false);
+ SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t(cPtr, false);
return ret;
}
}
- public SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_enum_switch_asr_flag_t__switch_status_t asr_get_results {
+ public SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t asr_get_results {
set {
- freeswitchPINVOKE.switch_asr_interface_asr_get_results_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_enum_switch_asr_flag_t__switch_status_t.getCPtr(value));
+ freeswitchPINVOKE.switch_asr_interface_asr_get_results_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_get_results_get(swigCPtr);
- SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_enum_switch_asr_flag_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_enum_switch_asr_flag_t__switch_status_t(cPtr, false);
+ SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t(cPtr, false);
return ret;
}
}
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_caller_profile.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_caller_profile.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_caller_profile.cs Thu Jun 5 16:33:21 2008
@@ -259,12 +259,12 @@
}
}
- public switch_caller_profile_flag_t flags {
+ public uint flags {
set {
- freeswitchPINVOKE.switch_caller_profile_flags_set(swigCPtr, (int)value);
+ freeswitchPINVOKE.switch_caller_profile_flags_set(swigCPtr, value);
}
get {
- switch_caller_profile_flag_t ret = (switch_caller_profile_flag_t)freeswitchPINVOKE.switch_caller_profile_flags_get(swigCPtr);
+ uint ret = freeswitchPINVOKE.switch_caller_profile_flags_get(swigCPtr);
return ret;
}
}
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_codec_implementation.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_codec_implementation.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_codec_implementation.cs Thu Jun 5 16:33:21 2008
@@ -179,13 +179,13 @@
}
}
- public SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_flag_t_p_q_const__switch_codec_settings__switch_status_t init {
+ public SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t init {
set {
- freeswitchPINVOKE.switch_codec_implementation_init_set(swigCPtr, SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_flag_t_p_q_const__switch_codec_settings__switch_status_t.getCPtr(value));
+ freeswitchPINVOKE.switch_codec_implementation_init_set(swigCPtr, SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_codec_implementation_init_get(swigCPtr);
- SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_flag_t_p_q_const__switch_codec_settings__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_flag_t_p_q_const__switch_codec_settings__switch_status_t(cPtr, false);
+ SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t(cPtr, false);
return ret;
}
}
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_core_session_message.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_core_session_message.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_core_session_message.cs Thu Jun 5 16:33:21 2008
@@ -169,12 +169,12 @@
}
}
- public switch_core_session_message_flag_t flags {
+ public uint flags {
set {
- freeswitchPINVOKE.switch_core_session_message_flags_set(swigCPtr, (int)value);
+ freeswitchPINVOKE.switch_core_session_message_flags_set(swigCPtr, value);
}
get {
- switch_core_session_message_flag_t ret = (switch_core_session_message_flag_t)freeswitchPINVOKE.switch_core_session_message_flags_get(swigCPtr);
+ uint ret = freeswitchPINVOKE.switch_core_session_message_flags_get(swigCPtr);
return ret;
}
}
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_frame.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_frame.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_frame.cs Thu Jun 5 16:33:21 2008
@@ -184,12 +184,12 @@
}
}
- public switch_frame_flag_t flags {
+ public uint flags {
set {
- freeswitchPINVOKE.switch_frame_flags_set(swigCPtr, (int)value);
+ freeswitchPINVOKE.switch_frame_flags_set(swigCPtr, value);
}
get {
- switch_frame_flag_t ret = (switch_frame_flag_t)freeswitchPINVOKE.switch_frame_flags_get(swigCPtr);
+ uint ret = freeswitchPINVOKE.switch_frame_flags_get(swigCPtr);
return ret;
}
}
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_event_hook_outgoing_channel.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_event_hook_outgoing_channel.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_event_hook_outgoing_channel.cs Thu Jun 5 16:33:21 2008
@@ -39,13 +39,13 @@
}
}
- public SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_enum_switch_originate_flag_t__switch_status_t outgoing_channel {
+ public 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 {
set {
- freeswitchPINVOKE.switch_io_event_hook_outgoing_channel_outgoing_channel_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_enum_switch_originate_flag_t__switch_status_t.getCPtr(value));
+ freeswitchPINVOKE.switch_io_event_hook_outgoing_channel_outgoing_channel_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_outgoing_channel_outgoing_channel_get(swigCPtr);
- SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_enum_switch_originate_flag_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_enum_switch_originate_flag_t__switch_status_t(cPtr, false);
+ SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t(cPtr, false);
return ret;
}
}
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_event_hook_read_frame.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_event_hook_read_frame.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_event_hook_read_frame.cs Thu Jun 5 16:33:21 2008
@@ -39,13 +39,13 @@
}
}
- public SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t read_frame {
+ public SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t read_frame {
set {
- freeswitchPINVOKE.switch_io_event_hook_read_frame_read_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(value));
+ freeswitchPINVOKE.switch_io_event_hook_read_frame_read_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_read_frame_read_frame_get(swigCPtr);
- SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t(cPtr, false);
+ SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false);
return ret;
}
}
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_event_hook_video_read_frame.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_event_hook_video_read_frame.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_event_hook_video_read_frame.cs Thu Jun 5 16:33:21 2008
@@ -39,13 +39,13 @@
}
}
- public SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t video_read_frame {
+ public SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t video_read_frame {
set {
- freeswitchPINVOKE.switch_io_event_hook_video_read_frame_video_read_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(value));
+ freeswitchPINVOKE.switch_io_event_hook_video_read_frame_video_read_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_video_read_frame_video_read_frame_get(swigCPtr);
- SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t(cPtr, false);
+ SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false);
return ret;
}
}
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_event_hook_video_write_frame.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_event_hook_video_write_frame.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_event_hook_video_write_frame.cs Thu Jun 5 16:33:21 2008
@@ -39,13 +39,13 @@
}
}
- public SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t video_write_frame {
+ public SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t video_write_frame {
set {
- freeswitchPINVOKE.switch_io_event_hook_video_write_frame_video_write_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(value));
+ freeswitchPINVOKE.switch_io_event_hook_video_write_frame_video_write_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_video_write_frame_video_write_frame_get(swigCPtr);
- SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t(cPtr, false);
+ SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false);
return ret;
}
}
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_event_hook_write_frame.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_event_hook_write_frame.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_event_hook_write_frame.cs Thu Jun 5 16:33:21 2008
@@ -39,13 +39,13 @@
}
}
- public SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t write_frame {
+ public SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t write_frame {
set {
- freeswitchPINVOKE.switch_io_event_hook_write_frame_write_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(value));
+ freeswitchPINVOKE.switch_io_event_hook_write_frame_write_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_write_frame_write_frame_get(swigCPtr);
- SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t(cPtr, false);
+ SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false);
return ret;
}
}
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_routines.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_routines.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_io_routines.cs Thu Jun 5 16:33:21 2008
@@ -39,35 +39,35 @@
}
}
- public SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_enum_switch_originate_flag_t__switch_call_cause_t outgoing_channel {
+ public SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t outgoing_channel {
set {
- freeswitchPINVOKE.switch_io_routines_outgoing_channel_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_enum_switch_originate_flag_t__switch_call_cause_t.getCPtr(value));
+ freeswitchPINVOKE.switch_io_routines_outgoing_channel_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_outgoing_channel_get(swigCPtr);
- SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_enum_switch_originate_flag_t__switch_call_cause_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_enum_switch_originate_flag_t__switch_call_cause_t(cPtr, false);
+ SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t(cPtr, false);
return ret;
}
}
- public SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t read_frame {
+ public SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t read_frame {
set {
- freeswitchPINVOKE.switch_io_routines_read_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(value));
+ freeswitchPINVOKE.switch_io_routines_read_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_read_frame_get(swigCPtr);
- SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t(cPtr, false);
+ SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false);
return ret;
}
}
- public SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t write_frame {
+ public SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t write_frame {
set {
- freeswitchPINVOKE.switch_io_routines_write_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(value));
+ freeswitchPINVOKE.switch_io_routines_write_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_write_frame_get(swigCPtr);
- SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t(cPtr, false);
+ SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false);
return ret;
}
}
@@ -127,24 +127,24 @@
}
}
- public SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t read_video_frame {
+ public SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t read_video_frame {
set {
- freeswitchPINVOKE.switch_io_routines_read_video_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(value));
+ freeswitchPINVOKE.switch_io_routines_read_video_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_read_video_frame_get(swigCPtr);
- SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t(cPtr, false);
+ SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false);
return ret;
}
}
- public SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t write_video_frame {
+ public SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t write_video_frame {
set {
- freeswitchPINVOKE.switch_io_routines_write_video_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(value));
+ freeswitchPINVOKE.switch_io_routines_write_video_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_write_video_frame_get(swigCPtr);
- SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t(cPtr, false);
+ SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false);
return ret;
}
}
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_speech_interface.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_speech_interface.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/switch_speech_interface.cs Thu Jun 5 16:33:21 2008
@@ -49,46 +49,46 @@
}
}
- public SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_enum_switch_speech_flag_t__switch_status_t speech_open {
+ public SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t speech_open {
set {
- freeswitchPINVOKE.switch_speech_interface_speech_open_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_enum_switch_speech_flag_t__switch_status_t.getCPtr(value));
+ freeswitchPINVOKE.switch_speech_interface_speech_open_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_open_get(swigCPtr);
- SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_enum_switch_speech_flag_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_enum_switch_speech_flag_t__switch_status_t(cPtr, false);
+ SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t(cPtr, false);
return ret;
}
}
- public SWIGTYPE_p_f_p_switch_speech_handle_p_enum_switch_speech_flag_t__switch_status_t speech_close {
+ public SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t speech_close {
set {
- freeswitchPINVOKE.switch_speech_interface_speech_close_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_enum_switch_speech_flag_t__switch_status_t.getCPtr(value));
+ freeswitchPINVOKE.switch_speech_interface_speech_close_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_close_get(swigCPtr);
- SWIGTYPE_p_f_p_switch_speech_handle_p_enum_switch_speech_flag_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_enum_switch_speech_flag_t__switch_status_t(cPtr, false);
+ SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t(cPtr, false);
return ret;
}
}
- public SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_enum_switch_speech_flag_t__switch_status_t speech_feed_tts {
+ public SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t speech_feed_tts {
set {
- freeswitchPINVOKE.switch_speech_interface_speech_feed_tts_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_enum_switch_speech_flag_t__switch_status_t.getCPtr(value));
+ freeswitchPINVOKE.switch_speech_interface_speech_feed_tts_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_feed_tts_get(swigCPtr);
- SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_enum_switch_speech_flag_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_enum_switch_speech_flag_t__switch_status_t(cPtr, false);
+ SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t(cPtr, false);
return ret;
}
}
- public SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_enum_switch_speech_flag_t__switch_status_t speech_read_tts {
+ public SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_unsigned_long__switch_status_t speech_read_tts {
set {
- freeswitchPINVOKE.switch_speech_interface_speech_read_tts_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_enum_switch_speech_flag_t__switch_status_t.getCPtr(value));
+ freeswitchPINVOKE.switch_speech_interface_speech_read_tts_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_unsigned_long__switch_status_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_read_tts_get(swigCPtr);
- SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_enum_switch_speech_flag_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_enum_switch_speech_flag_t__switch_status_t(cPtr, false);
+ SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_unsigned_long__switch_status_t(cPtr, false);
return ret;
}
}
1
0
05 Jun '08
Author: anthm
Date: Thu Jun 5 16:04:33 2008
New Revision: 8772
Modified:
freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
Log:
update
Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c Thu Jun 5 16:04:33 2008
@@ -1082,7 +1082,9 @@
profile->dtmf_type = DTMF_NONE;
}
} else if (!strcasecmp(var, "NDLB-force-rport")) {
- profile->rport_level = 2;
+ if (switch_true(val)) {
+ profile->rport_level = 2;
+ }
} else if (!strcasecmp(var, "record-template")) {
profile->record_template = switch_core_strdup(profile->pool, val);;
} else if (!strcasecmp(var, "inbound-no-media") && switch_true(val)) {
1
0
Author: anthm
Date: Thu Jun 5 15:36:33 2008
New Revision: 8771
Modified:
freeswitch/trunk/src/switch_channel.c
Log:
honor execute_on_answer on outbound legs too
Modified: freeswitch/trunk/src/switch_channel.c
==============================================================================
--- freeswitch/trunk/src/switch_channel.c (original)
+++ freeswitch/trunk/src/switch_channel.c Thu Jun 5 15:36:33 2008
@@ -1490,6 +1490,8 @@
switch_event_t *event;
const char *uuid;
switch_core_session_t *other_session;
+ const char *var;
+ char *app;
switch_assert(channel != NULL);
@@ -1525,7 +1527,17 @@
switch_channel_set_variable(channel, "endpoint_disposition", "ANSWER");
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, NULL, SWITCH_LOG_NOTICE, "Channel [%s] has been answered\n", channel->name);
+ if ((var = switch_channel_get_variable(channel, SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE))) {
+ char *arg = NULL;
+ app = switch_core_session_strdup(channel->session, var);
+
+ if ((arg = strchr(app, ' '))) {
+ *arg++ = '\0';
+ }
+
+ switch_core_session_execute_application(channel->session, app, arg);
+ }
return SWITCH_STATUS_SUCCESS;
}
@@ -1549,17 +1561,7 @@
status = switch_core_session_receive_message(channel->session, &msg);
if (status == SWITCH_STATUS_SUCCESS) {
- const char *var = switch_channel_get_variable(channel, SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE);
- char *app;
switch_channel_perform_mark_answered(channel, file, func, line);
- if (var) {
- char *arg = NULL;
- app = switch_core_session_strdup(channel->session, var);
- if ((arg = strchr(app, ' '))) {
- *arg++ = '\0';
- }
- switch_core_session_execute_application(channel->session, app, arg);
- }
} else {
switch_channel_hangup(channel, SWITCH_CAUSE_INCOMPATIBLE_DESTINATION);
}
1
0
[commit] r8770 - freeswitch/trunk/src/mod/dialplans/mod_dialplan_asterisk
by Freeswitch SVN 05 Jun '08
by Freeswitch SVN 05 Jun '08
05 Jun '08
Author: mikej
Date: Thu Jun 5 15:23:04 2008
New Revision: 8770
Modified:
freeswitch/trunk/src/mod/dialplans/mod_dialplan_asterisk/mod_dialplan_asterisk.c
Log:
i should never be called
Modified: freeswitch/trunk/src/mod/dialplans/mod_dialplan_asterisk/mod_dialplan_asterisk.c
==============================================================================
--- freeswitch/trunk/src/mod/dialplans/mod_dialplan_asterisk/mod_dialplan_asterisk.c (original)
+++ freeswitch/trunk/src/mod/dialplans/mod_dialplan_asterisk/mod_dialplan_asterisk.c Thu Jun 5 15:23:04 2008
@@ -82,7 +82,9 @@
SWITCH_STANDARD_APP(avoid_function)
{
+#if 0
void *y = NULL;
+#endif
int x = 0;
switch_channel_t *channel = switch_core_session_get_channel(session);
@@ -92,7 +94,9 @@
}
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "I should never be called!.\n");
+#if 0
memset((void *) y, 0, 1000);
+#endif
}
SWITCH_STANDARD_APP(goto_function)
1
0
05 Jun '08
Author: mikej
Date: Thu Jun 5 15:07:02 2008
New Revision: 8769
Modified:
freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c
Log:
this constant is ...F-ULL
Modified: freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c (original)
+++ freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c Thu Jun 5 15:07:02 2008
@@ -735,7 +735,7 @@
while (switch_channel_ready(channel)) {
int x = 0, winner = -1;
- switch_time_t longest = 0xFFFFFFFFFFFFFFFF / 2;
+ switch_time_t longest = (0xFFFFFFFFFFFFFFFFULL / 2);
uint32_t importance = 0, waiting = 0, most_waiting = 0;
pop = NULL;
1
0
05 Jun '08
Author: michaelgg
Date: Thu Jun 5 14:15:28 2008
New Revision: 8768
Modified:
freeswitch/trunk/src/mod/languages/mod_mono_managed/AppFunction.cs
Log:
Add auto run thread abort on hangup to AppFunction
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/AppFunction.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/AppFunction.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/AppFunction.cs Thu Jun 5 14:15:28 2008
@@ -46,6 +46,7 @@
void hangupCallback()
{
Log.WriteLine(LogLevel.Debug, "AppFunction is in hangupCallback.");
+ abortRun();
var f = HangupFunction;
if (f != null) f();
}
@@ -103,6 +104,18 @@
}
}
+ protected virtual bool AbortOnHangup { get { return false; } }
+ bool abortable = false;
+ readonly object abortLock = new object();
+ Thread runThread;
+ void abortRun()
+ {
+ if (!AbortOnHangup) return;
+ lock (abortLock) {
+ if (abortable) runThread.Abort();
+ }
+ }
+
protected Guid Uuid { get; private set; }
internal void RunInternal(FreeSWITCH.Native.MonoSession session, string args)
@@ -112,7 +125,19 @@
Session.SetDelegates(this.inputCallback, this.hangupCallback);
try { this.Uuid = new Guid(Session.GetUuid()); }
catch { }
- Run();
+ try {
+ runThread = Thread.CurrentThread;
+ lock (abortLock) abortable = true;
+ Run();
+ }
+ catch (ThreadAbortException) {
+ Log.WriteLine(LogLevel.Debug, "Run thread aborted.");
+ Thread.ResetAbort();
+ }
+ finally {
+ lock (abortLock) { abortable = false; }
+ Thread.ResetAbort();
+ }
}
protected abstract void Run();
1
0