Freeswitch-svn
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
- 12151 discussions
[commit] r8790 - in freeswitch/trunk/src/mod/languages: mod_mono mod_mono_managed mod_mono_managed/swig
by Freeswitch SVN 09 Jun '08
by Freeswitch SVN 09 Jun '08
09 Jun '08
Author: michaelgg
Date: Mon Jun 9 12:55:51 2008
New Revision: 8790
Modified:
freeswitch/trunk/src/mod/languages/mod_mono/freeswitch.i
freeswitch/trunk/src/mod/languages/mod_mono/freeswitch_mono.cpp
freeswitch/trunk/src/mod/languages/mod_mono/freeswitch_mono.h
freeswitch/trunk/src/mod/languages/mod_mono_managed/Loader.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/CoreSession.cs
freeswitch/trunk/src/mod/languages/mod_mono_managed/swig/freeswitchPINVOKE_fixed.cs
Log:
Rename setAutoHangup. Remove CoreSession channelvar in MonoSession destructor.
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 Mon Jun 9 12:55:51 2008
@@ -74,6 +74,10 @@
%rename (GetUuid) CoreSession::get_uuid;
%rename (HookState) CoreSession::hook_state;
%rename (InternalSession) CoreSession::session;
+%rename (Speak) CoreSession::speak;
+%rename (SetTtsParameters) CoreSession::set_tts_parms;
+%rename (SetAutoHangup) CoreSession::setAutoHangup;
+
%rename (Serialize) Event::serialize;
%rename (SetPriority) Event::setPriority;
Modified: freeswitch/trunk/src/mod/languages/mod_mono/freeswitch_mono.cpp
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono/freeswitch_mono.cpp (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono/freeswitch_mono.cpp Mon Jun 9 12:55:51 2008
@@ -74,6 +74,8 @@
switch_channel_hangup(channel, SWITCH_CAUSE_NORMAL_CLEARING);
setAutoHangup(0);
}
+ // Don't let any callbacks use this CoreSession anymore
+ switch_channel_set_private(channel, "CoreSession", NULL);
}
}
Modified: freeswitch/trunk/src/mod/languages/mod_mono/freeswitch_mono.h
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono/freeswitch_mono.h (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono/freeswitch_mono.h Mon Jun 9 12:55:51 2008
@@ -64,7 +64,7 @@
MonoSession();
MonoSession(char *uuid);
MonoSession(switch_core_session_t *session);
- ~MonoSession();
+ virtual ~MonoSession();
virtual bool begin_allow_threads();
virtual bool end_allow_threads();
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/Loader.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/Loader.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/Loader.cs Mon Jun 9 12:55:51 2008
@@ -227,7 +227,7 @@
if (fType == null) return false;
using (var session = new Native.MonoSession(new Native.SWIGTYPE_p_switch_core_session(sessionHandle, false))) {
- session.setAutoHangup(false);
+ session.SetAutoHangup(false);
try {
var f = (AppFunction)Activator.CreateInstance(fType);
f.RunInternal(session, args);
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 Mon Jun 9 12:55:51 2008
@@ -157,13 +157,13 @@
return ret;
}
- public int speak(string text) {
- int ret = freeswitchPINVOKE.CoreSession_speak(swigCPtr, text);
+ public int Speak(string text) {
+ int ret = freeswitchPINVOKE.CoreSession_Speak(swigCPtr, text);
return ret;
}
- public void set_tts_parms(string tts_name, string voice_name) {
- freeswitchPINVOKE.CoreSession_set_tts_parms(swigCPtr, tts_name, voice_name);
+ public void SetTtsParameters(string tts_name, string voice_name) {
+ freeswitchPINVOKE.CoreSession_SetTtsParameters(swigCPtr, tts_name, voice_name);
}
public int CollectDigits(int timeout) {
@@ -206,8 +206,8 @@
return ret;
}
- public int setAutoHangup(bool val) {
- int ret = freeswitchPINVOKE.CoreSession_setAutoHangup(swigCPtr, val);
+ public int SetAutoHangup(bool val) {
+ int ret = freeswitchPINVOKE.CoreSession_SetAutoHangup(swigCPtr, val);
return ret;
}
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 Mon Jun 9 12:55:51 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,354 +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);
+ 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")]
@@ -1047,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")]
@@ -1058,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")]
@@ -1069,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")]
@@ -1080,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")]
@@ -1091,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")]
@@ -1102,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")]
@@ -1113,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")]
@@ -1124,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")]
@@ -1135,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")]
@@ -1146,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")]
@@ -1340,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")]
@@ -1351,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")]
@@ -1488,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")]
@@ -1571,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")]
@@ -1582,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")]
@@ -1605,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")]
@@ -1628,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")]
@@ -1663,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")]
@@ -1845,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")]
@@ -1912,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")]
@@ -1931,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")]
@@ -2161,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")]
@@ -2304,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")]
@@ -2390,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")]
@@ -2407,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")]
@@ -2429,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")]
@@ -2449,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")]
@@ -2476,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")]
@@ -2487,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")]
@@ -2498,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")]
@@ -2520,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")]
@@ -2531,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")]
@@ -2557,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")]
@@ -2568,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")]
@@ -2579,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")]
@@ -2590,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")]
@@ -2613,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")]
@@ -2624,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")]
@@ -2647,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")]
@@ -2658,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")]
@@ -2681,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")]
@@ -2704,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")]
@@ -2715,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")]
@@ -2726,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")]
@@ -2737,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")]
@@ -2748,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")]
@@ -2807,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")]
@@ -2818,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")]
@@ -2847,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")]
@@ -2858,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")]
@@ -2908,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")]
@@ -2937,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")]
@@ -3242,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")]
@@ -3343,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")]
@@ -3402,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")]
@@ -3431,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")]
@@ -3598,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")]
@@ -3681,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")]
@@ -3692,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")]
@@ -3715,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")]
@@ -3804,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")]
@@ -3815,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")]
@@ -3832,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")]
@@ -3843,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")]
@@ -3872,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")]
@@ -3955,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")]
@@ -3984,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")]
@@ -3995,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")]
@@ -4006,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")]
@@ -4035,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")]
@@ -4064,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")]
@@ -4093,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")]
@@ -4122,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")]
@@ -4319,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")]
@@ -4330,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")]
@@ -4389,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")]
@@ -4400,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")]
@@ -4513,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")]
@@ -4548,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")]
@@ -4565,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")]
@@ -4576,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")]
@@ -4587,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")]
@@ -4616,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")]
@@ -4627,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")]
@@ -4644,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")]
@@ -4745,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")]
@@ -4786,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")]
@@ -4800,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")]
@@ -4882,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")]
@@ -4911,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")]
@@ -4925,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")]
@@ -4998,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")]
@@ -5009,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")]
@@ -5032,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")]
@@ -5043,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")]
@@ -5072,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")]
@@ -5101,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")]
@@ -5142,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")]
@@ -5198,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")]
@@ -5232,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")]
@@ -5252,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")]
@@ -5266,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")]
@@ -5406,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")]
@@ -5423,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")]
@@ -5746,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")]
@@ -5933,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")]
@@ -5944,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")]
@@ -5961,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")]
@@ -5984,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")]
@@ -5995,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")]
@@ -6018,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")]
@@ -6038,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")]
@@ -6055,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")]
@@ -6066,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")]
@@ -6143,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")]
@@ -6162,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")]
@@ -6184,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")]
@@ -6630,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")]
@@ -6680,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")]
@@ -6691,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")]
@@ -6702,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")]
@@ -6713,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")]
@@ -6784,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")]
@@ -6821,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")]
@@ -6847,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")]
@@ -6864,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")]
@@ -6887,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")]
@@ -6898,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")]
@@ -6991,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")]
@@ -7012,21 +7012,21 @@
[DllImport("mod_mono", EntryPoint="CSharp_CoreSession_Originate")]
public static extern int CoreSession_Originate(HandleRef jarg1, HandleRef jarg2, string jarg3, int jarg4);
- [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_speak")]
- public static extern int CoreSession_speak(HandleRef jarg1, string jarg2);
+ [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_Speak")]
+ public static extern int CoreSession_Speak(HandleRef jarg1, string jarg2);
- [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_set_tts_parms")]
- public static extern void CoreSession_set_tts_parms(HandleRef jarg1, string jarg2, string jarg3);
+ [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_SetTtsParameters")]
+ public static extern void CoreSession_SetTtsParameters(HandleRef jarg1, string jarg2, string jarg3);
[DllImport("mod_mono", EntryPoint="CSharp_CoreSession_CollectDigits")]
public static extern int CoreSession_CollectDigits(HandleRef jarg1, int jarg2);
[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")]
@@ -7034,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")]
@@ -7057,8 +7057,8 @@
[DllImport("mod_mono", EntryPoint="CSharp_CoreSession_flushDigits")]
public static extern int CoreSession_flushDigits(HandleRef jarg1);
- [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_setAutoHangup")]
- public static extern int CoreSession_setAutoHangup(HandleRef jarg1, bool jarg2);
+ [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_SetAutoHangup")]
+ public static extern int CoreSession_SetAutoHangup(HandleRef jarg1, bool jarg2);
[DllImport("mod_mono", EntryPoint="CSharp_CoreSession_Ready")]
public static extern bool CoreSession_Ready(HandleRef jarg1);
@@ -7083,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")]
@@ -7097,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")]
1
0
09 Jun '08
Author: michaelgg
Date: Sun Jun 8 20:09:42 2008
New Revision: 8789
Modified:
freeswitch/trunk/src/mod/languages/mod_mono/freeswitch_mono.cpp
Log:
Hack patch to avoid hanguphook calling check_hangup_hook purely virtually
Modified: freeswitch/trunk/src/mod/languages/mod_mono/freeswitch_mono.cpp
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono/freeswitch_mono.cpp (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono/freeswitch_mono.cpp Sun Jun 8 20:09:42 2008
@@ -38,71 +38,107 @@
#include <mono/metadata/threads.h>
#include <mono/metadata/metadata.h>
#include "freeswitch_mono.h"
-
MonoSession::MonoSession():CoreSession()
-{
-
}
MonoSession::MonoSession(char *uuid):CoreSession(uuid)
-{
-
}
MonoSession::MonoSession(switch_core_session_t *session):CoreSession(session)
-{
-
}
MonoSession::~MonoSession()
-{
-
mono_thread_attach(globals.domain);
-
if (dtmfDelegateHandle)
- mono_gchandle_free(dtmfDelegateHandle);
-
if (hangupDelegateHandle)
- mono_gchandle_free(hangupDelegateHandle);
-
}
-
-
bool MonoSession::begin_allow_threads()
-{
-
return true;
-
}
-
-
bool MonoSession::end_allow_threads()
-{
-
return true;
-
}
-
void MonoSession::check_hangup_hook()
-{
-
mono_thread_attach(globals.domain);
-
if (!hangupDelegateHandle) {
-
return;
-
}
-
MonoObject * hangupDelegate = mono_gchandle_get_target(hangupDelegateHandle);
-
if (!hangupDelegate) {
-
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "hangupDelegateHandle didn't get an object.");
-
return;
-
}
-
MonoObject * ex = NULL;
-
mono_runtime_delegate_invoke(hangupDelegate, NULL, &ex);
-
if (ex) {
-
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "hangupDelegate threw an exception.");
-
}
-
}
-
switch_status_t MonoSession::run_dtmf_callback(void *input, switch_input_type_t itype)
-{
-
mono_thread_attach(globals.domain);
-
if (!dtmfDelegateHandle) {
-
return SWITCH_STATUS_SUCCESS;
-
}
-
MonoObject * dtmfDelegate = mono_gchandle_get_target(dtmfDelegateHandle);
-
if (!dtmfDelegate) {
-
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "dtmfDelegateHandle didn't get an object.");
-
return SWITCH_STATUS_SUCCESS;
-
}
-
void *args[2];
-
args[0] = &input;
-
args[1] = &itype;
-
MonoObject * ex = NULL;
-
MonoObject * res = mono_runtime_delegate_invoke(dtmfDelegate, args, &ex);
-
if (ex) {
-
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "dtmfDelegate threw an exception.");
-
return SWITCH_STATUS_FALSE;
-
}
-
char *resPtr = mono_string_to_utf8((MonoString *) res);
-
switch_status_t status = process_callback_result(resPtr);
-
g_free(resPtr);
-
return status;
-
}
-
+
+MonoSession::MonoSession():CoreSession()
+{
+
+}
+
+MonoSession::MonoSession(char *uuid):CoreSession(uuid)
+{
+
+}
+
+MonoSession::MonoSession(switch_core_session_t *session):CoreSession(session)
+{
+
+}
+
+MonoSession::~MonoSession()
+{
+ mono_thread_attach(globals.domain);
+
+ if (dtmfDelegateHandle) {
+ mono_gchandle_free(dtmfDelegateHandle);
+ }
+
+ if (hangupDelegateHandle) {
+ mono_gchandle_free(hangupDelegateHandle);
+ }
+
+ // Do auto-hangup ourselves because CoreSession can't call check_hangup_hook
+ // after MonoSession destruction (cause at point it's pure virtual)
+ if (session) {
+ channel = switch_core_session_get_channel(session);
+ if (switch_test_flag(this, S_HUP) && !switch_channel_test_flag(channel, CF_TRANSFER)) {
+ switch_channel_hangup(channel, SWITCH_CAUSE_NORMAL_CLEARING);
+ setAutoHangup(0);
+ }
+ }
+}
+
+
+
+bool MonoSession::begin_allow_threads()
+{
+ return true;
+}
+
+
+
+bool MonoSession::end_allow_threads()
+{
+ return true;
+}
+
+
+void MonoSession::check_hangup_hook()
+{
+ mono_thread_attach(globals.domain);
+ if (!hangupDelegateHandle) {
+ return;
+ }
+
+ MonoObject * hangupDelegate = mono_gchandle_get_target(hangupDelegateHandle);
+ if (!hangupDelegate) {
+ switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "hangupDelegateHandle didn't get an object.");
+ return;
+ }
+
+ MonoObject * ex = NULL;
+ mono_runtime_delegate_invoke(hangupDelegate, NULL, &ex);
+ if (ex) {
+ switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "hangupDelegate threw an exception.");
+ }
+}
+
+
+switch_status_t MonoSession::run_dtmf_callback(void *input, switch_input_type_t itype)
+{
+ mono_thread_attach(globals.domain);
+ if (!dtmfDelegateHandle) {
+ return SWITCH_STATUS_SUCCESS;
+ }
+ MonoObject * dtmfDelegate = mono_gchandle_get_target(dtmfDelegateHandle);
+ if (!dtmfDelegate) {
+ switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "dtmfDelegateHandle didn't get an object.");
+ return SWITCH_STATUS_SUCCESS;
+ }
+
+ void *args[2];
+ args[0] = &input;
+ args[1] = &itype;
+ MonoObject * ex = NULL;
+ MonoObject * res = mono_runtime_delegate_invoke(dtmfDelegate, args, &ex);
+ if (ex) {
+ switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "dtmfDelegate threw an exception.");
+ return SWITCH_STATUS_FALSE;
+ }
+
+ char *resPtr = mono_string_to_utf8((MonoString *) res);
+ switch_status_t status = process_callback_result(resPtr);
+ g_free(resPtr);
+ return status;
+}
+
1
0
08 Jun '08
Author: michaelgg
Date: Sun Jun 8 19:53:08 2008
New Revision: 8788
Modified:
freeswitch/trunk/src/mod/languages/mod_mono_managed/Loader.cs
Log:
Default AppFunction to not hanging up main session automatically.
Modified: freeswitch/trunk/src/mod/languages/mod_mono_managed/Loader.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_mono_managed/Loader.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_mono_managed/Loader.cs Sun Jun 8 19:53:08 2008
@@ -227,6 +227,7 @@
if (fType == null) return false;
using (var session = new Native.MonoSession(new Native.SWIGTYPE_p_switch_core_session(sessionHandle, false))) {
+ session.setAutoHangup(false);
try {
var f = (AppFunction)Activator.CreateInstance(fType);
f.RunInternal(session, args);
1
0
08 Jun '08
Author: anthm
Date: Sat Jun 7 21:34:17 2008
New Revision: 8787
Modified:
freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c
Log:
fix leak
Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c Sat Jun 7 21:34:17 2008
@@ -427,6 +427,7 @@
}
switch_safe_free(user);
+ switch_safe_free(probe_user);
}
return;
case SWITCH_EVENT_PRESENCE_IN:
1
0
07 Jun '08
Author: anthm
Date: Sat Jun 7 11:34:33 2008
New Revision: 8786
Modified:
freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c
Log:
add sip_outgoing_call_id variable
Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c Sat Jun 7 11:34:33 2008
@@ -930,6 +930,7 @@
const char *val;
const char *rep;
char *sticky = NULL;
+ const char *call_id = NULL;
rep = switch_channel_get_variable(channel, SOFIA_REPLACES_HEADER);
@@ -1156,6 +1157,8 @@
sofia_glue_tech_patch_sdp(tech_pvt);
}
+ call_id = switch_channel_get_variable(channel, "sip_outgoing_call_id");
+
nua_invite(tech_pvt->nh,
NUTAG_AUTOANSWER(0),
NUTAG_SESSION_TIMER(session_timeout),
@@ -1164,6 +1167,7 @@
TAG_IF(!switch_strlen_zero(extra_headers), SIPTAG_HEADER_STR(extra_headers)),
TAG_IF(!switch_strlen_zero(max_forwards), SIPTAG_MAX_FORWARDS_STR(max_forwards)),
TAG_IF(sticky, NUTAG_PROXY(tech_pvt->record_route)),
+ TAG_IF(call_id, SIPTAG_CALL_ID_STR(call_id)),
SOATAG_USER_SDP_STR(tech_pvt->local_sdp_str),
SOATAG_REUSE_REJECTED(1),
SOATAG_ORDERED_USER(1),
1
0
Author: anthm
Date: Fri Jun 6 15:20:01 2008
New Revision: 8785
Modified:
freeswitch/trunk/src/switch_cpp.cpp
Log:
tweak
Modified: freeswitch/trunk/src/switch_cpp.cpp
==============================================================================
--- freeswitch/trunk/src/switch_cpp.cpp (original)
+++ freeswitch/trunk/src/switch_cpp.cpp Fri Jun 6 15:20:01 2008
@@ -342,34 +342,13 @@
SWITCH_DECLARE_CONSTRUCTOR CoreSession::CoreSession()
{
- session = NULL;
- channel = NULL;
- uuid = NULL;
- tts_name = NULL;
- voice_name = NULL;
- memset(&args, 0, sizeof(args));
- ap = NULL;
- on_hangup = NULL;
- cb_state.function = NULL;
-
- memset(&caller_profile, 0, sizeof(caller_profile));
- caller_profile.source = "mod_unknown";
- caller_profile.dialplan = "";
- caller_profile.context = "";
- caller_profile.caller_id_name = "";
- caller_profile.caller_id_number = "";
- caller_profile.network_addr = "";
- caller_profile.ani = "";
- caller_profile.aniii = "";
- caller_profile.rdnis = "";
- caller_profile.username = "";
-
+ init_vars();
}
SWITCH_DECLARE_CONSTRUCTOR CoreSession::CoreSession(char *nuuid)
{
- memset(&caller_profile, 0, sizeof(caller_profile));
init_vars();
+
if (!strchr(nuuid, '/') && (session = switch_core_session_locate(nuuid))) {
uuid = strdup(nuuid);
channel = switch_core_session_get_channel(session);
@@ -388,8 +367,8 @@
SWITCH_DECLARE_CONSTRUCTOR CoreSession::CoreSession(switch_core_session_t *new_session)
{
- memset(&caller_profile, 0, sizeof(caller_profile));
init_vars();
+
if (new_session) {
session = new_session;
channel = switch_core_session_get_channel(session);
@@ -403,14 +382,12 @@
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "CoreSession::~CoreSession desctructor\n");
switch_channel_t *channel = NULL;
- init_vars();
this_check_void();
-
switch_safe_free(xml_cdr_text);
switch_safe_free(uuid);
switch_safe_free(tts_name);
switch_safe_free(voice_name);
-
+
if (session) {
channel = switch_core_session_get_channel(session);
if (switch_test_flag(this, S_HUP) && !switch_channel_test_flag(channel, CF_TRANSFER)) {
1
0
Author: anthm
Date: Fri Jun 6 14:24:35 2008
New Revision: 8784
Modified:
freeswitch/trunk/src/switch_ivr_originate.c
Log:
per channel callerid
Modified: freeswitch/trunk/src/switch_ivr_originate.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_originate.c (original)
+++ freeswitch/trunk/src/switch_ivr_originate.c Fri Jun 6 14:24:35 2008
@@ -729,8 +729,9 @@
for (r = 0; r < or_argc; r++) {
uint32_t hups;
- char *p,*e = NULL;
-
+ char *p, *e = NULL;
+ const char *var_begin, *var_end;
+
reason = SWITCH_CAUSE_UNALLOCATED;
memset(peer_names, 0, sizeof(peer_names));
peer_session = NULL;
@@ -859,6 +860,31 @@
myflags |= SOF_FORKED_DIAL;
}
}
+
+ if (vdata && (var_begin = switch_stristr("effective_caller_id_number=", vdata))) {
+ char tmp[512] = "";
+ var_begin += strlen("effective_caller_id_number=");
+ var_end = strchr(var_begin, '|');
+ if (var_end) {
+ strncpy(tmp, var_begin, var_end-var_begin);
+ } else {
+ strncpy(tmp, var_begin, strlen(var_begin));
+ }
+ new_profile->caller_id_number = switch_core_strdup(new_profile->pool, tmp);
+ }
+
+ if (vdata && (var_begin = switch_stristr("effective_caller_id_name=", vdata))) {
+ char tmp[512] = "";
+ var_begin += strlen("effective_caller_id_name=");
+ var_end = strchr(var_begin, '|');
+ if (var_end) {
+ strncpy(tmp, var_begin, var_end-var_begin);
+ } else {
+ strncpy(tmp, var_begin, strlen(var_begin));
+ }
+ new_profile->caller_id_name = switch_core_strdup(new_profile->pool, tmp);
+ }
+
if ((reason =
switch_core_session_outgoing_channel(session, var_event, chan_type, new_profile, &new_session, &pool,
myflags)) != SWITCH_CAUSE_SUCCESS) {
1
0
[commit] r8783 - freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl
by Freeswitch SVN 06 Jun '08
by Freeswitch SVN 06 Jun '08
06 Jun '08
Author: intralanman
Date: Fri Jun 6 14:07:34 2008
New Revision: 8783
Modified:
freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/dialplan_importer.php
Log:
RAAAAIIIIDD
Modified: freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/dialplan_importer.php
==============================================================================
--- freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/dialplan_importer.php (original)
+++ freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/dialplan_importer.php Fri Jun 6 14:07:34 2008
@@ -118,14 +118,14 @@
foreach ($extension -> condition as $condition) {
//print_r($condition);
$cf = $condition['field'];
- $ce = str_replace('\\', '\\\\', $condition['expression']);
+ $ce = addslashes($condition['expression']);
//echo "<pre>Condidtion Expression for $en:\n before: " . $condition['expression'] . "\n after: $ce</pre>";
$cb = $condition['break'];
$weight = 0;
foreach ($condition as $type => $action) {
//echo "-------------------$type-----------------------------\n";
$app_name = $action['application'];
- $app_data = str_replace('\\', '\\\\', $action['data']);
+ $app_data = addslashes($action['data']);
$weight++;
//echo "$cn\t$en\t$cf\t$ce\t$cc\t$app_name\t$app_data\t$ec\t$global_weight\t$weight\n";
$query = sprintf('%s %s %s %s %s %s;',
1
0
[commit] r8782 - in freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl: . configuration
by Freeswitch SVN 06 Jun '08
by Freeswitch SVN 06 Jun '08
06 Jun '08
Author: intralanman
Date: Fri Jun 6 13:45:47 2008
New Revision: 8782
Modified:
freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/configuration/console.conf.php
freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/dialplan_importer.php
freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_dialplan.php
freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/global_defines.php
Log:
added a couple of bug fixes to the dialplan_importer and fs_dialplan so that there's no longer a requirement for continue to be numeric.
this implies changing the .sql so that ext_continue is no longer an int field.
Modified: freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/configuration/console.conf.php
==============================================================================
--- freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/configuration/console.conf.php (original)
+++ freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/configuration/console.conf.php Fri Jun 6 13:45:47 2008
@@ -30,21 +30,36 @@
$this -> xmlw -> writeAttribute('name', basename(__FILE__, '.php'));
$this -> xmlw -> writeAttribute('description', 'Console configuration');
+ $this -> xmlw -> startElement('mappings');
+
+ $this -> xmlw -> startElement('map');
+ $this -> xmlw -> writeAttribute('name', 'all');
+ $this -> xmlw -> writeAttribute('value', 'notice,warning,error,crit,alert,info,debug');
+ $this -> xmlw -> endElement();
+
+ $this -> xmlw -> endElement();
+
+
+
+
$this -> xmlw -> startElement('settings');
- $this -> xmlw -> startElement('param');
+
+ $this -> xmlw -> startElement('param');
$this -> xmlw -> writeAttribute('name', 'colorize');
$this -> xmlw -> writeAttribute('value', 'true');
- $this -> xmlw -> endElement();
- $this -> xmlw -> endElement();
+ $this -> xmlw -> endElement();
+
+ $this -> xmlw -> startElement('param');
+ $this -> xmlw -> writeAttribute('name', 'loglevel');
+ $this -> xmlw -> writeAttribute('value', 'debug');
+ $this -> xmlw -> endElement();
+
+ $this -> xmlw -> endElement();
+
+
- $this -> xmlw -> startElement('mappings');
- $this -> xmlw -> startElement('map');
- $this -> xmlw -> writeAttribute('name', 'all');
- $this -> xmlw -> writeAttribute('value', 'notice,warning,error,crit,alert');
- $this -> xmlw -> endElement();
- $this -> xmlw -> endElement();
$this -> xmlw -> endElement();
}
}
-?>
\ No newline at end of file
+?>
Modified: freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/dialplan_importer.php
==============================================================================
--- freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/dialplan_importer.php (original)
+++ freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/dialplan_importer.php Fri Jun 6 13:45:47 2008
@@ -39,12 +39,13 @@
* @return null
*/
function run_query($db, $query) {
+ syslog(LOG_INFO, $query);
$affected = $db -> exec($query);
if (MDB2::isError($affected)) {
if (!defined('UNSUCCESSFUL_QUERY')) {
define('UNSUCCESSFUL_QUERY', true);
}
- echo "$query\n";
+ echo "$query<br>\n";
echo $affected -> getMessage() . "\n";
}
}
@@ -96,7 +97,7 @@
$xml_file = $_FILES['file']['tmp_name'];
move_uploaded_file($tmp_file, $xml_file);
//echo $xml_file . "\n<br>";
- $xml_str = sprintf('<?xml version="1.0" encoding="UTF-8" standalone="no"?>%s', file_get_contents($xml_file));
+ $xml_str = sprintf('%s', file_get_contents($xml_file));
//echo $xml_str;
}
@@ -111,27 +112,29 @@
$global_weight = 100;
foreach ($context -> extension as $extension) {
$en = $extension['name'];
- $ec = is_numeric($extension['continue']) ? $extension['continue'] : '0';
+ //printf("<pre>%s</pre>", print_r($extension, true));
+ $ec = $extension['continue'];
$global_weight+=100;
foreach ($extension -> condition as $condition) {
//print_r($condition);
$cf = $condition['field'];
- $ce = $condition['expression'];
- $cc = $condition['continue'];
+ $ce = str_replace('\\', '\\\\', $condition['expression']);
+ //echo "<pre>Condidtion Expression for $en:\n before: " . $condition['expression'] . "\n after: $ce</pre>";
+ $cb = $condition['break'];
$weight = 0;
foreach ($condition as $type => $action) {
//echo "-------------------$type-----------------------------\n";
$app_name = $action['application'];
- $app_data = $action['data'];
+ $app_data = str_replace('\\', '\\\\', $action['data']);
$weight++;
//echo "$cn\t$en\t$cf\t$ce\t$cc\t$app_name\t$app_data\t$ec\t$global_weight\t$weight\n";
$query = sprintf('%s %s %s %s %s %s;',
- "INSERT INTO curl_dialplan SET",
+ "INSERT INTO dialplan SET",
"context='$cn', extension='$en', condition_field='$cf',",
"condition_expression='$ce', application_name='$app_name',",
"application_data='$app_data', weight='$weight', type='$type',",
"ext_continue='$ec', global_weight='$global_weight',",
- "condition_continue='$cc'"
+ "cond_break='$cb'"
);
run_query($db, $query);
}
@@ -144,4 +147,6 @@
echo "<h2>File Successfully Imported</h2>";
}
upload_form();
-?>
\ No newline at end of file
+
+//printf("<pre>%s</pre>", print_r($xml_obj, true);
+?>
Modified: freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_dialplan.php
==============================================================================
--- freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_dialplan.php (original)
+++ freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_dialplan.php Fri Jun 6 13:45:47 2008
@@ -26,7 +26,7 @@
/**
* This is the method that determines the XML output. Customized dialplans can
- * be easily created by adding a record to the dialplan_special table with the
+ * be easily created by adding a record to the dialplan_special table with the
* appropriate values. The php class MUST contain a "main()" method. The method
* should write directly to the xmlw obj that's pased or take care of writing
* out the xml itself and exiting as to not return.
@@ -120,7 +120,7 @@
* @see fs_dialplan::get_dialplan
* @param array $dpArray Multi-dimentional array from which we write the XML
* @todo this method should REALLY be broken down into several smaller methods
- *
+ *
*/
private function writeDialplan($dpArray) {
//print_r($dpArray);
@@ -140,7 +140,7 @@
$ex_split = split(';', $extension);
$this -> xmlw -> startElement('extension');
$this -> xmlw -> writeAttribute('name', $ex_split[0]);
- if ($ex_split[1] > 0) {
+ if (strlen($ex_split[1]) > 0) {
$this -> xmlw -> writeAttribute('continue', $ex_split[1]);
}
$this -> debug($conditions);
Modified: freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/global_defines.php
==============================================================================
--- freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/global_defines.php (original)
+++ freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/global_defines.php Fri Jun 6 13:45:47 2008
@@ -43,7 +43,7 @@
/**
* Define debug level... should not be used in production for performance reasons
*/
-define('FS_CURL_DEBUG', 0);
+define('FS_CURL_DEBUG', 9);
/**
* define how debugging should be done (depends on FS_CURL_DEBUG)
@@ -62,4 +62,4 @@
//define('', '');
-?>
\ No newline at end of file
+?>
1
0
[commit] r8781 - freeswitch/trunk/src/mod/event_handlers/mod_event_socket
by Freeswitch SVN 06 Jun '08
by Freeswitch SVN 06 Jun '08
06 Jun '08
Author: anthm
Date: Fri Jun 6 12:14:29 2008
New Revision: 8781
Modified:
freeswitch/trunk/src/mod/event_handlers/mod_event_socket/mod_event_socket.c
Log:
add header
Modified: freeswitch/trunk/src/mod/event_handlers/mod_event_socket/mod_event_socket.c
==============================================================================
--- freeswitch/trunk/src/mod/event_handlers/mod_event_socket/mod_event_socket.c (original)
+++ freeswitch/trunk/src/mod/event_handlers/mod_event_socket/mod_event_socket.c Fri Jun 6 12:14:29 2008
@@ -873,8 +873,7 @@
switch_uuid_get(&uuid);
switch_uuid_format(acs->uuid_str, &uuid);
}
- switch_snprintf(reply, reply_len, "+OK Job-UUID: %s", acs->uuid_str);
-
+ switch_snprintf(reply, reply_len, "~Reply-Text: +OK Job-UUID: %s\nJob-UUID: %s\n\n", acs->uuid_str, acs->uuid_str);
switch_thread_create(&thread, thd_attr, api_exec, acs, acs->pool);
return SWITCH_STATUS_SUCCESS;
@@ -1143,7 +1142,7 @@
switch_caller_profile_event_set_data(switch_channel_get_caller_profile(channel), "Channel", call_event);
switch_channel_event_set_data(channel, call_event);
switch_event_add_header(call_event, SWITCH_STACK_BOTTOM, "Content-Type", "command/reply");
-
+ switch_event_add_header(call_event, SWITCH_STACK_BOTTOM, "Reply-Text", "+OK\n");
switch_event_add_header(call_event, SWITCH_STACK_BOTTOM, "Socket-Mode", switch_test_flag(listener, LFLAG_ASYNC) ? "async" : "static");
switch_event_add_header(call_event, SWITCH_STACK_BOTTOM, "Control", switch_test_flag(listener, LFLAG_FULL) ? "full" : "single-channel");
@@ -1177,7 +1176,11 @@
goto done;
}
if (*reply != '\0') {
- switch_snprintf(buf, sizeof(buf), "Content-Type: command/reply\nReply-Text: %s\n\n", reply);
+ if (*reply == '~') {
+ switch_snprintf(buf, sizeof(buf), "Content-Type: command/reply\n%s", reply + 1);
+ } else {
+ switch_snprintf(buf, sizeof(buf), "Content-Type: command/reply\nReply-Text: %s\n\n", reply);
+ }
len = strlen(buf);
switch_socket_send(listener->sock, buf, &len);
}
@@ -1206,7 +1209,11 @@
}
if (*reply != '\0') {
- switch_snprintf(buf, sizeof(buf), "Content-Type: command/reply\nReply-Text: %s\n\n", reply);
+ if (*reply == '~') {
+ switch_snprintf(buf, sizeof(buf), "Content-Type: command/reply\n%s", reply + 1);
+ } else {
+ switch_snprintf(buf, sizeof(buf), "Content-Type: command/reply\nReply-Text: %s\n\n", reply);
+ }
len = strlen(buf);
switch_socket_send(listener->sock, buf, &len);
}
1
0