}
+SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_LAST_BRIDGE_VARIABLE_get() {
+ char * jresult ;
+ char *result = 0 ;
+
+ result = (char *) "last_bridge_to";
+
+ jresult = SWIG_csharp_string_callback((const char *)result);
+ return jresult;
+}
+
+
SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SIGNAL_BRIDGE_VARIABLE_get() {
char * jresult ;
char *result = 0 ;
}
+SWIGEXPORT char * SWIGSTDCALL CSharp_switch_strip_whitespace(char * jarg1) {
+ char * jresult ;
+ char *arg1 = (char *) 0 ;
+ char *result = 0 ;
+
+ arg1 = (char *)jarg1;
+ result = (char *)switch_strip_whitespace((char const *)arg1);
+ jresult = SWIG_csharp_string_callback((const char *)result);
+ return jresult;
+}
+
+
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_strip_commas(char * jarg1, char * jarg2, void * jarg3) {
char * jresult ;
char *arg1 = (char *) 0 ;
}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_direction_set(void * jarg1, int jarg2) {
+ switch_caller_profile *arg1 = (switch_caller_profile *) 0 ;
+ switch_call_direction_t arg2 ;
+
+ arg1 = (switch_caller_profile *)jarg1;
+ arg2 = (switch_call_direction_t)jarg2;
+ if (arg1) (arg1)->direction = arg2;
+
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_caller_profile_direction_get(void * jarg1) {
+ int jresult ;
+ switch_caller_profile *arg1 = (switch_caller_profile *) 0 ;
+ switch_call_direction_t result;
+
+ arg1 = (switch_caller_profile *)jarg1;
+ result = (switch_call_direction_t) ((arg1)->direction);
+ jresult = result;
+ return jresult;
+}
+
+
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_caller_profile() {
void * jresult ;
switch_caller_profile *result = 0 ;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_app_flag(void * jarg1, unsigned long jarg2) {
- switch_channel_t *arg1 = (switch_channel_t *) 0 ;
- uint32_t arg2 ;
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_app_flag_key(char * jarg1, void * jarg2, unsigned long jarg3) {
+ char *arg1 = (char *) 0 ;
+ switch_channel_t *arg2 = (switch_channel_t *) 0 ;
+ uint32_t arg3 ;
- arg1 = (switch_channel_t *)jarg1;
- arg2 = (uint32_t)jarg2;
- switch_channel_set_app_flag(arg1,arg2);
+ arg1 = (char *)jarg1;
+ arg2 = (switch_channel_t *)jarg2;
+ arg3 = (uint32_t)jarg3;
+ switch_channel_set_app_flag_key((char const *)arg1,arg2,arg3);
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_app_flag(void * jarg1, unsigned long jarg2) {
- switch_channel_t *arg1 = (switch_channel_t *) 0 ;
- uint32_t arg2 ;
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_app_flag_key(char * jarg1, void * jarg2, unsigned long jarg3) {
+ char *arg1 = (char *) 0 ;
+ switch_channel_t *arg2 = (switch_channel_t *) 0 ;
+ uint32_t arg3 ;
- arg1 = (switch_channel_t *)jarg1;
- arg2 = (uint32_t)jarg2;
- switch_channel_clear_app_flag(arg1,arg2);
+ arg1 = (char *)jarg1;
+ arg2 = (switch_channel_t *)jarg2;
+ arg3 = (uint32_t)jarg3;
+ switch_channel_clear_app_flag_key((char const *)arg1,arg2,arg3);
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_test_app_flag(void * jarg1, unsigned long jarg2) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_test_app_flag_key(char * jarg1, void * jarg2, unsigned long jarg3) {
int jresult ;
- switch_channel_t *arg1 = (switch_channel_t *) 0 ;
- uint32_t arg2 ;
+ char *arg1 = (char *) 0 ;
+ switch_channel_t *arg2 = (switch_channel_t *) 0 ;
+ uint32_t arg3 ;
int result;
- arg1 = (switch_channel_t *)jarg1;
- arg2 = (uint32_t)jarg2;
- result = (int)switch_channel_test_app_flag(arg1,arg2);
+ arg1 = (char *)jarg1;
+ arg2 = (switch_channel_t *)jarg2;
+ arg3 = (uint32_t)jarg3;
+ result = (int)switch_channel_test_app_flag_key((char const *)arg1,arg2,arg3);
jresult = result;
return jresult;
}
return ret;
}
+ public static string switch_strip_whitespace(string str) {
+ string ret = freeswitchPINVOKE.switch_strip_whitespace(str);
+ return ret;
+ }
+
public static string switch_strip_commas(string arg0, string arg1, SWIGTYPE_p_switch_size_t len) {
string ret = freeswitchPINVOKE.switch_strip_commas(arg0, arg1, SWIGTYPE_p_switch_size_t.getCPtr(len));
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
- public static void switch_channel_set_app_flag(SWIGTYPE_p_switch_channel channel, uint flags) {
- freeswitchPINVOKE.switch_channel_set_app_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), flags);
+ public static void switch_channel_set_app_flag_key(string app, SWIGTYPE_p_switch_channel channel, uint flags) {
+ freeswitchPINVOKE.switch_channel_set_app_flag_key(app, SWIGTYPE_p_switch_channel.getCPtr(channel), flags);
}
- public static void switch_channel_clear_app_flag(SWIGTYPE_p_switch_channel channel, uint flags) {
- freeswitchPINVOKE.switch_channel_clear_app_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), flags);
+ public static void switch_channel_clear_app_flag_key(string app, SWIGTYPE_p_switch_channel channel, uint flags) {
+ freeswitchPINVOKE.switch_channel_clear_app_flag_key(app, SWIGTYPE_p_switch_channel.getCPtr(channel), flags);
}
- public static int switch_channel_test_app_flag(SWIGTYPE_p_switch_channel channel, uint flags) {
- int ret = freeswitchPINVOKE.switch_channel_test_app_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), flags);
+ public static int switch_channel_test_app_flag_key(string app, SWIGTYPE_p_switch_channel channel, uint flags) {
+ int ret = freeswitchPINVOKE.switch_channel_test_app_flag_key(app, SWIGTYPE_p_switch_channel.getCPtr(channel), flags);
return ret;
}
public static readonly string SWITCH_L_SDP_VARIABLE = freeswitchPINVOKE.SWITCH_L_SDP_VARIABLE_get();
public static readonly string SWITCH_B_SDP_VARIABLE = freeswitchPINVOKE.SWITCH_B_SDP_VARIABLE_get();
public static readonly string SWITCH_BRIDGE_VARIABLE = freeswitchPINVOKE.SWITCH_BRIDGE_VARIABLE_get();
+ public static readonly string SWITCH_LAST_BRIDGE_VARIABLE = freeswitchPINVOKE.SWITCH_LAST_BRIDGE_VARIABLE_get();
public static readonly string SWITCH_SIGNAL_BRIDGE_VARIABLE = freeswitchPINVOKE.SWITCH_SIGNAL_BRIDGE_VARIABLE_get();
public static readonly string SWITCH_SIGNAL_BOND_VARIABLE = freeswitchPINVOKE.SWITCH_SIGNAL_BOND_VARIABLE_get();
public static readonly string SWITCH_ORIGINATOR_VARIABLE = freeswitchPINVOKE.SWITCH_ORIGINATOR_VARIABLE_get();
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_BRIDGE_VARIABLE_get")]
public static extern string SWITCH_BRIDGE_VARIABLE_get();
+ [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_LAST_BRIDGE_VARIABLE_get")]
+ public static extern string SWITCH_LAST_BRIDGE_VARIABLE_get();
+
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SIGNAL_BRIDGE_VARIABLE_get")]
public static extern string SWITCH_SIGNAL_BRIDGE_VARIABLE_get();
[DllImport("mod_managed", EntryPoint="CSharp_switch_strip_spaces")]
public static extern string switch_strip_spaces(string jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_strip_whitespace")]
+ public static extern string switch_strip_whitespace(string jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_strip_commas")]
public static extern string switch_strip_commas(string jarg1, string jarg2, HandleRef jarg3);
[DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_next_get")]
public static extern IntPtr switch_caller_profile_next_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_direction_set")]
+ public static extern void switch_caller_profile_direction_set(HandleRef jarg1, int jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_direction_get")]
+ public static extern int switch_caller_profile_direction_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_caller_profile")]
public static extern IntPtr new_switch_caller_profile();
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_test_private_flag")]
public static extern int switch_channel_test_private_flag(HandleRef jarg1, uint jarg2);
- [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_app_flag")]
- public static extern void switch_channel_set_app_flag(HandleRef jarg1, uint jarg2);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_app_flag_key")]
+ public static extern void switch_channel_set_app_flag_key(string jarg1, HandleRef jarg2, uint jarg3);
- [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_clear_app_flag")]
- public static extern void switch_channel_clear_app_flag(HandleRef jarg1, uint jarg2);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_clear_app_flag_key")]
+ public static extern void switch_channel_clear_app_flag_key(string jarg1, HandleRef jarg2, uint jarg3);
- [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_test_app_flag")]
- public static extern int switch_channel_test_app_flag(HandleRef jarg1, uint jarg2);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_test_app_flag_key")]
+ public static extern int switch_channel_test_app_flag_key(string jarg1, HandleRef jarg2, uint jarg3);
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_hangup_time")]
public static extern void switch_channel_set_hangup_time(HandleRef jarg1);
}
}
+ public switch_call_direction_t direction {
+ set {
+ freeswitchPINVOKE.switch_caller_profile_direction_set(swigCPtr, (int)value);
+ }
+ get {
+ switch_call_direction_t ret = (switch_call_direction_t)freeswitchPINVOKE.switch_caller_profile_direction_get(swigCPtr);
+ return ret;
+ }
+ }
+
public switch_caller_profile() : this(freeswitchPINVOKE.new_switch_caller_profile(), true) {
}
SCF_CALIBRATE_CLOCK = (1 << 8),
SCF_USE_HEAVY_TIMING = (1 << 9),
SCF_USE_CLOCK_RT = (1 << 10),
- SCF_VERBOSE_EVENTS = (1 << 11)
+ SCF_VERBOSE_EVENTS = (1 << 11),
+ SCF_USE_WIN32_MONOTONIC = (1 << 12),
+ SCF_AUTO_SCHEMAS = (1 << 13)
}
}
[System.Flags] public enum switch_io_flag_enum_t {
SWITCH_IO_FLAG_NONE = 0,
- SWITCH_IO_FLAG_NOBLOCK = (1 << 0)
+ SWITCH_IO_FLAG_NOBLOCK = (1 << 0),
+ SWITCH_IO_FLAG_SINGLE_READ = (1 << 1)
}
}