}\r
\r
\r
+SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_get_switchname() {\r
+ char * jresult ;\r
+ char *result = 0 ;\r
+ \r
+ result = (char *)switch_core_get_switchname();\r
+ jresult = SWIG_csharp_string_callback((const char *)result); \r
+ return jresult;\r
+}\r
+\r
+\r
SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_set_variable(char * jarg1, char * jarg2) {\r
char *arg1 = (char *) 0 ;\r
char *arg2 = (char *) 0 ;\r
}\r
\r
\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_is_number(char * jarg1) {\r
+ int jresult ;\r
+ char *arg1 = (char *) 0 ;\r
+ switch_bool_t result;\r
+ \r
+ arg1 = (char *)jarg1; \r
+ result = (switch_bool_t)switch_is_number((char const *)arg1);\r
+ jresult = result; \r
+ return jresult;\r
+}\r
+\r
+\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_true(char * jarg1) {\r
+ int jresult ;\r
+ char *arg1 = (char *) 0 ;\r
+ int result;\r
+ \r
+ arg1 = (char *)jarg1; \r
+ result = (int)switch_true((char const *)arg1);\r
+ jresult = result; \r
+ return jresult;\r
+}\r
+\r
+\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_false(char * jarg1) {\r
+ int jresult ;\r
+ char *arg1 = (char *) 0 ;\r
+ int result;\r
+ \r
+ arg1 = (char *)jarg1; \r
+ result = (int)switch_false((char const *)arg1);\r
+ jresult = result; \r
+ return jresult;\r
+}\r
+\r
+\r
SWIGEXPORT int SWIGSTDCALL CSharp_switch_resolve_host(char * jarg1, char * jarg2, unsigned long jarg3) {\r
int jresult ;\r
char *arg1 = (char *) 0 ;\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_is_number(char * jarg1) {\r
- int jresult ;\r
- char *arg1 = (char *) 0 ;\r
- switch_bool_t result;\r
- \r
- arg1 = (char *)jarg1; \r
- result = (switch_bool_t)switch_is_number((char const *)arg1);\r
- jresult = result; \r
- return jresult;\r
-}\r
-\r
-\r
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_strip_spaces(char * jarg1, int jarg2) {\r
char * jresult ;\r
char *arg1 = (char *) 0 ;\r
}\r
\r
\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_bridged_set(void * jarg1, void * jarg2) {\r
+ switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ;\r
+ switch_time_t arg2 ;\r
+ switch_time_t *argp2 ;\r
+ \r
+ arg1 = (switch_channel_timetable *)jarg1; \r
+ argp2 = (switch_time_t *)jarg2; \r
+ if (!argp2) {\r
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0);\r
+ return ;\r
+ }\r
+ arg2 = *argp2; \r
+ if (arg1) (arg1)->bridged = arg2;\r
+}\r
+\r
+\r
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_bridged_get(void * jarg1) {\r
+ void * jresult ;\r
+ switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ;\r
+ switch_time_t result;\r
+ \r
+ arg1 = (switch_channel_timetable *)jarg1; \r
+ result = ((arg1)->bridged);\r
+ jresult = new switch_time_t((const switch_time_t &)result); \r
+ return jresult;\r
+}\r
+\r
+\r
SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_next_set(void * jarg1, void * jarg2) {\r
switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ;\r
switch_channel_timetable *arg2 = (switch_channel_timetable *) 0 ;\r
}\r
\r
\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_bridge_time(void * jarg1) {\r
+ switch_channel_t *arg1 = (switch_channel_t *) 0 ;\r
+ \r
+ arg1 = (switch_channel_t *)jarg1; \r
+ switch_channel_set_bridge_time(arg1);\r
+}\r
+\r
+\r
SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_hangup_time(void * jarg1) {\r
switch_channel_t *arg1 = (switch_channel_t *) 0 ;\r
\r
}\r
\r
\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_locate_language(void * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5, void * jarg6, char * jarg7) {\r
+ int jresult ;\r
+ switch_xml_t *arg1 = (switch_xml_t *) 0 ;\r
+ switch_xml_t *arg2 = (switch_xml_t *) 0 ;\r
+ switch_event_t *arg3 = (switch_event_t *) 0 ;\r
+ switch_xml_t *arg4 = (switch_xml_t *) 0 ;\r
+ switch_xml_t *arg5 = (switch_xml_t *) 0 ;\r
+ switch_xml_t *arg6 = (switch_xml_t *) 0 ;\r
+ char *arg7 = (char *) 0 ;\r
+ switch_status_t result;\r
+ \r
+ arg1 = (switch_xml_t *)jarg1; \r
+ arg2 = (switch_xml_t *)jarg2; \r
+ arg3 = (switch_event_t *)jarg3; \r
+ arg4 = (switch_xml_t *)jarg4; \r
+ arg5 = (switch_xml_t *)jarg5; \r
+ arg6 = (switch_xml_t *)jarg6; \r
+ arg7 = (char *)jarg7; \r
+ result = (switch_status_t)switch_xml_locate_language(arg1,arg2,arg3,arg4,arg5,arg6,(char const *)arg7);\r
+ jresult = result; \r
+ return jresult;\r
+}\r
+\r
+\r
SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_outgoing_channel_outgoing_channel_set(void * jarg1, void * jarg2) {\r
switch_io_event_hook_outgoing_channel *arg1 = (switch_io_event_hook_outgoing_channel *) 0 ;\r
switch_outgoing_channel_hook_t arg2 = (switch_outgoing_channel_hook_t) 0 ;\r
return ret;\r
}\r
\r
+ public static string switch_core_get_switchname() {\r
+ string ret = freeswitchPINVOKE.switch_core_get_switchname();\r
+ return ret;\r
+ }\r
+\r
public static void switch_core_set_variable(string varname, string value) {\r
freeswitchPINVOKE.switch_core_set_variable(varname, value);\r
}\r
return ret;\r
}\r
\r
+ public static switch_bool_t switch_is_number(string str) {\r
+ switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_is_number(str);\r
+ return ret;\r
+ }\r
+\r
+ public static int switch_true(string expr) {\r
+ int ret = freeswitchPINVOKE.switch_true(expr);\r
+ return ret;\r
+ }\r
+\r
+ public static int switch_false(string expr) {\r
+ int ret = freeswitchPINVOKE.switch_false(expr);\r
+ return ret;\r
+ }\r
+\r
public static switch_status_t switch_resolve_host(string host, string buf, uint buflen) {\r
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_resolve_host(host, buf, buflen);\r
return ret;\r
return ret;\r
}\r
\r
- public static switch_bool_t switch_is_number(string str) {\r
- switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_is_number(str);\r
- return ret;\r
- }\r
-\r
public static string switch_strip_spaces(string str, switch_bool_t dup) {\r
string ret = freeswitchPINVOKE.switch_strip_spaces(str, (int)dup);\r
return ret;\r
return ret;\r
}\r
\r
+ public static void switch_channel_set_bridge_time(SWIGTYPE_p_switch_channel channel) {\r
+ freeswitchPINVOKE.switch_channel_set_bridge_time(SWIGTYPE_p_switch_channel.getCPtr(channel));\r
+ }\r
+\r
public static void switch_channel_set_hangup_time(SWIGTYPE_p_switch_channel channel) {\r
freeswitchPINVOKE.switch_channel_set_hangup_time(SWIGTYPE_p_switch_channel.getCPtr(channel));\r
}\r
return ret;\r
}\r
\r
+ public static switch_status_t switch_xml_locate_language(SWIGTYPE_p_p_switch_xml root, SWIGTYPE_p_p_switch_xml node, switch_event arg2, SWIGTYPE_p_p_switch_xml language, SWIGTYPE_p_p_switch_xml phrases, SWIGTYPE_p_p_switch_xml macros, string str_language) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_locate_language(SWIGTYPE_p_p_switch_xml.getCPtr(root), SWIGTYPE_p_p_switch_xml.getCPtr(node), switch_event.getCPtr(arg2), SWIGTYPE_p_p_switch_xml.getCPtr(language), SWIGTYPE_p_p_switch_xml.getCPtr(phrases), SWIGTYPE_p_p_switch_xml.getCPtr(macros), str_language);\r
+ return ret;\r
+ }\r
+\r
public static switch_status_t switch_core_event_hook_add_outgoing_channel(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t outgoing_channel) {\r
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_outgoing_channel(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t.getCPtr(outgoing_channel));\r
return ret;\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_hostname")]\r
public static extern string switch_core_get_hostname();\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_switchname")]\r
+ public static extern string switch_core_get_switchname();\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_set_variable")]\r
public static extern void switch_core_set_variable(string jarg1, string jarg2);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_frame_free")]\r
public static extern int switch_frame_free(HandleRef jarg1);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_is_number")]\r
+ public static extern int switch_is_number(string jarg1);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_true")]\r
+ public static extern int switch_true(string jarg1);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_false")]\r
+ public static extern int switch_false(string jarg1);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_resolve_host")]\r
public static extern int switch_resolve_host(string jarg1, string jarg2, uint jarg3);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_separate_string_string")]\r
public static extern uint switch_separate_string_string(string jarg1, string jarg2, ref string jarg3, uint jarg4);\r
\r
- [DllImport("mod_managed", EntryPoint="CSharp_switch_is_number")]\r
- public static extern int switch_is_number(string jarg1);\r
-\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_strip_spaces")]\r
public static extern string switch_strip_spaces(string jarg1, int jarg2);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_resurrected_get")]\r
public static extern IntPtr switch_channel_timetable_resurrected_get(HandleRef jarg1);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_bridged_set")]\r
+ public static extern void switch_channel_timetable_bridged_set(HandleRef jarg1, HandleRef jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_bridged_get")]\r
+ public static extern IntPtr switch_channel_timetable_bridged_get(HandleRef jarg1);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_next_set")]\r
public static extern void switch_channel_timetable_next_set(HandleRef jarg1, HandleRef jarg2);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_test_app_flag_key")]\r
public static extern int switch_channel_test_app_flag_key(string jarg1, HandleRef jarg2, uint jarg3);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_bridge_time")]\r
+ public static extern void switch_channel_set_bridge_time(HandleRef jarg1);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_hangup_time")]\r
public static extern void switch_channel_set_hangup_time(HandleRef jarg1);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_xml_std_datetime_check")]\r
public static extern int switch_xml_std_datetime_check(HandleRef jarg1);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_locate_language")]\r
+ public static extern int switch_xml_locate_language(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6, string jarg7);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_outgoing_channel_outgoing_channel_set")]\r
public static extern void switch_io_event_hook_outgoing_channel_outgoing_channel_set(HandleRef jarg1, HandleRef jarg2);\r
\r
} \r
}\r
\r
+ public SWIGTYPE_p_switch_time_t bridged {\r
+ set {\r
+ freeswitchPINVOKE.switch_channel_timetable_bridged_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value));\r
+ if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();\r
+ } \r
+ get {\r
+ SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_channel_timetable_bridged_get(swigCPtr), true);\r
+ if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();\r
+ return ret;\r
+ } \r
+ }\r
+\r
public switch_channel_timetable next {\r
set {\r
freeswitchPINVOKE.switch_channel_timetable_next_set(swigCPtr, switch_channel_timetable.getCPtr(value));\r