%ignore setDTMFCallback;\r
\r
// Rename some things to make them more .NET-like\r
+//%csmethodmodifiers CoreSession::hangup "internal";\r
%rename (Answer) CoreSession::answer;\r
%rename (Hangup) CoreSession::hangup;\r
%rename (Ready) CoreSession::ready;\r
}\r
\r
\r
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_flags_set(void * jarg1, int jarg2) {\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_flags_set(void * jarg1, unsigned long jarg2) {\r
switch_core_session_message *arg1 = (switch_core_session_message *) 0 ;\r
switch_core_session_message_flag_t arg2 ;\r
\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_message_flags_get(void * jarg1) {\r
- int jresult ;\r
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_message_flags_get(void * jarg1) {\r
+ unsigned long jresult ;\r
switch_core_session_message *arg1 = (switch_core_session_message *) 0 ;\r
switch_core_session_message_flag_t result;\r
\r
arg1 = (switch_core_session_message *)jarg1; \r
result = (switch_core_session_message_flag_t) ((arg1)->flags);\r
- jresult = result; \r
+ jresult = (unsigned long)result; \r
return jresult;\r
}\r
\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_add(void * jarg1, void * jarg2, void * jarg3, void * jarg4, int jarg5, void * jarg6) {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_add(void * jarg1, void * jarg2, void * jarg3, void * jarg4, unsigned long jarg5, void * jarg6) {\r
int jresult ;\r
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
switch_media_bug_callback_t arg2 = (switch_media_bug_callback_t) 0 ;\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_port_allocator_new(unsigned short jarg1, unsigned short jarg2, int jarg3, void * jarg4) {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_port_allocator_new(unsigned short jarg1, unsigned short jarg2, unsigned long jarg3, void * jarg4) {\r
int jresult ;\r
switch_port_t arg1 ;\r
switch_port_t arg2 ;\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_init(int jarg1, int jarg2, void * jarg3) {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_init(unsigned long jarg1, int jarg2, void * jarg3) {\r
int jresult ;\r
switch_core_flag_t arg1 ;\r
switch_bool_t arg2 ;\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_init_and_modload(int jarg1, int jarg2, void * jarg3) {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_init_and_modload(unsigned long jarg1, int jarg2, void * jarg3) {\r
int jresult ;\r
switch_core_flag_t arg1 ;\r
switch_bool_t arg2 ;\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_outgoing_channel(void * jarg1, void * jarg2, char * jarg3, void * jarg4, void * jarg5, void * jarg6, int jarg7) {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_outgoing_channel(void * jarg1, void * jarg2, char * jarg3, void * jarg4, void * jarg5, void * jarg6, unsigned long jarg7) {\r
int jresult ;\r
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
switch_event_t *arg2 = (switch_event_t *) 0 ;\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_read_frame(void * jarg1, void * jarg2, int jarg3, int jarg4) {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_read_frame(void * jarg1, void * jarg2, unsigned long jarg3, int jarg4) {\r
int jresult ;\r
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
switch_frame_t **arg2 = (switch_frame_t **) 0 ;\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_read_video_frame(void * jarg1, void * jarg2, int jarg3, int jarg4) {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_read_video_frame(void * jarg1, void * jarg2, unsigned long jarg3, int jarg4) {\r
int jresult ;\r
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
switch_frame_t **arg2 = (switch_frame_t **) 0 ;\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_write_video_frame(void * jarg1, void * jarg2, int jarg3, int jarg4) {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_write_video_frame(void * jarg1, void * jarg2, unsigned long jarg3, int jarg4) {\r
int jresult ;\r
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
switch_frame_t *arg2 = (switch_frame_t *) 0 ;\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_write_frame(void * jarg1, void * jarg2, int jarg3, int jarg4) {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_write_frame(void * jarg1, void * jarg2, unsigned long jarg3, int jarg4) {\r
int jresult ;\r
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
switch_frame_t *arg2 = (switch_frame_t *) 0 ;\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_flags() {\r
- int jresult ;\r
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_flags() {\r
+ unsigned long jresult ;\r
switch_core_flag_t result;\r
\r
result = (switch_core_flag_t)switch_core_flags();\r
- jresult = result; \r
+ jresult = (unsigned long)result; \r
return jresult;\r
}\r
\r
}\r
\r
\r
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_flags_set(void * jarg1, int jarg2) {\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_flags_set(void * jarg1, unsigned long jarg2) {\r
switch_caller_profile *arg1 = (switch_caller_profile *) 0 ;\r
switch_caller_profile_flag_t arg2 ;\r
\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_caller_profile_flags_get(void * jarg1) {\r
- int jresult ;\r
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_caller_profile_flags_get(void * jarg1) {\r
+ unsigned long jresult ;\r
switch_caller_profile *arg1 = (switch_caller_profile *) 0 ;\r
switch_caller_profile_flag_t result;\r
\r
arg1 = (switch_caller_profile *)jarg1; \r
result = (switch_caller_profile_flag_t) ((arg1)->flags);\r
- jresult = result; \r
+ jresult = (unsigned long)result; \r
return jresult;\r
}\r
\r
}\r
\r
\r
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_flags_set(void * jarg1, int jarg2) {\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_flags_set(void * jarg1, unsigned long jarg2) {\r
switch_frame *arg1 = (switch_frame *) 0 ;\r
switch_frame_flag_t arg2 ;\r
\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_flags_get(void * jarg1) {\r
- int jresult ;\r
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_flags_get(void * jarg1) {\r
+ unsigned long jresult ;\r
switch_frame *arg1 = (switch_frame *) 0 ;\r
switch_frame_flag_t result;\r
\r
arg1 = (switch_frame *)jarg1; \r
result = (switch_frame_flag_t) ((arg1)->flags);\r
- jresult = result; \r
+ jresult = (unsigned long)result; \r
return jresult;\r
}\r
\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_wait_for_flag(void * jarg1, int jarg2, int jarg3, unsigned long jarg4) {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_wait_for_flag(void * jarg1, unsigned long jarg2, int jarg3, unsigned long jarg4) {\r
int jresult ;\r
switch_channel_t *arg1 = (switch_channel_t *) 0 ;\r
switch_channel_flag_t arg2 ;\r
}\r
\r
\r
-SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_channel_test_flag(void * jarg1, int jarg2) {\r
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_channel_test_flag(void * jarg1, unsigned long jarg2) {\r
unsigned long jresult ;\r
switch_channel_t *arg1 = (switch_channel_t *) 0 ;\r
switch_channel_flag_t arg2 ;\r
}\r
\r
\r
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_flag(void * jarg1, int jarg2) {\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_flag(void * jarg1, unsigned long jarg2) {\r
switch_channel_t *arg1 = (switch_channel_t *) 0 ;\r
switch_channel_flag_t arg2 ;\r
\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_flag_partner(void * jarg1, int jarg2) {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_flag_partner(void * jarg1, unsigned long jarg2) {\r
int jresult ;\r
switch_channel_t *arg1 = (switch_channel_t *) 0 ;\r
switch_channel_flag_t arg2 ;\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_clear_flag_partner(void * jarg1, int jarg2) {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_clear_flag_partner(void * jarg1, unsigned long jarg2) {\r
int jresult ;\r
switch_channel_t *arg1 = (switch_channel_t *) 0 ;\r
switch_channel_flag_t arg2 ;\r
}\r
\r
\r
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_state_flag(void * jarg1, int jarg2) {\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_state_flag(void * jarg1, unsigned long jarg2) {\r
switch_channel_t *arg1 = (switch_channel_t *) 0 ;\r
switch_channel_flag_t arg2 ;\r
\r
}\r
\r
\r
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_flag(void * jarg1, int jarg2) {\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_flag(void * jarg1, unsigned long jarg2) {\r
switch_channel_t *arg1 = (switch_channel_t *) 0 ;\r
switch_channel_flag_t arg2 ;\r
\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_eavesdrop_session(void * jarg1, char * jarg2, char * jarg3, int jarg4) {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_eavesdrop_session(void * jarg1, char * jarg2, char * jarg3, unsigned long jarg4) {\r
int jresult ;\r
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
char *arg2 = (char *) 0 ;\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_originate(void * jarg1, void * jarg2, void * jarg3, char * jarg4, unsigned long jarg5, void * jarg6, char * jarg7, char * jarg8, void * jarg9, int jarg10) {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_originate(void * jarg1, void * jarg2, void * jarg3, char * jarg4, unsigned long jarg5, void * jarg6, char * jarg7, char * jarg8, void * jarg9, unsigned long jarg10) {\r
int jresult ;\r
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
switch_core_session_t **arg2 = (switch_core_session_t **) 0 ;\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_media(char * jarg1, int jarg2) {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_media(char * jarg1, unsigned long jarg2) {\r
int jresult ;\r
char *arg1 = (char *) 0 ;\r
switch_media_flag_t arg2 ;\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_nomedia(char * jarg1, int jarg2) {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_nomedia(char * jarg1, unsigned long jarg2) {\r
int jresult ;\r
char *arg1 = (char *) 0 ;\r
switch_media_flag_t arg2 ;\r
}\r
\r
\r
-SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_ivr_schedule_broadcast(void * jarg1, char * jarg2, char * jarg3, int jarg4) {\r
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_ivr_schedule_broadcast(void * jarg1, char * jarg2, char * jarg3, unsigned long jarg4) {\r
unsigned long jresult ;\r
time_t arg1 ;\r
char *arg2 = (char *) 0 ;\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_broadcast(char * jarg1, char * jarg2, int jarg3) {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_broadcast(char * jarg1, char * jarg2, unsigned long jarg3) {\r
int jresult ;\r
char *arg1 = (char *) 0 ;\r
char *arg2 = (char *) 0 ;\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_bind_dtmf_meta_session(void * jarg1, unsigned long jarg2, int jarg3, char * jarg4) {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_bind_dtmf_meta_session(void * jarg1, unsigned long jarg2, unsigned long jarg3, char * jarg4) {\r
int jresult ;\r
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
uint32_t arg2 ;\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_create(void * jarg1, unsigned char jarg2, unsigned long jarg3, unsigned long jarg4, int jarg5, char * jarg6, void * jarg7, void * jarg8) {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_create(void * jarg1, unsigned char jarg2, unsigned long jarg3, unsigned long jarg4, unsigned long jarg5, char * jarg6, void * jarg7, void * jarg8) {\r
int jresult ;\r
switch_rtp_t **arg1 = (switch_rtp_t **) 0 ;\r
switch_payload_t arg2 ;\r
}\r
\r
\r
-SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_new(char * jarg1, unsigned short jarg2, char * jarg3, unsigned short jarg4, unsigned char jarg5, unsigned long jarg6, unsigned long jarg7, int jarg8, char * jarg9, void * jarg10, void * jarg11) {\r
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_new(char * jarg1, unsigned short jarg2, char * jarg3, unsigned short jarg4, unsigned char jarg5, unsigned long jarg6, unsigned long jarg7, unsigned long jarg8, char * jarg9, void * jarg10, void * jarg11) {\r
void * jresult ;\r
char *arg1 = (char *) 0 ;\r
switch_port_t arg2 ;\r
}\r
\r
\r
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_flag(void * jarg1, int jarg2) {\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_flag(void * jarg1, unsigned long jarg2) {\r
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;\r
switch_rtp_flag_t arg2 ;\r
\r
}\r
\r
\r
-SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtp_test_flag(void * jarg1, int jarg2) {\r
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtp_test_flag(void * jarg1, unsigned long jarg2) {\r
unsigned long jresult ;\r
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;\r
switch_rtp_flag_t arg2 ;\r
}\r
\r
\r
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_clear_flag(void * jarg1, int jarg2) {\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_clear_flag(void * jarg1, unsigned long jarg2) {\r
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;\r
switch_rtp_flag_t arg2 ;\r
\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_read(void * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5, int jarg6) {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_read(void * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5, unsigned long jarg6) {\r
int jresult ;\r
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;\r
void *arg2 = (void *) 0 ;\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_zerocopy_read(void * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5, int jarg6) {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_zerocopy_read(void * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5, unsigned long jarg6) {\r
int jresult ;\r
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;\r
void **arg2 = (void **) 0 ;\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_zerocopy_read_frame(void * jarg1, void * jarg2, int jarg3) {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_zerocopy_read_frame(void * jarg1, void * jarg2, unsigned long jarg3) {\r
int jresult ;\r
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;\r
switch_frame_t *arg2 = (switch_frame_t *) 0 ;\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_enable_vad(void * jarg1, void * jarg2, void * jarg3, int jarg4) {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_enable_vad(void * jarg1, void * jarg2, void * jarg3, unsigned long jarg4) {\r
int jresult ;\r
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;\r
switch_core_session_t *arg2 = (switch_core_session_t *) 0 ;\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_bind_search_function(void * jarg1, int jarg2, void * jarg3) {\r
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_bind_search_function(void * jarg1, unsigned long jarg2, void * jarg3) {\r
int jresult ;\r
switch_xml_search_function_t arg1 = (switch_xml_search_function_t) 0 ;\r
switch_xml_section_t arg2 ;\r
}\r
\r
\r
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_parse_section_string(char * jarg1) {\r
- int jresult ;\r
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_xml_parse_section_string(char * jarg1) {\r
+ unsigned long jresult ;\r
char *arg1 = (char *) 0 ;\r
switch_xml_section_t result;\r
\r
arg1 = (char *)jarg1; \r
result = (switch_xml_section_t)switch_xml_parse_section_string((char const *)arg1);\r
- jresult = result; \r
+ jresult = (unsigned long)result; \r
return jresult;\r
}\r
\r
}\r
\r
\r
-SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_add_task(void * jarg1, void * jarg2, char * jarg3, char * jarg4, unsigned long jarg5, void * jarg6, int jarg7) {\r
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_add_task(void * jarg1, void * jarg2, char * jarg3, char * jarg4, unsigned long jarg5, void * jarg6, unsigned long jarg7) {\r
unsigned long jresult ;\r
time_t arg1 ;\r
switch_scheduler_func_t arg2 = (switch_scheduler_func_t) 0 ;\r
}\r
\r
\r
+SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CoreSession_answered(void * jarg1) {\r
+ unsigned int jresult ;\r
+ CoreSession *arg1 = (CoreSession *) 0 ;\r
+ bool result;\r
+ \r
+ arg1 = (CoreSession *)jarg1; \r
+ result = (bool)(arg1)->answered();\r
+ jresult = result; \r
+ return jresult;\r
+}\r
+\r
+\r
+SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CoreSession_mediaReady(void * jarg1) {\r
+ unsigned int jresult ;\r
+ CoreSession *arg1 = (CoreSession *) 0 ;\r
+ bool result;\r
+ \r
+ arg1 = (CoreSession *)jarg1; \r
+ result = (bool)(arg1)->mediaReady();\r
+ jresult = result; \r
+ return jresult;\r
+}\r
+\r
+\r
+SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_waitForAnswer(void * jarg1, void * jarg2) {\r
+ CoreSession *arg1 = (CoreSession *) 0 ;\r
+ CoreSession *arg2 = (CoreSession *) 0 ;\r
+ \r
+ arg1 = (CoreSession *)jarg1; \r
+ arg2 = (CoreSession *)jarg2; \r
+ (arg1)->waitForAnswer(arg2);\r
+}\r
+\r
+\r
SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_Execute(void * jarg1, char * jarg2, char * jarg3) {\r
CoreSession *arg1 = (CoreSession *) 0 ;\r
char *arg2 = (char *) 0 ;\r
RelativePath=".\freeswitch.i"\r
>\r
</File>\r
+ <File\r
+ RelativePath=".\switch_platform.i"\r
+ >\r
+ </File>\r
</Files>\r
<Globals>\r
</Globals>\r
void hangupCallback()\r
{\r
Log.WriteLine(LogLevel.Debug, "AppFunction is in hangupCallback.");\r
- abortRun();\r
- var f = HangupFunction;\r
- if (f != null) f();\r
+ try {\r
+ abortRun();\r
+ var f = HangupFunction;\r
+ if (f != null) f();\r
+ }\r
+ catch (Exception ex) {\r
+ Log.WriteLine(LogLevel.Warning, "Exception in hangupCallback: {0}", ex.ToString());\r
+ throw;\r
+ }\r
}\r
\r
protected Action HangupFunction { get; set; }\r
}\r
}\r
\r
+ /// <summary>Determines if the thread used for Run will have Abort called on it on hangup. Defaults to false.</summary>\r
protected virtual bool AbortOnHangup { get { return false; } }\r
bool abortable = false;\r
readonly object abortLock = new object();\r
void abortRun()\r
{\r
if (!AbortOnHangup) return;\r
+ if (runThread == Thread.CurrentThread) {\r
+ Log.WriteLine(LogLevel.Warning, "Thread will not be aborted because Hangup was called from the Run thread.");\r
+ return;\r
+ }\r
lock (abortLock) {\r
- if (abortable) runThread.Abort();\r
+ if (abortable) {\r
+ Log.WriteLine(LogLevel.Critical, "Aborting run thread.");\r
+ runThread.Abort();\r
+ }\r
}\r
}\r
\r
Run();\r
}\r
catch (ThreadAbortException) {\r
- Log.WriteLine(LogLevel.Debug, "Run thread aborted.");\r
+ Log.WriteLine(LogLevel.Critical, "Run thread aborted.");\r
Thread.ResetAbort();\r
}\r
finally {\r
lock (abortLock) { abortable = false; }\r
- Thread.ResetAbort();\r
+ if (runThread.ThreadState == ThreadState.AbortRequested) {\r
+ try { Thread.ResetAbort(); }\r
+ catch { }\r
+ }\r
}\r
}\r
\r
{\r
new protected static bool Load()\r
{\r
- Log.WriteLine(LogLevel.Debug, "Inside AppDemo::Load.");\r
+ Log.WriteLine(LogLevel.Info, "Inside AppDemo::Load.");\r
return true;\r
}\r
\r
new protected static void Unload()\r
{\r
- Log.WriteLine(LogLevel.Debug, "Inside AppDemo::Unload.");\r
+ Log.WriteLine(LogLevel.Info, "Inside AppDemo::Unload.");\r
}\r
\r
protected override void Run()\r
Log.WriteLine(LogLevel.Info, "Received {0} for {1}.", d, t);\r
return "";\r
};\r
- Log.WriteLine(LogLevel.Debug, "Inside AppDemo.Run (args '{0}'); HookState is {1}.", Arguments, Session.HookState);\r
- Session.CollectDigits(5000);\r
- if (!IsAvailable) return; // Hungup\r
+ Log.WriteLine(LogLevel.Info, "Inside AppDemo.Run (args '{0}'); HookState is {1}.", Arguments, Session.HookState);\r
+ Session.CollectDigits(5000); // Hanging up here will cause an abort and the next line won't be written\r
+ Log.WriteLine(LogLevel.Info, "AppDemo is finishing its run and will now hang up.");\r
Session.Hangup("USER_BUSY");\r
}\r
\r
{\r
Log.WriteLine(LogLevel.Debug, "AppDemo hanging up, UUID: {0}.", this.Uuid);\r
}\r
+\r
+ protected override bool AbortOnHangup { get { return true; } } \r
}\r
\r
public class ApiDemo : ApiFunction\r
{\r
InitMonoSession(MonoSession.getCPtr(this).Handle, dtmfCallback, hangupHook);\r
}\r
+\r
}\r
}\r
<Compile Include="swig\SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml.cs" />\r
<Compile Include="swig\SWIGTYPE_p_f_p_q_const__char_p_switch_core_session_p_switch_stream_handle__switch_status_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_f_p_q_const__switch_log_node_t_enum_switch_log_level_t__switch_status_t.cs" />\r
- <Compile Include="swig\SWIGTYPE_p_f_p_switch_asr_handle_p_enum_switch_asr_flag_t__switch_status_t.cs" />\r
- <Compile Include="swig\SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_enum_switch_asr_flag_t__switch_status_t.cs" />\r
- <Compile Include="swig\SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_enum_switch_asr_flag_t__switch_status_t.cs" />\r
+ <Compile Include="swig\SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t.cs" />\r
+ <Compile Include="swig\SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_p_q_const__char__switch_status_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t.cs" />\r
- <Compile Include="swig\SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_enum_switch_asr_flag_t__switch_status_t.cs" />\r
+ <Compile Include="swig\SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t.cs" />\r
+ <Compile Include="swig\SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t.cs" />\r
- <Compile Include="swig\SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_flag_t_p_q_const__switch_codec_settings__switch_status_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t.cs" />\r
+ <Compile Include="swig\SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_f_p_switch_codec__switch_status_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_char_enum_switch_say_type_t_enum_switch_say_method_t_p_switch_input_args_t__switch_status_t.cs" />\r
- <Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.cs" />\r
+ <Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void.cs" />\r
<Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t__switch_status_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t.cs" />\r
- <Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_enum_switch_originate_flag_t__switch_call_cause_t.cs" />\r
- <Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_enum_switch_originate_flag_t__switch_status_t.cs" />\r
+ <Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t.cs" />\r
+ <Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t.cs" />\r
- <Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_p_void__switch_status_t.cs" />\r
+ <Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session_t_p_void_p_switch_caller_profile_t__p_switch_caller_extension.cs" />\r
<Compile Include="swig\SWIGTYPE_p_f_p_switch_core_session__switch_status_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_f_p_switch_scheduler_task__void.cs" />\r
<Compile Include="swig\SWIGTYPE_p_f_p_switch_speech_handle_p_char_double__void.cs" />\r
<Compile Include="swig\SWIGTYPE_p_f_p_switch_speech_handle_p_char_int__void.cs" />\r
- <Compile Include="swig\SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_enum_switch_speech_flag_t__switch_status_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_q_const__char__void.cs" />\r
- <Compile Include="swig\SWIGTYPE_p_f_p_switch_speech_handle_p_enum_switch_speech_flag_t__switch_status_t.cs" />\r
- <Compile Include="swig\SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_enum_switch_speech_flag_t__switch_status_t.cs" />\r
- <Compile Include="swig\SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_enum_switch_speech_flag_t__switch_status_t.cs" />\r
+ <Compile Include="swig\SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t.cs" />\r
+ <Compile Include="swig\SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t.cs" />\r
+ <Compile Include="swig\SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t.cs" />\r
+ <Compile Include="swig\SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_unsigned_long__switch_status_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_f_p_switch_speech_handle__void.cs" />\r
<Compile Include="swig\SWIGTYPE_p_f_p_switch_stream_handle_p_q_const__char_v_______switch_status_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_f_p_switch_stream_handle_p_unsigned_char_switch_size_t__switch_status_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_short.cs" />\r
<Compile Include="swig\SWIGTYPE_p_sqlite3.cs" />\r
<Compile Include="swig\SWIGTYPE_p_sqlite3_stmt.cs" />\r
- <Compile Include="swig\SWIGTYPE_p_switch_asr_flag_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_switch_buffer.cs" />\r
<Compile Include="swig\SWIGTYPE_p_switch_call_cause_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_switch_channel.cs" />\r
<Compile Include="swig\SWIGTYPE_p_switch_core_session.cs" />\r
<Compile Include="swig\SWIGTYPE_p_switch_event_types_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_switch_file_t.cs" />\r
- <Compile Include="swig\SWIGTYPE_p_switch_frame_flag_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_switch_hash.cs" />\r
<Compile Include="swig\SWIGTYPE_p_switch_ivr_action_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_switch_ivr_digit_stream.cs" />\r
<Compile Include="swig\SWIGTYPE_p_switch_size_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_switch_sockaddr_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_switch_socket_t.cs" />\r
- <Compile Include="swig\SWIGTYPE_p_switch_speech_flag_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_switch_ssize_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_switch_time_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_time_t.cs" />\r
<Compile Include="swig\SWIGTYPE_p_void.cs" />\r
<Compile Include="swig\switch_abc_type_t.cs" />\r
<Compile Include="swig\switch_api_interface.cs" />\r
- <Compile Include="swig\switch_application_flag_t.cs" />\r
+ <Compile Include="swig\switch_application_flag_enum_t.cs" />\r
<Compile Include="swig\switch_application_interface.cs" />\r
<Compile Include="swig\switch_app_log.cs" />\r
- <Compile Include="swig\switch_asr_flag_t.cs" />\r
+ <Compile Include="swig\switch_asr_flag_enum_t.cs" />\r
<Compile Include="swig\switch_asr_handle.cs" />\r
<Compile Include="swig\switch_asr_interface.cs" />\r
<Compile Include="swig\switch_audio_col_t.cs" />\r
<Compile Include="swig\switch_audio_resampler_t.cs" />\r
- <Compile Include="swig\switch_bind_flag_t.cs" />\r
+ <Compile Include="swig\switch_bind_flag_enum_t.cs" />\r
<Compile Include="swig\switch_bitpack_mode_t.cs" />\r
<Compile Include="swig\switch_bitpack_t.cs" />\r
<Compile Include="swig\switch_bool_t.cs" />\r
<Compile Include="swig\switch_caller_application.cs" />\r
<Compile Include="swig\switch_caller_extension.cs" />\r
<Compile Include="swig\switch_caller_profile.cs" />\r
- <Compile Include="swig\switch_caller_profile_flag_t.cs" />\r
+ <Compile Include="swig\switch_caller_profile_flag_enum_t.cs" />\r
<Compile Include="swig\switch_call_cause_t.cs" />\r
- <Compile Include="swig\switch_channel_flag_t.cs" />\r
+ <Compile Include="swig\switch_channel_flag_enum_t.cs" />\r
<Compile Include="swig\switch_channel_state_t.cs" />\r
<Compile Include="swig\switch_channel_timetable.cs" />\r
<Compile Include="swig\switch_chat_interface.cs" />\r
<Compile Include="swig\switch_codec.cs" />\r
- <Compile Include="swig\switch_codec_flag_t.cs" />\r
+ <Compile Include="swig\switch_codec_flag_enum_t.cs" />\r
<Compile Include="swig\switch_codec_implementation.cs" />\r
<Compile Include="swig\switch_codec_interface.cs" />\r
<Compile Include="swig\switch_codec_settings.cs" />\r
<Compile Include="swig\switch_codec_type_t.cs" />\r
<Compile Include="swig\switch_config.cs" />\r
- <Compile Include="swig\switch_core_flag_t.cs" />\r
+ <Compile Include="swig\switch_core_flag_enum_t.cs" />\r
<Compile Include="swig\switch_core_session_message.cs" />\r
- <Compile Include="swig\switch_core_session_message_flag_t.cs" />\r
+ <Compile Include="swig\switch_core_session_message_flag_enum_t.cs" />\r
<Compile Include="swig\switch_core_session_message_types_t.cs" />\r
<Compile Include="swig\switch_core_thread_session.cs" />\r
<Compile Include="swig\switch_core_time_duration.cs" />\r
<Compile Include="swig\switch_dialplan_interface.cs" />\r
<Compile Include="swig\switch_directories.cs" />\r
- <Compile Include="swig\switch_directory_flag_t.cs" />\r
+ <Compile Include="swig\switch_directory_flag_enum_t.cs" />\r
<Compile Include="swig\switch_directory_handle.cs" />\r
<Compile Include="swig\switch_directory_interface.cs" />\r
<Compile Include="swig\switch_dtmf_direction_t.cs" />\r
<Compile Include="swig\switch_dtmf_t.cs" />\r
- <Compile Include="swig\switch_eavesdrop_flag_t.cs" />\r
+ <Compile Include="swig\switch_eavesdrop_flag_enum_t.cs" />\r
<Compile Include="swig\switch_endpoint_interface.cs" />\r
<Compile Include="swig\switch_event.cs" />\r
<Compile Include="swig\switch_event_header.cs" />\r
<Compile Include="swig\switch_event_node.cs" />\r
<Compile Include="swig\switch_event_subclass.cs" />\r
<Compile Include="swig\switch_event_types_t.cs" />\r
- <Compile Include="swig\switch_file_flag_t.cs" />\r
+ <Compile Include="swig\switch_file_flag_enum_t.cs" />\r
<Compile Include="swig\switch_file_handle.cs" />\r
<Compile Include="swig\switch_file_interface.cs" />\r
<Compile Include="swig\switch_frame.cs" />\r
- <Compile Include="swig\switch_frame_flag_t.cs" />\r
+ <Compile Include="swig\switch_frame_flag_enum_t.cs" />\r
<Compile Include="swig\switch_input_args_t.cs" />\r
<Compile Include="swig\switch_input_type_t.cs" />\r
<Compile Include="swig\switch_io_event_hooks.cs" />\r
<Compile Include="swig\switch_io_event_hook_video_read_frame.cs" />\r
<Compile Include="swig\switch_io_event_hook_video_write_frame.cs" />\r
<Compile Include="swig\switch_io_event_hook_write_frame.cs" />\r
- <Compile Include="swig\switch_io_flag_t.cs" />\r
+ <Compile Include="swig\switch_io_flag_enum_t.cs" />\r
<Compile Include="swig\switch_io_routines.cs" />\r
<Compile Include="swig\switch_io_routine_name_t.cs" />\r
<Compile Include="swig\switch_ivr_action_t.cs" />\r
<Compile Include="swig\switch_ivr_menu_flags.cs" />\r
- <Compile Include="swig\switch_ivr_option_t.cs" />\r
+ <Compile Include="swig\switch_ivr_option_enum_t.cs" />\r
<Compile Include="swig\switch_loadable_module_function_table_t.cs" />\r
<Compile Include="swig\switch_log_level_t.cs" />\r
<Compile Include="swig\switch_log_node_t.cs" />\r
<Compile Include="swig\switch_management_action_t.cs" />\r
<Compile Include="swig\switch_management_interface.cs" />\r
- <Compile Include="swig\switch_media_bug_flag_t.cs" />\r
- <Compile Include="swig\switch_media_flag_t.cs" />\r
+ <Compile Include="swig\switch_media_bug_flag_enum_t.cs" />\r
+ <Compile Include="swig\switch_media_flag_enum_t.cs" />\r
<Compile Include="swig\switch_module_interface_name_t.cs" />\r
- <Compile Include="swig\switch_originate_flag_t.cs" />\r
- <Compile Include="swig\switch_port_flag_t.cs" />\r
+ <Compile Include="swig\switch_originate_flag_enum_t.cs" />\r
+ <Compile Include="swig\switch_port_flag_enum_t.cs" />\r
<Compile Include="swig\switch_priority_t.cs" />\r
<Compile Include="swig\switch_rtp_crypto_direction_t.cs" />\r
<Compile Include="swig\switch_rtp_crypto_key.cs" />\r
<Compile Include="swig\switch_rtp_crypto_key_type_t.cs" />\r
- <Compile Include="swig\switch_rtp_flag_t.cs" />\r
+ <Compile Include="swig\switch_rtp_flag_enum_t.cs" />\r
<Compile Include="swig\switch_rtp_hdr_t.cs" />\r
<Compile Include="swig\switch_say_interface.cs" />\r
<Compile Include="swig\switch_say_method_t.cs" />\r
<Compile Include="swig\switch_say_type_t.cs" />\r
- <Compile Include="swig\switch_scheduler_flag_t.cs" />\r
+ <Compile Include="swig\switch_scheduler_flag_enum_t.cs" />\r
<Compile Include="swig\switch_scheduler_task.cs" />\r
<Compile Include="swig\switch_session_ctl_t.cs" />\r
<Compile Include="swig\switch_signal_t.cs" />\r
- <Compile Include="swig\switch_speech_flag_t.cs" />\r
+ <Compile Include="swig\switch_speech_flag_enum_t.cs" />\r
<Compile Include="swig\switch_speech_handle.cs" />\r
<Compile Include="swig\switch_speech_interface.cs" />\r
<Compile Include="swig\switch_stack_t.cs" />\r
<Compile Include="swig\switch_stream_handle.cs" />\r
<Compile Include="swig\switch_text_channel_t.cs" />\r
<Compile Include="swig\switch_timer.cs" />\r
- <Compile Include="swig\switch_timer_flag_t.cs" />\r
+ <Compile Include="swig\switch_timer_flag_enum_t.cs" />\r
<Compile Include="swig\switch_timer_func_name_t.cs" />\r
<Compile Include="swig\switch_timer_interface.cs" />\r
<Compile Include="swig\switch_unicast_conninfo.cs" />\r
- <Compile Include="swig\switch_unicast_flag_t.cs" />\r
- <Compile Include="swig\switch_vad_flag_t.cs" />\r
+ <Compile Include="swig\switch_unicast_flag_enum_t.cs" />\r
+ <Compile Include="swig\switch_vad_flag_enum_t.cs" />\r
<Compile Include="swig\switch_xml.cs" />\r
<Compile Include="swig\switch_xml_flag_t.cs" />\r
- <Compile Include="swig\switch_xml_section_t.cs" />\r
+ <Compile Include="swig\switch_xml_section_enum_t.cs" />\r
</ItemGroup>\r
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />\r
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. \r
return ret;\r
}\r
\r
+ public bool answered() {\r
+ bool ret = freeswitchPINVOKE.CoreSession_answered(swigCPtr);\r
+ return ret;\r
+ }\r
+\r
+ public bool mediaReady() {\r
+ bool ret = freeswitchPINVOKE.CoreSession_mediaReady(swigCPtr);\r
+ return ret;\r
+ }\r
+\r
+ public void waitForAnswer(CoreSession calling_session) {\r
+ freeswitchPINVOKE.CoreSession_waitForAnswer(swigCPtr, CoreSession.getCPtr(calling_session));\r
+ }\r
+\r
public void Execute(string app, string data) {\r
freeswitchPINVOKE.CoreSession_Execute(swigCPtr, app, data);\r
}\r
using System;\r
using System.Runtime.InteropServices;\r
\r
-public class SWIGTYPE_p_f_p_switch_asr_handle_p_enum_switch_asr_flag_t__switch_status_t {\r
+public class SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t {\r
private HandleRef swigCPtr;\r
\r
- internal SWIGTYPE_p_f_p_switch_asr_handle_p_enum_switch_asr_flag_t__switch_status_t(IntPtr cPtr, bool futureUse) {\r
+ internal SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) {\r
swigCPtr = new HandleRef(this, cPtr);\r
}\r
\r
- protected SWIGTYPE_p_f_p_switch_asr_handle_p_enum_switch_asr_flag_t__switch_status_t() {\r
+ protected SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t() {\r
swigCPtr = new HandleRef(null, IntPtr.Zero);\r
}\r
\r
- internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_enum_switch_asr_flag_t__switch_status_t obj) {\r
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t obj) {\r
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;\r
}\r
}\r
using System;\r
using System.Runtime.InteropServices;\r
\r
-public class SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_enum_switch_asr_flag_t__switch_status_t {\r
+public class SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t {\r
private HandleRef swigCPtr;\r
\r
- internal SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_enum_switch_asr_flag_t__switch_status_t(IntPtr cPtr, bool futureUse) {\r
+ internal SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) {\r
swigCPtr = new HandleRef(this, cPtr);\r
}\r
\r
- protected SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_enum_switch_asr_flag_t__switch_status_t() {\r
+ protected SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t() {\r
swigCPtr = new HandleRef(null, IntPtr.Zero);\r
}\r
\r
- internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_enum_switch_asr_flag_t__switch_status_t obj) {\r
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t obj) {\r
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;\r
}\r
}\r
using System;\r
using System.Runtime.InteropServices;\r
\r
-public class SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_enum_switch_asr_flag_t__switch_status_t {\r
+public class SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t {\r
private HandleRef swigCPtr;\r
\r
- internal SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_enum_switch_asr_flag_t__switch_status_t(IntPtr cPtr, bool futureUse) {\r
+ internal SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) {\r
swigCPtr = new HandleRef(this, cPtr);\r
}\r
\r
- protected SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_enum_switch_asr_flag_t__switch_status_t() {\r
+ protected SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t() {\r
swigCPtr = new HandleRef(null, IntPtr.Zero);\r
}\r
\r
- internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_enum_switch_asr_flag_t__switch_status_t obj) {\r
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t obj) {\r
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;\r
}\r
}\r
using System;\r
using System.Runtime.InteropServices;\r
\r
-public class SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_enum_switch_asr_flag_t__switch_status_t {\r
+public class SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t {\r
private HandleRef swigCPtr;\r
\r
- internal SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_enum_switch_asr_flag_t__switch_status_t(IntPtr cPtr, bool futureUse) {\r
+ internal SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) {\r
swigCPtr = new HandleRef(this, cPtr);\r
}\r
\r
- protected SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_enum_switch_asr_flag_t__switch_status_t() {\r
+ protected SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t() {\r
swigCPtr = new HandleRef(null, IntPtr.Zero);\r
}\r
\r
- internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_enum_switch_asr_flag_t__switch_status_t obj) {\r
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t obj) {\r
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;\r
}\r
}\r
using System;\r
using System.Runtime.InteropServices;\r
\r
-public class SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_flag_t_p_q_const__switch_codec_settings__switch_status_t {\r
+public class SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t {\r
private HandleRef swigCPtr;\r
\r
- internal SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_flag_t_p_q_const__switch_codec_settings__switch_status_t(IntPtr cPtr, bool futureUse) {\r
+ internal SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t(IntPtr cPtr, bool futureUse) {\r
swigCPtr = new HandleRef(this, cPtr);\r
}\r
\r
- protected SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_flag_t_p_q_const__switch_codec_settings__switch_status_t() {\r
+ protected SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t() {\r
swigCPtr = new HandleRef(null, IntPtr.Zero);\r
}\r
\r
- internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_flag_t_p_q_const__switch_codec_settings__switch_status_t obj) {\r
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t obj) {\r
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;\r
}\r
}\r
using System;\r
using System.Runtime.InteropServices;\r
\r
-public class SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t {\r
+public class SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t {\r
private HandleRef swigCPtr;\r
\r
- internal SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t(IntPtr cPtr, bool futureUse) {\r
+ internal SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(IntPtr cPtr, bool futureUse) {\r
swigCPtr = new HandleRef(this, cPtr);\r
}\r
\r
- protected SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t() {\r
+ protected SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t() {\r
swigCPtr = new HandleRef(null, IntPtr.Zero);\r
}\r
\r
- internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t obj) {\r
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t obj) {\r
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;\r
}\r
}\r
using System;\r
using System.Runtime.InteropServices;\r
\r
-public class SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_enum_switch_originate_flag_t__switch_call_cause_t {\r
+public class SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t {\r
private HandleRef swigCPtr;\r
\r
- internal SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_enum_switch_originate_flag_t__switch_call_cause_t(IntPtr cPtr, bool futureUse) {\r
+ internal SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t(IntPtr cPtr, bool futureUse) {\r
swigCPtr = new HandleRef(this, cPtr);\r
}\r
\r
- protected SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_enum_switch_originate_flag_t__switch_call_cause_t() {\r
+ protected SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t() {\r
swigCPtr = new HandleRef(null, IntPtr.Zero);\r
}\r
\r
- internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_enum_switch_originate_flag_t__switch_call_cause_t obj) {\r
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t obj) {\r
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;\r
}\r
}\r
using System;\r
using System.Runtime.InteropServices;\r
\r
-public class SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_enum_switch_originate_flag_t__switch_status_t {\r
+public class SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t {\r
private HandleRef swigCPtr;\r
\r
- internal SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_enum_switch_originate_flag_t__switch_status_t(IntPtr cPtr, bool futureUse) {\r
+ internal SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) {\r
swigCPtr = new HandleRef(this, cPtr);\r
}\r
\r
- protected SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_enum_switch_originate_flag_t__switch_status_t() {\r
+ protected SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t() {\r
swigCPtr = new HandleRef(null, IntPtr.Zero);\r
}\r
\r
- internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_enum_switch_originate_flag_t__switch_status_t obj) {\r
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t obj) {\r
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;\r
}\r
}\r
using System;\r
using System.Runtime.InteropServices;\r
\r
-public class SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t {\r
+public class SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t {\r
private HandleRef swigCPtr;\r
\r
- internal SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t(IntPtr cPtr, bool futureUse) {\r
+ internal SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(IntPtr cPtr, bool futureUse) {\r
swigCPtr = new HandleRef(this, cPtr);\r
}\r
\r
- protected SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t() {\r
+ protected SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t() {\r
swigCPtr = new HandleRef(null, IntPtr.Zero);\r
}\r
\r
- internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t obj) {\r
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t obj) {\r
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;\r
}\r
}\r
using System;\r
using System.Runtime.InteropServices;\r
\r
-public class SWIGTYPE_p_f_p_switch_speech_handle_p_enum_switch_speech_flag_t__switch_status_t {\r
+public class SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t {\r
private HandleRef swigCPtr;\r
\r
- internal SWIGTYPE_p_f_p_switch_speech_handle_p_enum_switch_speech_flag_t__switch_status_t(IntPtr cPtr, bool futureUse) {\r
+ internal SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) {\r
swigCPtr = new HandleRef(this, cPtr);\r
}\r
\r
- protected SWIGTYPE_p_f_p_switch_speech_handle_p_enum_switch_speech_flag_t__switch_status_t() {\r
+ protected SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t() {\r
swigCPtr = new HandleRef(null, IntPtr.Zero);\r
}\r
\r
- internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_enum_switch_speech_flag_t__switch_status_t obj) {\r
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t obj) {\r
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;\r
}\r
}\r
using System;\r
using System.Runtime.InteropServices;\r
\r
-public class SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_enum_switch_speech_flag_t__switch_status_t {\r
+public class SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t {\r
private HandleRef swigCPtr;\r
\r
- internal SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_enum_switch_speech_flag_t__switch_status_t(IntPtr cPtr, bool futureUse) {\r
+ internal SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) {\r
swigCPtr = new HandleRef(this, cPtr);\r
}\r
\r
- protected SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_enum_switch_speech_flag_t__switch_status_t() {\r
+ protected SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t() {\r
swigCPtr = new HandleRef(null, IntPtr.Zero);\r
}\r
\r
- internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_enum_switch_speech_flag_t__switch_status_t obj) {\r
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t obj) {\r
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;\r
}\r
}\r
using System;\r
using System.Runtime.InteropServices;\r
\r
-public class SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_enum_switch_speech_flag_t__switch_status_t {\r
+public class SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t {\r
private HandleRef swigCPtr;\r
\r
- internal SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_enum_switch_speech_flag_t__switch_status_t(IntPtr cPtr, bool futureUse) {\r
+ internal SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) {\r
swigCPtr = new HandleRef(this, cPtr);\r
}\r
\r
- protected SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_enum_switch_speech_flag_t__switch_status_t() {\r
+ protected SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t() {\r
swigCPtr = new HandleRef(null, IntPtr.Zero);\r
}\r
\r
- internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_enum_switch_speech_flag_t__switch_status_t obj) {\r
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t obj) {\r
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;\r
}\r
}\r
using System;\r
using System.Runtime.InteropServices;\r
\r
-public class SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_enum_switch_speech_flag_t__switch_status_t {\r
+public class SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_unsigned_long__switch_status_t {\r
private HandleRef swigCPtr;\r
\r
- internal SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_enum_switch_speech_flag_t__switch_status_t(IntPtr cPtr, bool futureUse) {\r
+ internal SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) {\r
swigCPtr = new HandleRef(this, cPtr);\r
}\r
\r
- protected SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_enum_switch_speech_flag_t__switch_status_t() {\r
+ protected SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_unsigned_long__switch_status_t() {\r
swigCPtr = new HandleRef(null, IntPtr.Zero);\r
}\r
\r
- internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_enum_switch_speech_flag_t__switch_status_t obj) {\r
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_unsigned_long__switch_status_t obj) {\r
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;\r
}\r
}\r
+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 1.3.35\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-using System;\r
-using System.Runtime.InteropServices;\r
-\r
-public class SWIGTYPE_p_switch_asr_flag_t {\r
- private HandleRef swigCPtr;\r
-\r
- internal SWIGTYPE_p_switch_asr_flag_t(IntPtr cPtr, bool futureUse) {\r
- swigCPtr = new HandleRef(this, cPtr);\r
- }\r
-\r
- protected SWIGTYPE_p_switch_asr_flag_t() {\r
- swigCPtr = new HandleRef(null, IntPtr.Zero);\r
- }\r
-\r
- internal static HandleRef getCPtr(SWIGTYPE_p_switch_asr_flag_t obj) {\r
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;\r
- }\r
-}\r
-\r
-}\r
+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 1.3.35\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-using System;\r
-using System.Runtime.InteropServices;\r
-\r
-public class SWIGTYPE_p_switch_frame_flag_t {\r
- private HandleRef swigCPtr;\r
-\r
- internal SWIGTYPE_p_switch_frame_flag_t(IntPtr cPtr, bool futureUse) {\r
- swigCPtr = new HandleRef(this, cPtr);\r
- }\r
-\r
- protected SWIGTYPE_p_switch_frame_flag_t() {\r
- swigCPtr = new HandleRef(null, IntPtr.Zero);\r
- }\r
-\r
- internal static HandleRef getCPtr(SWIGTYPE_p_switch_frame_flag_t obj) {\r
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;\r
- }\r
-}\r
-\r
-}\r
+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 1.3.35\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-using System;\r
-using System.Runtime.InteropServices;\r
-\r
-public class SWIGTYPE_p_switch_speech_flag_t {\r
- private HandleRef swigCPtr;\r
-\r
- internal SWIGTYPE_p_switch_speech_flag_t(IntPtr cPtr, bool futureUse) {\r
- swigCPtr = new HandleRef(this, cPtr);\r
- }\r
-\r
- protected SWIGTYPE_p_switch_speech_flag_t() {\r
- swigCPtr = new HandleRef(null, IntPtr.Zero);\r
- }\r
-\r
- internal static HandleRef getCPtr(SWIGTYPE_p_switch_speech_flag_t obj) {\r
- return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;\r
- }\r
-}\r
-\r
-}\r
return ret;\r
}\r
\r
- public static switch_status_t switch_core_media_bug_add(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t callback, SWIGTYPE_p_void user_data, SWIGTYPE_p_time_t stop_time, switch_media_bug_flag_t flags, SWIGTYPE_p_p_switch_media_bug new_bug) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_add(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t.getCPtr(callback), SWIGTYPE_p_void.getCPtr(user_data), SWIGTYPE_p_time_t.getCPtr(stop_time), (int)flags, SWIGTYPE_p_p_switch_media_bug.getCPtr(new_bug));\r
+ public static switch_status_t switch_core_media_bug_add(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t callback, SWIGTYPE_p_void user_data, SWIGTYPE_p_time_t stop_time, uint flags, SWIGTYPE_p_p_switch_media_bug new_bug) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_add(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t.getCPtr(callback), SWIGTYPE_p_void.getCPtr(user_data), SWIGTYPE_p_time_t.getCPtr(stop_time), flags, SWIGTYPE_p_p_switch_media_bug.getCPtr(new_bug));\r
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();\r
return ret;\r
}\r
return ret;\r
}\r
\r
- public static switch_status_t switch_core_port_allocator_new(ushort start, ushort end, switch_port_flag_t flags, SWIGTYPE_p_p_switch_core_port_allocator new_allocator) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_port_allocator_new(start, end, (int)flags, SWIGTYPE_p_p_switch_core_port_allocator.getCPtr(new_allocator));\r
+ public static switch_status_t switch_core_port_allocator_new(ushort start, ushort end, uint flags, SWIGTYPE_p_p_switch_core_port_allocator new_allocator) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_port_allocator_new(start, end, flags, SWIGTYPE_p_p_switch_core_port_allocator.getCPtr(new_allocator));\r
return ret;\r
}\r
\r
freeswitchPINVOKE.switch_core_port_allocator_destroy(SWIGTYPE_p_p_switch_core_port_allocator.getCPtr(alloc));\r
}\r
\r
- public static switch_status_t switch_core_init(switch_core_flag_t flags, switch_bool_t console, SWIGTYPE_p_p_char err) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_init((int)flags, (int)console, SWIGTYPE_p_p_char.getCPtr(err));\r
+ public static switch_status_t switch_core_init(uint flags, switch_bool_t console, SWIGTYPE_p_p_char err) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_init(flags, (int)console, SWIGTYPE_p_p_char.getCPtr(err));\r
return ret;\r
}\r
\r
- public static switch_status_t switch_core_init_and_modload(switch_core_flag_t flags, switch_bool_t console, SWIGTYPE_p_p_char err) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_init_and_modload((int)flags, (int)console, SWIGTYPE_p_p_char.getCPtr(err));\r
+ public static switch_status_t switch_core_init_and_modload(uint flags, switch_bool_t console, SWIGTYPE_p_p_char err) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_init_and_modload(flags, (int)console, SWIGTYPE_p_p_char.getCPtr(err));\r
return ret;\r
}\r
\r
freeswitchPINVOKE.switch_core_service_session(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_core_thread_session.getCPtr(thread_session), stream_id);\r
}\r
\r
- public static switch_call_cause_t switch_core_session_outgoing_channel(SWIGTYPE_p_switch_core_session session, switch_event var_event, string endpoint_name, switch_caller_profile caller_profile, SWIGTYPE_p_p_switch_core_session new_session, SWIGTYPE_p_p_apr_pool_t pool, switch_originate_flag_t flags) {\r
- switch_call_cause_t ret = (switch_call_cause_t)freeswitchPINVOKE.switch_core_session_outgoing_channel(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_event.getCPtr(var_event), endpoint_name, switch_caller_profile.getCPtr(caller_profile), SWIGTYPE_p_p_switch_core_session.getCPtr(new_session), SWIGTYPE_p_p_apr_pool_t.getCPtr(pool), (int)flags);\r
+ public static switch_call_cause_t switch_core_session_outgoing_channel(SWIGTYPE_p_switch_core_session session, switch_event var_event, string endpoint_name, switch_caller_profile caller_profile, SWIGTYPE_p_p_switch_core_session new_session, SWIGTYPE_p_p_apr_pool_t pool, uint flags) {\r
+ switch_call_cause_t ret = (switch_call_cause_t)freeswitchPINVOKE.switch_core_session_outgoing_channel(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_event.getCPtr(var_event), endpoint_name, switch_caller_profile.getCPtr(caller_profile), SWIGTYPE_p_p_switch_core_session.getCPtr(new_session), SWIGTYPE_p_p_apr_pool_t.getCPtr(pool), flags);\r
return ret;\r
}\r
\r
return ret;\r
}\r
\r
- public static switch_status_t switch_core_session_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_frame frame, switch_io_flag_t flags, int stream_id) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_frame.getCPtr(frame), (int)flags, stream_id);\r
+ public static switch_status_t switch_core_session_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_frame frame, uint flags, int stream_id) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_frame.getCPtr(frame), flags, stream_id);\r
return ret;\r
}\r
\r
- public static switch_status_t switch_core_session_read_video_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_frame frame, switch_io_flag_t flags, int stream_id) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_read_video_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_frame.getCPtr(frame), (int)flags, stream_id);\r
+ public static switch_status_t switch_core_session_read_video_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_frame frame, uint flags, int stream_id) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_read_video_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_frame.getCPtr(frame), flags, stream_id);\r
return ret;\r
}\r
\r
- public static switch_status_t switch_core_session_write_video_frame(SWIGTYPE_p_switch_core_session session, switch_frame frame, switch_io_flag_t flags, int stream_id) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_write_video_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_frame.getCPtr(frame), (int)flags, stream_id);\r
+ public static switch_status_t switch_core_session_write_video_frame(SWIGTYPE_p_switch_core_session session, switch_frame frame, uint flags, int stream_id) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_write_video_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_frame.getCPtr(frame), flags, stream_id);\r
return ret;\r
}\r
\r
freeswitchPINVOKE.switch_core_session_reset(SWIGTYPE_p_switch_core_session.getCPtr(session), (int)flush_dtmf);\r
}\r
\r
- public static switch_status_t switch_core_session_write_frame(SWIGTYPE_p_switch_core_session session, switch_frame frame, switch_io_flag_t flags, int stream_id) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_write_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_frame.getCPtr(frame), (int)flags, stream_id);\r
+ public static switch_status_t switch_core_session_write_frame(SWIGTYPE_p_switch_core_session session, switch_frame frame, uint flags, int stream_id) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_write_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_frame.getCPtr(frame), flags, stream_id);\r
return ret;\r
}\r
\r
return ret;\r
}\r
\r
- public static switch_status_t switch_core_speech_open(switch_speech_handle sh, string module_name, string voice_name, uint rate, uint interval, SWIGTYPE_p_switch_speech_flag_t flags, SWIGTYPE_p_apr_pool_t pool) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_speech_open(switch_speech_handle.getCPtr(sh), module_name, voice_name, rate, interval, SWIGTYPE_p_switch_speech_flag_t.getCPtr(flags), SWIGTYPE_p_apr_pool_t.getCPtr(pool));\r
+ public static switch_status_t switch_core_speech_open(switch_speech_handle sh, string module_name, string voice_name, uint rate, uint interval, SWIGTYPE_p_unsigned_long flags, SWIGTYPE_p_apr_pool_t pool) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_speech_open(switch_speech_handle.getCPtr(sh), module_name, voice_name, rate, interval, SWIGTYPE_p_unsigned_long.getCPtr(flags), SWIGTYPE_p_apr_pool_t.getCPtr(pool));\r
return ret;\r
}\r
\r
- public static switch_status_t switch_core_speech_feed_tts(switch_speech_handle sh, string text, SWIGTYPE_p_switch_speech_flag_t flags) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_speech_feed_tts(switch_speech_handle.getCPtr(sh), text, SWIGTYPE_p_switch_speech_flag_t.getCPtr(flags));\r
+ public static switch_status_t switch_core_speech_feed_tts(switch_speech_handle sh, string text, SWIGTYPE_p_unsigned_long flags) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_speech_feed_tts(switch_speech_handle.getCPtr(sh), text, SWIGTYPE_p_unsigned_long.getCPtr(flags));\r
return ret;\r
}\r
\r
freeswitchPINVOKE.switch_core_speech_float_param_tts(switch_speech_handle.getCPtr(sh), param, val);\r
}\r
\r
- public static switch_status_t switch_core_speech_read_tts(switch_speech_handle sh, SWIGTYPE_p_void data, SWIGTYPE_p_switch_size_t datalen, SWIGTYPE_p_unsigned_long rate, SWIGTYPE_p_switch_speech_flag_t flags) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_speech_read_tts(switch_speech_handle.getCPtr(sh), SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_switch_size_t.getCPtr(datalen), SWIGTYPE_p_unsigned_long.getCPtr(rate), SWIGTYPE_p_switch_speech_flag_t.getCPtr(flags));\r
+ public static switch_status_t switch_core_speech_read_tts(switch_speech_handle sh, SWIGTYPE_p_void data, SWIGTYPE_p_switch_size_t datalen, SWIGTYPE_p_unsigned_long rate, SWIGTYPE_p_unsigned_long flags) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_speech_read_tts(switch_speech_handle.getCPtr(sh), SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_switch_size_t.getCPtr(datalen), SWIGTYPE_p_unsigned_long.getCPtr(rate), SWIGTYPE_p_unsigned_long.getCPtr(flags));\r
return ret;\r
}\r
\r
- public static switch_status_t switch_core_speech_close(switch_speech_handle sh, SWIGTYPE_p_switch_speech_flag_t flags) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_speech_close(switch_speech_handle.getCPtr(sh), SWIGTYPE_p_switch_speech_flag_t.getCPtr(flags));\r
+ public static switch_status_t switch_core_speech_close(switch_speech_handle sh, SWIGTYPE_p_unsigned_long flags) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_speech_close(switch_speech_handle.getCPtr(sh), SWIGTYPE_p_unsigned_long.getCPtr(flags));\r
return ret;\r
}\r
\r
- public static switch_status_t switch_core_asr_open(switch_asr_handle ah, string module_name, string codec, int rate, string dest, SWIGTYPE_p_switch_asr_flag_t flags, SWIGTYPE_p_apr_pool_t pool) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_open(switch_asr_handle.getCPtr(ah), module_name, codec, rate, dest, SWIGTYPE_p_switch_asr_flag_t.getCPtr(flags), SWIGTYPE_p_apr_pool_t.getCPtr(pool));\r
+ public static switch_status_t switch_core_asr_open(switch_asr_handle ah, string module_name, string codec, int rate, string dest, SWIGTYPE_p_unsigned_long flags, SWIGTYPE_p_apr_pool_t pool) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_open(switch_asr_handle.getCPtr(ah), module_name, codec, rate, dest, SWIGTYPE_p_unsigned_long.getCPtr(flags), SWIGTYPE_p_apr_pool_t.getCPtr(pool));\r
return ret;\r
}\r
\r
- public static switch_status_t switch_core_asr_close(switch_asr_handle ah, SWIGTYPE_p_switch_asr_flag_t flags) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_close(switch_asr_handle.getCPtr(ah), SWIGTYPE_p_switch_asr_flag_t.getCPtr(flags));\r
+ public static switch_status_t switch_core_asr_close(switch_asr_handle ah, SWIGTYPE_p_unsigned_long flags) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_close(switch_asr_handle.getCPtr(ah), SWIGTYPE_p_unsigned_long.getCPtr(flags));\r
return ret;\r
}\r
\r
- public static switch_status_t switch_core_asr_feed(switch_asr_handle ah, SWIGTYPE_p_void data, uint len, SWIGTYPE_p_switch_asr_flag_t flags) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_feed(switch_asr_handle.getCPtr(ah), SWIGTYPE_p_void.getCPtr(data), len, SWIGTYPE_p_switch_asr_flag_t.getCPtr(flags));\r
+ public static switch_status_t switch_core_asr_feed(switch_asr_handle ah, SWIGTYPE_p_void data, uint len, SWIGTYPE_p_unsigned_long flags) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_feed(switch_asr_handle.getCPtr(ah), SWIGTYPE_p_void.getCPtr(data), len, SWIGTYPE_p_unsigned_long.getCPtr(flags));\r
return ret;\r
}\r
\r
- public static switch_status_t switch_core_asr_check_results(switch_asr_handle ah, SWIGTYPE_p_switch_asr_flag_t flags) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_check_results(switch_asr_handle.getCPtr(ah), SWIGTYPE_p_switch_asr_flag_t.getCPtr(flags));\r
+ public static switch_status_t switch_core_asr_check_results(switch_asr_handle ah, SWIGTYPE_p_unsigned_long flags) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_check_results(switch_asr_handle.getCPtr(ah), SWIGTYPE_p_unsigned_long.getCPtr(flags));\r
return ret;\r
}\r
\r
- public static switch_status_t switch_core_asr_get_results(switch_asr_handle ah, SWIGTYPE_p_p_char xmlstr, SWIGTYPE_p_switch_asr_flag_t flags) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_get_results(switch_asr_handle.getCPtr(ah), SWIGTYPE_p_p_char.getCPtr(xmlstr), SWIGTYPE_p_switch_asr_flag_t.getCPtr(flags));\r
+ public static switch_status_t switch_core_asr_get_results(switch_asr_handle ah, SWIGTYPE_p_p_char xmlstr, SWIGTYPE_p_unsigned_long flags) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_get_results(switch_asr_handle.getCPtr(ah), SWIGTYPE_p_p_char.getCPtr(xmlstr), SWIGTYPE_p_unsigned_long.getCPtr(flags));\r
return ret;\r
}\r
\r
return ret;\r
}\r
\r
- public static switch_core_flag_t switch_core_flags() {\r
- switch_core_flag_t ret = (switch_core_flag_t)freeswitchPINVOKE.switch_core_flags();\r
+ public static uint switch_core_flags() {\r
+ uint ret = freeswitchPINVOKE.switch_core_flags();\r
return ret;\r
}\r
\r
freeswitchPINVOKE.switch_channel_wait_for_state(SWIGTYPE_p_switch_channel.getCPtr(channel), SWIGTYPE_p_switch_channel.getCPtr(other_channel), (int)want_state);\r
}\r
\r
- public static switch_status_t switch_channel_wait_for_flag(SWIGTYPE_p_switch_channel channel, switch_channel_flag_t want_flag, switch_bool_t pres, uint to) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_wait_for_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)want_flag, (int)pres, to);\r
+ public static switch_status_t switch_channel_wait_for_flag(SWIGTYPE_p_switch_channel channel, uint want_flag, switch_bool_t pres, uint to) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_wait_for_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), want_flag, (int)pres, to);\r
return ret;\r
}\r
\r
return ret;\r
}\r
\r
- public static uint switch_channel_test_flag(SWIGTYPE_p_switch_channel channel, switch_channel_flag_t flags) {\r
- uint ret = freeswitchPINVOKE.switch_channel_test_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)flags);\r
+ public static uint switch_channel_test_flag(SWIGTYPE_p_switch_channel channel, uint flags) {\r
+ uint ret = freeswitchPINVOKE.switch_channel_test_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), flags);\r
return ret;\r
}\r
\r
- public static void switch_channel_set_flag(SWIGTYPE_p_switch_channel channel, switch_channel_flag_t flags) {\r
- freeswitchPINVOKE.switch_channel_set_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)flags);\r
+ public static void switch_channel_set_flag(SWIGTYPE_p_switch_channel channel, uint flags) {\r
+ freeswitchPINVOKE.switch_channel_set_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), flags);\r
}\r
\r
- public static switch_bool_t switch_channel_set_flag_partner(SWIGTYPE_p_switch_channel channel, switch_channel_flag_t flags) {\r
- switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_channel_set_flag_partner(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)flags);\r
+ public static switch_bool_t switch_channel_set_flag_partner(SWIGTYPE_p_switch_channel channel, uint flags) {\r
+ switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_channel_set_flag_partner(SWIGTYPE_p_switch_channel.getCPtr(channel), flags);\r
return ret;\r
}\r
\r
- public static switch_bool_t switch_channel_clear_flag_partner(SWIGTYPE_p_switch_channel channel, switch_channel_flag_t flags) {\r
- switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_channel_clear_flag_partner(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)flags);\r
+ public static switch_bool_t switch_channel_clear_flag_partner(SWIGTYPE_p_switch_channel channel, uint flags) {\r
+ switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_channel_clear_flag_partner(SWIGTYPE_p_switch_channel.getCPtr(channel), flags);\r
return ret;\r
}\r
\r
- public static void switch_channel_set_state_flag(SWIGTYPE_p_switch_channel channel, switch_channel_flag_t flags) {\r
- freeswitchPINVOKE.switch_channel_set_state_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)flags);\r
+ public static void switch_channel_set_state_flag(SWIGTYPE_p_switch_channel channel, uint flags) {\r
+ freeswitchPINVOKE.switch_channel_set_state_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), flags);\r
}\r
\r
- public static void switch_channel_clear_flag(SWIGTYPE_p_switch_channel channel, switch_channel_flag_t flags) {\r
- freeswitchPINVOKE.switch_channel_clear_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)flags);\r
+ public static void switch_channel_clear_flag(SWIGTYPE_p_switch_channel channel, uint flags) {\r
+ freeswitchPINVOKE.switch_channel_clear_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), flags);\r
}\r
\r
public static switch_status_t switch_channel_perform_answer(SWIGTYPE_p_switch_channel channel, string file, string func, int line) {\r
return ret;\r
}\r
\r
- public static switch_status_t switch_ivr_eavesdrop_session(SWIGTYPE_p_switch_core_session session, string uuid, string require_group, switch_eavesdrop_flag_t flags) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_eavesdrop_session(SWIGTYPE_p_switch_core_session.getCPtr(session), uuid, require_group, (int)flags);\r
+ public static switch_status_t switch_ivr_eavesdrop_session(SWIGTYPE_p_switch_core_session session, string uuid, string require_group, uint flags) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_eavesdrop_session(SWIGTYPE_p_switch_core_session.getCPtr(session), uuid, require_group, flags);\r
return ret;\r
}\r
\r
return ret;\r
}\r
\r
- public static switch_status_t switch_ivr_originate(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_core_session bleg, SWIGTYPE_p_switch_call_cause_t cause, string bridgeto, uint timelimit_sec, switch_state_handler_table table, string cid_name_override, string cid_num_override, switch_caller_profile caller_profile_override, switch_originate_flag_t flags) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_originate(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_core_session.getCPtr(bleg), SWIGTYPE_p_switch_call_cause_t.getCPtr(cause), bridgeto, timelimit_sec, switch_state_handler_table.getCPtr(table), cid_name_override, cid_num_override, switch_caller_profile.getCPtr(caller_profile_override), (int)flags);\r
+ public static switch_status_t switch_ivr_originate(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_core_session bleg, SWIGTYPE_p_switch_call_cause_t cause, string bridgeto, uint timelimit_sec, switch_state_handler_table table, string cid_name_override, string cid_num_override, switch_caller_profile caller_profile_override, uint flags) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_originate(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_core_session.getCPtr(bleg), SWIGTYPE_p_switch_call_cause_t.getCPtr(cause), bridgeto, timelimit_sec, switch_state_handler_table.getCPtr(table), cid_name_override, cid_num_override, switch_caller_profile.getCPtr(caller_profile_override), flags);\r
return ret;\r
}\r
\r
return ret;\r
}\r
\r
- public static switch_status_t switch_ivr_media(string uuid, switch_media_flag_t flags) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_media(uuid, (int)flags);\r
+ public static switch_status_t switch_ivr_media(string uuid, uint flags) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_media(uuid, flags);\r
return ret;\r
}\r
\r
- public static switch_status_t switch_ivr_nomedia(string uuid, switch_media_flag_t flags) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_nomedia(uuid, (int)flags);\r
+ public static switch_status_t switch_ivr_nomedia(string uuid, uint flags) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_nomedia(uuid, flags);\r
return ret;\r
}\r
\r
return ret;\r
}\r
\r
- public static uint switch_ivr_schedule_broadcast(SWIGTYPE_p_time_t runtime, string uuid, string path, switch_media_flag_t flags) {\r
- uint ret = freeswitchPINVOKE.switch_ivr_schedule_broadcast(SWIGTYPE_p_time_t.getCPtr(runtime), uuid, path, (int)flags);\r
+ public static uint switch_ivr_schedule_broadcast(SWIGTYPE_p_time_t runtime, string uuid, string path, uint flags) {\r
+ uint ret = freeswitchPINVOKE.switch_ivr_schedule_broadcast(SWIGTYPE_p_time_t.getCPtr(runtime), uuid, path, flags);\r
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();\r
return ret;\r
}\r
\r
- public static switch_status_t switch_ivr_broadcast(string uuid, string path, switch_media_flag_t flags) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_broadcast(uuid, path, (int)flags);\r
+ public static switch_status_t switch_ivr_broadcast(string uuid, string path, uint flags) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_broadcast(uuid, path, flags);\r
return ret;\r
}\r
\r
return ret;\r
}\r
\r
- public static switch_status_t switch_ivr_bind_dtmf_meta_session(SWIGTYPE_p_switch_core_session session, uint key, switch_bind_flag_t bind_flags, string app) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_bind_dtmf_meta_session(SWIGTYPE_p_switch_core_session.getCPtr(session), key, (int)bind_flags, app);\r
+ public static switch_status_t switch_ivr_bind_dtmf_meta_session(SWIGTYPE_p_switch_core_session session, uint key, uint bind_flags, string app) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_bind_dtmf_meta_session(SWIGTYPE_p_switch_core_session.getCPtr(session), key, bind_flags, app);\r
return ret;\r
}\r
\r
freeswitchPINVOKE.switch_rtp_release_port(ip, port);\r
}\r
\r
- public static switch_status_t switch_rtp_create(SWIGTYPE_p_p_switch_rtp new_rtp_session, byte payload, uint samples_per_interval, uint ms_per_packet, switch_rtp_flag_t flags, string timer_name, SWIGTYPE_p_p_char err, SWIGTYPE_p_apr_pool_t pool) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_create(SWIGTYPE_p_p_switch_rtp.getCPtr(new_rtp_session), payload, samples_per_interval, ms_per_packet, (int)flags, timer_name, SWIGTYPE_p_p_char.getCPtr(err), SWIGTYPE_p_apr_pool_t.getCPtr(pool));\r
+ public static switch_status_t switch_rtp_create(SWIGTYPE_p_p_switch_rtp new_rtp_session, byte payload, uint samples_per_interval, uint ms_per_packet, uint flags, string timer_name, SWIGTYPE_p_p_char err, SWIGTYPE_p_apr_pool_t pool) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_create(SWIGTYPE_p_p_switch_rtp.getCPtr(new_rtp_session), payload, samples_per_interval, ms_per_packet, flags, timer_name, SWIGTYPE_p_p_char.getCPtr(err), SWIGTYPE_p_apr_pool_t.getCPtr(pool));\r
return ret;\r
}\r
\r
- public static SWIGTYPE_p_switch_rtp switch_rtp_new(string rx_host, ushort rx_port, string tx_host, ushort tx_port, byte payload, uint samples_per_interval, uint ms_per_packet, switch_rtp_flag_t flags, string timer_name, SWIGTYPE_p_p_char err, SWIGTYPE_p_apr_pool_t pool) {\r
- IntPtr cPtr = freeswitchPINVOKE.switch_rtp_new(rx_host, rx_port, tx_host, tx_port, payload, samples_per_interval, ms_per_packet, (int)flags, timer_name, SWIGTYPE_p_p_char.getCPtr(err), SWIGTYPE_p_apr_pool_t.getCPtr(pool));\r
+ public static SWIGTYPE_p_switch_rtp switch_rtp_new(string rx_host, ushort rx_port, string tx_host, ushort tx_port, byte payload, uint samples_per_interval, uint ms_per_packet, uint flags, string timer_name, SWIGTYPE_p_p_char err, SWIGTYPE_p_apr_pool_t pool) {\r
+ IntPtr cPtr = freeswitchPINVOKE.switch_rtp_new(rx_host, rx_port, tx_host, tx_port, payload, samples_per_interval, ms_per_packet, flags, timer_name, SWIGTYPE_p_p_char.getCPtr(err), SWIGTYPE_p_apr_pool_t.getCPtr(pool));\r
SWIGTYPE_p_switch_rtp ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_rtp(cPtr, false);\r
return ret;\r
}\r
return ret;\r
}\r
\r
- public static void switch_rtp_set_flag(SWIGTYPE_p_switch_rtp rtp_session, switch_rtp_flag_t flags) {\r
- freeswitchPINVOKE.switch_rtp_set_flag(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), (int)flags);\r
+ public static void switch_rtp_set_flag(SWIGTYPE_p_switch_rtp rtp_session, uint flags) {\r
+ freeswitchPINVOKE.switch_rtp_set_flag(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), flags);\r
}\r
\r
- public static uint switch_rtp_test_flag(SWIGTYPE_p_switch_rtp rtp_session, switch_rtp_flag_t flags) {\r
- uint ret = freeswitchPINVOKE.switch_rtp_test_flag(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), (int)flags);\r
+ public static uint switch_rtp_test_flag(SWIGTYPE_p_switch_rtp rtp_session, uint flags) {\r
+ uint ret = freeswitchPINVOKE.switch_rtp_test_flag(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), flags);\r
return ret;\r
}\r
\r
- public static void switch_rtp_clear_flag(SWIGTYPE_p_switch_rtp rtp_session, switch_rtp_flag_t flags) {\r
- freeswitchPINVOKE.switch_rtp_clear_flag(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), (int)flags);\r
+ public static void switch_rtp_clear_flag(SWIGTYPE_p_switch_rtp rtp_session, uint flags) {\r
+ freeswitchPINVOKE.switch_rtp_clear_flag(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), flags);\r
}\r
\r
public static SWIGTYPE_p_switch_socket_t switch_rtp_get_rtp_socket(SWIGTYPE_p_switch_rtp rtp_session) {\r
freeswitchPINVOKE.switch_rtp_set_invald_handler(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_f_p_switch_rtp_p_switch_socket_t_p_void_switch_size_t_p_switch_sockaddr_t__void.getCPtr(on_invalid));\r
}\r
\r
- public static switch_status_t switch_rtp_read(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_void data, SWIGTYPE_p_unsigned_long datalen, SWIGTYPE_p_unsigned_char payload_type, SWIGTYPE_p_switch_frame_flag_t flags, switch_io_flag_t io_flags) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_read(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_unsigned_long.getCPtr(datalen), SWIGTYPE_p_unsigned_char.getCPtr(payload_type), SWIGTYPE_p_switch_frame_flag_t.getCPtr(flags), (int)io_flags);\r
+ public static switch_status_t switch_rtp_read(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_void data, SWIGTYPE_p_unsigned_long datalen, SWIGTYPE_p_unsigned_char payload_type, SWIGTYPE_p_unsigned_long flags, uint io_flags) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_read(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_unsigned_long.getCPtr(datalen), SWIGTYPE_p_unsigned_char.getCPtr(payload_type), SWIGTYPE_p_unsigned_long.getCPtr(flags), io_flags);\r
return ret;\r
}\r
\r
return ret;\r
}\r
\r
- public static switch_status_t switch_rtp_zerocopy_read(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_p_void data, SWIGTYPE_p_unsigned_long datalen, SWIGTYPE_p_unsigned_char payload_type, SWIGTYPE_p_switch_frame_flag_t flags, switch_io_flag_t io_flags) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_zerocopy_read(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_p_void.getCPtr(data), SWIGTYPE_p_unsigned_long.getCPtr(datalen), SWIGTYPE_p_unsigned_char.getCPtr(payload_type), SWIGTYPE_p_switch_frame_flag_t.getCPtr(flags), (int)io_flags);\r
+ public static switch_status_t switch_rtp_zerocopy_read(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_p_void data, SWIGTYPE_p_unsigned_long datalen, SWIGTYPE_p_unsigned_char payload_type, SWIGTYPE_p_unsigned_long flags, uint io_flags) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_zerocopy_read(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_p_void.getCPtr(data), SWIGTYPE_p_unsigned_long.getCPtr(datalen), SWIGTYPE_p_unsigned_char.getCPtr(payload_type), SWIGTYPE_p_unsigned_long.getCPtr(flags), io_flags);\r
return ret;\r
}\r
\r
- public static switch_status_t switch_rtp_zerocopy_read_frame(SWIGTYPE_p_switch_rtp rtp_session, switch_frame frame, switch_io_flag_t io_flagsm) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_zerocopy_read_frame(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), switch_frame.getCPtr(frame), (int)io_flagsm);\r
+ public static switch_status_t switch_rtp_zerocopy_read_frame(SWIGTYPE_p_switch_rtp rtp_session, switch_frame frame, uint io_flags) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_zerocopy_read_frame(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), switch_frame.getCPtr(frame), io_flags);\r
return ret;\r
}\r
\r
- public static switch_status_t switch_rtp_enable_vad(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_switch_core_session session, switch_codec codec, switch_vad_flag_t flags) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_enable_vad(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_switch_core_session.getCPtr(session), switch_codec.getCPtr(codec), (int)flags);\r
+ public static switch_status_t switch_rtp_enable_vad(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_switch_core_session session, switch_codec codec, uint flags) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_enable_vad(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_switch_core_session.getCPtr(session), switch_codec.getCPtr(codec), flags);\r
return ret;\r
}\r
\r
return ret;\r
}\r
\r
- public static int switch_rtp_write_manual(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_void data, uint datalen, byte m, byte payload, uint ts, SWIGTYPE_p_switch_frame_flag_t flags) {\r
- int ret = freeswitchPINVOKE.switch_rtp_write_manual(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_void.getCPtr(data), datalen, m, payload, ts, SWIGTYPE_p_switch_frame_flag_t.getCPtr(flags));\r
+ public static int switch_rtp_write_manual(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_void data, uint datalen, byte m, byte payload, uint ts, SWIGTYPE_p_unsigned_long flags) {\r
+ int ret = freeswitchPINVOKE.switch_rtp_write_manual(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_void.getCPtr(data), datalen, m, payload, ts, SWIGTYPE_p_unsigned_long.getCPtr(flags));\r
return ret;\r
}\r
\r
return ret;\r
}\r
\r
- public static switch_status_t switch_xml_bind_search_function(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml function, switch_xml_section_t sections, SWIGTYPE_p_void user_data) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_bind_search_function(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml.getCPtr(function), (int)sections, SWIGTYPE_p_void.getCPtr(user_data));\r
+ public static switch_status_t switch_xml_bind_search_function(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml function, uint sections, SWIGTYPE_p_void user_data) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_bind_search_function(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml.getCPtr(function), sections, SWIGTYPE_p_void.getCPtr(user_data));\r
return ret;\r
}\r
\r
- public static switch_xml_section_t switch_xml_parse_section_string(string str) {\r
- switch_xml_section_t ret = (switch_xml_section_t)freeswitchPINVOKE.switch_xml_parse_section_string(str);\r
+ public static uint switch_xml_parse_section_string(string str) {\r
+ uint ret = freeswitchPINVOKE.switch_xml_parse_section_string(str);\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_enum_switch_originate_flag_t__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_enum_switch_originate_flag_t__switch_status_t.getCPtr(outgoing_channel));\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
}\r
\r
return ret;\r
}\r
\r
- public static switch_status_t switch_core_event_hook_add_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t read_frame) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(read_frame));\r
+ public static switch_status_t switch_core_event_hook_add_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t read_frame) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(read_frame));\r
return ret;\r
}\r
\r
- public static switch_status_t switch_core_event_hook_add_write_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t write_frame) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_write_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(write_frame));\r
+ public static switch_status_t switch_core_event_hook_add_write_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t write_frame) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_write_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(write_frame));\r
return ret;\r
}\r
\r
- public static switch_status_t switch_core_event_hook_add_video_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t video_read_frame) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_video_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(video_read_frame));\r
+ public static switch_status_t switch_core_event_hook_add_video_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t video_read_frame) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_video_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(video_read_frame));\r
return ret;\r
}\r
\r
- public static switch_status_t switch_core_event_hook_add_video_write_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t video_write_frame) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_video_write_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(video_write_frame));\r
+ public static switch_status_t switch_core_event_hook_add_video_write_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t video_write_frame) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_video_write_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(video_write_frame));\r
return ret;\r
}\r
\r
return ret;\r
}\r
\r
- public static switch_status_t switch_core_event_hook_remove_outgoing_channel(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_enum_switch_originate_flag_t__switch_status_t outgoing_channel) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_outgoing_channel(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_enum_switch_originate_flag_t__switch_status_t.getCPtr(outgoing_channel));\r
+ public static switch_status_t switch_core_event_hook_remove_outgoing_channel(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t outgoing_channel) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_outgoing_channel(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t.getCPtr(outgoing_channel));\r
return ret;\r
}\r
\r
return ret;\r
}\r
\r
- public static switch_status_t switch_core_event_hook_remove_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t read_frame) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(read_frame));\r
+ public static switch_status_t switch_core_event_hook_remove_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t read_frame) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(read_frame));\r
return ret;\r
}\r
\r
- public static switch_status_t switch_core_event_hook_remove_write_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t write_frame) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_write_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(write_frame));\r
+ public static switch_status_t switch_core_event_hook_remove_write_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t write_frame) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_write_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(write_frame));\r
return ret;\r
}\r
\r
- public static switch_status_t switch_core_event_hook_remove_video_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t video_read_frame) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_video_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(video_read_frame));\r
+ public static switch_status_t switch_core_event_hook_remove_video_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t video_read_frame) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_video_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(video_read_frame));\r
return ret;\r
}\r
\r
- public static switch_status_t switch_core_event_hook_remove_video_write_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t video_write_frame) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_video_write_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(video_write_frame));\r
+ public static switch_status_t switch_core_event_hook_remove_video_write_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t video_write_frame) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_video_write_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(video_write_frame));\r
return ret;\r
}\r
\r
return ret;\r
}\r
\r
- public static uint switch_scheduler_add_task(SWIGTYPE_p_time_t task_runtime, SWIGTYPE_p_f_p_switch_scheduler_task__void func, string desc, string group, uint cmd_id, SWIGTYPE_p_void cmd_arg, switch_scheduler_flag_t flags) {\r
- uint ret = freeswitchPINVOKE.switch_scheduler_add_task(SWIGTYPE_p_time_t.getCPtr(task_runtime), SWIGTYPE_p_f_p_switch_scheduler_task__void.getCPtr(func), desc, group, cmd_id, SWIGTYPE_p_void.getCPtr(cmd_arg), (int)flags);\r
+ public static uint switch_scheduler_add_task(SWIGTYPE_p_time_t task_runtime, SWIGTYPE_p_f_p_switch_scheduler_task__void func, string desc, string group, uint cmd_id, SWIGTYPE_p_void cmd_arg, uint flags) {\r
+ uint ret = freeswitchPINVOKE.switch_scheduler_add_task(SWIGTYPE_p_time_t.getCPtr(task_runtime), SWIGTYPE_p_f_p_switch_scheduler_task__void.getCPtr(func), desc, group, cmd_id, SWIGTYPE_p_void.getCPtr(cmd_arg), flags);\r
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();\r
return ret;\r
}\r
public static extern IntPtr switch_core_session_message_pointer_reply_size_get(HandleRef jarg1);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_message_flags_set")]\r
- public static extern void switch_core_session_message_flags_set(HandleRef jarg1, int jarg2);\r
+ public static extern void switch_core_session_message_flags_set(HandleRef jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_message_flags_get")]\r
- public static extern int switch_core_session_message_flags_get(HandleRef jarg1);\r
+ public static extern uint switch_core_session_message_flags_get(HandleRef jarg1);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_new_switch_core_session_message")]\r
public static extern IntPtr new_switch_core_session_message();\r
public static extern void delete_switch_core_thread_session(HandleRef jarg1);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_media_bug_add")]\r
- public static extern int switch_core_media_bug_add(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, int jarg5, HandleRef jarg6);\r
+ public static extern int switch_core_media_bug_add(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, uint jarg5, HandleRef jarg6);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_media_bug_get_user_data")]\r
public static extern IntPtr switch_core_media_bug_get_user_data(HandleRef jarg1);\r
public static extern int switch_core_media_bug_read(HandleRef jarg1, HandleRef jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_port_allocator_new")]\r
- public static extern int switch_core_port_allocator_new(ushort jarg1, ushort jarg2, int jarg3, HandleRef jarg4);\r
+ public static extern int switch_core_port_allocator_new(ushort jarg1, ushort jarg2, uint jarg3, HandleRef jarg4);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_port_allocator_request_port")]\r
public static extern int switch_core_port_allocator_request_port(HandleRef jarg1, HandleRef jarg2);\r
public static extern void switch_core_port_allocator_destroy(HandleRef jarg1);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_init")]\r
- public static extern int switch_core_init(int jarg1, int jarg2, HandleRef jarg3);\r
+ public static extern int switch_core_init(uint jarg1, int jarg2, HandleRef jarg3);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_init_and_modload")]\r
- public static extern int switch_core_init_and_modload(int jarg1, int jarg2, HandleRef jarg3);\r
+ public static extern int switch_core_init_and_modload(uint jarg1, int jarg2, HandleRef jarg3);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_limit")]\r
public static extern uint switch_core_session_limit(uint jarg1);\r
public static extern void switch_core_service_session(HandleRef jarg1, HandleRef jarg2, int jarg3);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_outgoing_channel")]\r
- public static extern int switch_core_session_outgoing_channel(HandleRef jarg1, HandleRef jarg2, string jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6, int jarg7);\r
+ public static extern int switch_core_session_outgoing_channel(HandleRef jarg1, HandleRef jarg2, string jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6, uint jarg7);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_resurrect_channel")]\r
public static extern int switch_core_session_resurrect_channel(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4);\r
public static extern uint switch_core_session_flush_private_events(HandleRef jarg1);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_read_frame")]\r
- public static extern int switch_core_session_read_frame(HandleRef jarg1, HandleRef jarg2, int jarg3, int jarg4);\r
+ public static extern int switch_core_session_read_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3, int jarg4);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_read_video_frame")]\r
- public static extern int switch_core_session_read_video_frame(HandleRef jarg1, HandleRef jarg2, int jarg3, int jarg4);\r
+ public static extern int switch_core_session_read_video_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3, int jarg4);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_write_video_frame")]\r
- public static extern int switch_core_session_write_video_frame(HandleRef jarg1, HandleRef jarg2, int jarg3, int jarg4);\r
+ public static extern int switch_core_session_write_video_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3, int jarg4);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_reset")]\r
public static extern void switch_core_session_reset(HandleRef jarg1, int jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_write_frame")]\r
- public static extern int switch_core_session_write_frame(HandleRef jarg1, HandleRef jarg2, int jarg3, int jarg4);\r
+ public static extern int switch_core_session_write_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3, int jarg4);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_perform_kill_channel")]\r
public static extern int switch_core_session_perform_kill_channel(HandleRef jarg1, string jarg2, string jarg3, int jarg4, int jarg5);\r
public static extern int switch_core_ready();\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_flags")]\r
- public static extern int switch_core_flags();\r
+ public static extern uint switch_core_flags();\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_management_exec")]\r
public static extern int switch_core_management_exec(string jarg1, int jarg2, string jarg3, HandleRef jarg4);\r
public static extern string switch_caller_profile_profile_index_get(HandleRef jarg1);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_flags_set")]\r
- public static extern void switch_caller_profile_flags_set(HandleRef jarg1, int jarg2);\r
+ public static extern void switch_caller_profile_flags_set(HandleRef jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_flags_get")]\r
- public static extern int switch_caller_profile_flags_get(HandleRef jarg1);\r
+ public static extern uint switch_caller_profile_flags_get(HandleRef jarg1);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_originator_caller_profile_set")]\r
public static extern void switch_caller_profile_originator_caller_profile_set(HandleRef jarg1, HandleRef jarg2);\r
public static extern int switch_frame_m_get(HandleRef jarg1);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_frame_flags_set")]\r
- public static extern void switch_frame_flags_set(HandleRef jarg1, int jarg2);\r
+ public static extern void switch_frame_flags_set(HandleRef jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_frame_flags_get")]\r
- public static extern int switch_frame_flags_get(HandleRef jarg1);\r
+ public static extern uint switch_frame_flags_get(HandleRef jarg1);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_new_switch_frame")]\r
public static extern IntPtr new_switch_frame();\r
public static extern void switch_channel_wait_for_state(HandleRef jarg1, HandleRef jarg2, int jarg3);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_wait_for_flag")]\r
- public static extern int switch_channel_wait_for_flag(HandleRef jarg1, int jarg2, int jarg3, uint jarg4);\r
+ public static extern int switch_channel_wait_for_flag(HandleRef jarg1, uint jarg2, int jarg3, uint jarg4);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_perform_set_state")]\r
public static extern int switch_channel_perform_set_state(HandleRef jarg1, string jarg2, string jarg3, int jarg4, int jarg5);\r
public static extern IntPtr switch_channel_get_caller_extension(HandleRef jarg1);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_test_flag")]\r
- public static extern uint switch_channel_test_flag(HandleRef jarg1, int jarg2);\r
+ public static extern uint switch_channel_test_flag(HandleRef jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_set_flag")]\r
- public static extern void switch_channel_set_flag(HandleRef jarg1, int jarg2);\r
+ public static extern void switch_channel_set_flag(HandleRef jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_set_flag_partner")]\r
- public static extern int switch_channel_set_flag_partner(HandleRef jarg1, int jarg2);\r
+ public static extern int switch_channel_set_flag_partner(HandleRef jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_clear_flag_partner")]\r
- public static extern int switch_channel_clear_flag_partner(HandleRef jarg1, int jarg2);\r
+ public static extern int switch_channel_clear_flag_partner(HandleRef jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_set_state_flag")]\r
- public static extern void switch_channel_set_state_flag(HandleRef jarg1, int jarg2);\r
+ public static extern void switch_channel_set_state_flag(HandleRef jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_clear_flag")]\r
- public static extern void switch_channel_clear_flag(HandleRef jarg1, int jarg2);\r
+ public static extern void switch_channel_clear_flag(HandleRef jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_perform_answer")]\r
public static extern int switch_channel_perform_answer(HandleRef jarg1, string jarg2, string jarg3, int jarg4);\r
public static extern int switch_ivr_record_session(HandleRef jarg1, string jarg2, uint jarg3, HandleRef jarg4);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_eavesdrop_session")]\r
- public static extern int switch_ivr_eavesdrop_session(HandleRef jarg1, string jarg2, string jarg3, int jarg4);\r
+ public static extern int switch_ivr_eavesdrop_session(HandleRef jarg1, string jarg2, string jarg3, uint jarg4);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_displace_session")]\r
public static extern int switch_ivr_displace_session(HandleRef jarg1, string jarg2, uint jarg3, string jarg4);\r
public static extern int switch_ivr_speak_text(HandleRef jarg1, string jarg2, string jarg3, string jarg4, HandleRef jarg5);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_originate")]\r
- public static extern int switch_ivr_originate(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, string jarg4, uint jarg5, HandleRef jarg6, string jarg7, string jarg8, HandleRef jarg9, int jarg10);\r
+ public static extern int switch_ivr_originate(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, string jarg4, uint jarg5, HandleRef jarg6, string jarg7, string jarg8, HandleRef jarg9, uint jarg10);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_multi_threaded_bridge")]\r
public static extern int switch_ivr_multi_threaded_bridge(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5);\r
public static extern int switch_ivr_uuid_bridge(string jarg1, string jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_media")]\r
- public static extern int switch_ivr_media(string jarg1, int jarg2);\r
+ public static extern int switch_ivr_media(string jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_nomedia")]\r
- public static extern int switch_ivr_nomedia(string jarg1, int jarg2);\r
+ public static extern int switch_ivr_nomedia(string jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_hold_uuid")]\r
public static extern int switch_ivr_hold_uuid(string jarg1, string jarg2, int jarg3);\r
public static extern int switch_ivr_unhold(HandleRef jarg1);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_schedule_broadcast")]\r
- public static extern uint switch_ivr_schedule_broadcast(HandleRef jarg1, string jarg2, string jarg3, int jarg4);\r
+ public static extern uint switch_ivr_schedule_broadcast(HandleRef jarg1, string jarg2, string jarg3, uint jarg4);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_broadcast")]\r
- public static extern int switch_ivr_broadcast(string jarg1, string jarg2, int jarg3);\r
+ public static extern int switch_ivr_broadcast(string jarg1, string jarg2, uint jarg3);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_transfer_variable")]\r
public static extern int switch_ivr_transfer_variable(HandleRef jarg1, HandleRef jarg2, string jarg3);\r
public static extern int switch_ivr_read(HandleRef jarg1, uint jarg2, uint jarg3, string jarg4, string jarg5, string jarg6, HandleRef jarg7, uint jarg8, string jarg9);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_bind_dtmf_meta_session")]\r
- public static extern int switch_ivr_bind_dtmf_meta_session(HandleRef jarg1, uint jarg2, int jarg3, string jarg4);\r
+ public static extern int switch_ivr_bind_dtmf_meta_session(HandleRef jarg1, uint jarg2, uint jarg3, string jarg4);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_unbind_dtmf_meta_session")]\r
public static extern int switch_ivr_unbind_dtmf_meta_session(HandleRef jarg1);\r
public static extern void switch_rtp_release_port(string jarg1, ushort jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_create")]\r
- public static extern int switch_rtp_create(HandleRef jarg1, byte jarg2, uint jarg3, uint jarg4, int jarg5, string jarg6, HandleRef jarg7, HandleRef jarg8);\r
+ public static extern int switch_rtp_create(HandleRef jarg1, byte jarg2, uint jarg3, uint jarg4, uint jarg5, string jarg6, HandleRef jarg7, HandleRef jarg8);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_new")]\r
- public static extern IntPtr switch_rtp_new(string jarg1, ushort jarg2, string jarg3, ushort jarg4, byte jarg5, uint jarg6, uint jarg7, int jarg8, string jarg9, HandleRef jarg10, HandleRef jarg11);\r
+ public static extern IntPtr switch_rtp_new(string jarg1, ushort jarg2, string jarg3, ushort jarg4, byte jarg5, uint jarg6, uint jarg7, uint jarg8, string jarg9, HandleRef jarg10, HandleRef jarg11);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_set_remote_address")]\r
public static extern int switch_rtp_set_remote_address(HandleRef jarg1, string jarg2, ushort jarg3, HandleRef jarg4);\r
public static extern int switch_rtp_activate_jitter_buffer(HandleRef jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_set_flag")]\r
- public static extern void switch_rtp_set_flag(HandleRef jarg1, int jarg2);\r
+ public static extern void switch_rtp_set_flag(HandleRef jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_test_flag")]\r
- public static extern uint switch_rtp_test_flag(HandleRef jarg1, int jarg2);\r
+ public static extern uint switch_rtp_test_flag(HandleRef jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_clear_flag")]\r
- public static extern void switch_rtp_clear_flag(HandleRef jarg1, int jarg2);\r
+ public static extern void switch_rtp_clear_flag(HandleRef jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_get_rtp_socket")]\r
public static extern IntPtr switch_rtp_get_rtp_socket(HandleRef jarg1);\r
public static extern void switch_rtp_set_invald_handler(HandleRef jarg1, HandleRef jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_read")]\r
- public static extern int switch_rtp_read(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, int jarg6);\r
+ public static extern int switch_rtp_read(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, uint jarg6);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_queue_rfc2833")]\r
public static extern int switch_rtp_queue_rfc2833(HandleRef jarg1, HandleRef jarg2);\r
public static extern IntPtr switch_rtp_dequeue_dtmf(HandleRef jarg1, HandleRef jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_zerocopy_read")]\r
- public static extern int switch_rtp_zerocopy_read(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, int jarg6);\r
+ public static extern int switch_rtp_zerocopy_read(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, uint jarg6);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_zerocopy_read_frame")]\r
- public static extern int switch_rtp_zerocopy_read_frame(HandleRef jarg1, HandleRef jarg2, int jarg3);\r
+ public static extern int switch_rtp_zerocopy_read_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_enable_vad")]\r
- public static extern int switch_rtp_enable_vad(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, int jarg4);\r
+ public static extern int switch_rtp_enable_vad(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, uint jarg4);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_disable_vad")]\r
public static extern int switch_rtp_disable_vad(HandleRef jarg1);\r
public static extern IntPtr switch_xml_open_cfg(string jarg1, HandleRef jarg2, HandleRef jarg3);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_xml_bind_search_function")]\r
- public static extern int switch_xml_bind_search_function(HandleRef jarg1, int jarg2, HandleRef jarg3);\r
+ public static extern int switch_xml_bind_search_function(HandleRef jarg1, uint jarg2, HandleRef jarg3);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_xml_parse_section_string")]\r
- public static extern int switch_xml_parse_section_string(string jarg1);\r
+ public static extern uint switch_xml_parse_section_string(string jarg1);\r
\r
[DllImport("mod_mono", 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
public static extern void delete_switch_scheduler_task(HandleRef jarg1);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_scheduler_add_task")]\r
- public static extern uint switch_scheduler_add_task(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, uint jarg5, HandleRef jarg6, int jarg7);\r
+ public static extern uint switch_scheduler_add_task(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, uint jarg5, HandleRef jarg6, uint jarg7);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_scheduler_del_task_id")]\r
public static extern uint switch_scheduler_del_task_id(uint jarg1);\r
[DllImport("mod_mono", EntryPoint="CSharp_CoreSession_Ready")]\r
public static extern bool CoreSession_Ready(HandleRef jarg1);\r
\r
+ [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_answered")]\r
+ public static extern bool CoreSession_answered(HandleRef jarg1);\r
+\r
+ [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_mediaReady")]\r
+ public static extern bool CoreSession_mediaReady(HandleRef jarg1);\r
+\r
+ [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_waitForAnswer")]\r
+ public static extern void CoreSession_waitForAnswer(HandleRef jarg1, HandleRef jarg2);\r
+\r
[DllImport("mod_mono", EntryPoint="CSharp_CoreSession_Execute")]\r
public static extern void CoreSession_Execute(HandleRef jarg1, string jarg2, string jarg3);\r
\r
public static extern IntPtr switch_core_session_message_pointer_reply_size_get(HandleRef jarg1);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_message_flags_set")]\r
- public static extern void switch_core_session_message_flags_set(HandleRef jarg1, int jarg2);\r
+ public static extern void switch_core_session_message_flags_set(HandleRef jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_message_flags_get")]\r
- public static extern int switch_core_session_message_flags_get(HandleRef jarg1);\r
+ public static extern uint switch_core_session_message_flags_get(HandleRef jarg1);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_new_switch_core_session_message")]\r
public static extern IntPtr new_switch_core_session_message();\r
public static extern void delete_switch_core_thread_session(HandleRef jarg1);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_media_bug_add")]\r
- public static extern int switch_core_media_bug_add(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, int jarg5, HandleRef jarg6);\r
+ public static extern int switch_core_media_bug_add(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, uint jarg5, HandleRef jarg6);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_media_bug_get_user_data")]\r
public static extern IntPtr switch_core_media_bug_get_user_data(HandleRef jarg1);\r
public static extern int switch_core_media_bug_read(HandleRef jarg1, HandleRef jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_port_allocator_new")]\r
- public static extern int switch_core_port_allocator_new(ushort jarg1, ushort jarg2, int jarg3, HandleRef jarg4);\r
+ public static extern int switch_core_port_allocator_new(ushort jarg1, ushort jarg2, uint jarg3, HandleRef jarg4);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_port_allocator_request_port")]\r
public static extern int switch_core_port_allocator_request_port(HandleRef jarg1, HandleRef jarg2);\r
public static extern void switch_core_port_allocator_destroy(HandleRef jarg1);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_init")]\r
- public static extern int switch_core_init(int jarg1, int jarg2, HandleRef jarg3);\r
+ public static extern int switch_core_init(uint jarg1, int jarg2, HandleRef jarg3);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_init_and_modload")]\r
- public static extern int switch_core_init_and_modload(int jarg1, int jarg2, HandleRef jarg3);\r
+ public static extern int switch_core_init_and_modload(uint jarg1, int jarg2, HandleRef jarg3);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_limit")]\r
public static extern uint switch_core_session_limit(uint jarg1);\r
public static extern void switch_core_service_session(HandleRef jarg1, HandleRef jarg2, int jarg3);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_outgoing_channel")]\r
- public static extern int switch_core_session_outgoing_channel(HandleRef jarg1, HandleRef jarg2, string jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6, int jarg7);\r
+ public static extern int switch_core_session_outgoing_channel(HandleRef jarg1, HandleRef jarg2, string jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6, uint jarg7);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_resurrect_channel")]\r
public static extern int switch_core_session_resurrect_channel(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4);\r
public static extern uint switch_core_session_flush_private_events(HandleRef jarg1);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_read_frame")]\r
- public static extern int switch_core_session_read_frame(HandleRef jarg1, HandleRef jarg2, int jarg3, int jarg4);\r
+ public static extern int switch_core_session_read_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3, int jarg4);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_read_video_frame")]\r
- public static extern int switch_core_session_read_video_frame(HandleRef jarg1, HandleRef jarg2, int jarg3, int jarg4);\r
+ public static extern int switch_core_session_read_video_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3, int jarg4);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_write_video_frame")]\r
- public static extern int switch_core_session_write_video_frame(HandleRef jarg1, HandleRef jarg2, int jarg3, int jarg4);\r
+ public static extern int switch_core_session_write_video_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3, int jarg4);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_reset")]\r
public static extern void switch_core_session_reset(HandleRef jarg1, int jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_write_frame")]\r
- public static extern int switch_core_session_write_frame(HandleRef jarg1, HandleRef jarg2, int jarg3, int jarg4);\r
+ public static extern int switch_core_session_write_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3, int jarg4);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_session_perform_kill_channel")]\r
public static extern int switch_core_session_perform_kill_channel(HandleRef jarg1, string jarg2, string jarg3, int jarg4, int jarg5);\r
public static extern int switch_core_ready();\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_flags")]\r
- public static extern int switch_core_flags();\r
+ public static extern uint switch_core_flags();\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_core_management_exec")]\r
public static extern int switch_core_management_exec(string jarg1, int jarg2, string jarg3, HandleRef jarg4);\r
return _res; }\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_flags_set")]\r
- public static extern void switch_caller_profile_flags_set(HandleRef jarg1, int jarg2);\r
+ public static extern void switch_caller_profile_flags_set(HandleRef jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_flags_get")]\r
- public static extern int switch_caller_profile_flags_get(HandleRef jarg1);\r
+ public static extern uint switch_caller_profile_flags_get(HandleRef jarg1);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_caller_profile_originator_caller_profile_set")]\r
public static extern void switch_caller_profile_originator_caller_profile_set(HandleRef jarg1, HandleRef jarg2);\r
public static extern int switch_frame_m_get(HandleRef jarg1);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_frame_flags_set")]\r
- public static extern void switch_frame_flags_set(HandleRef jarg1, int jarg2);\r
+ public static extern void switch_frame_flags_set(HandleRef jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_frame_flags_get")]\r
- public static extern int switch_frame_flags_get(HandleRef jarg1);\r
+ public static extern uint switch_frame_flags_get(HandleRef jarg1);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_new_switch_frame")]\r
public static extern IntPtr new_switch_frame();\r
public static extern void switch_channel_wait_for_state(HandleRef jarg1, HandleRef jarg2, int jarg3);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_wait_for_flag")]\r
- public static extern int switch_channel_wait_for_flag(HandleRef jarg1, int jarg2, int jarg3, uint jarg4);\r
+ public static extern int switch_channel_wait_for_flag(HandleRef jarg1, uint jarg2, int jarg3, uint jarg4);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_perform_set_state")]\r
public static extern int switch_channel_perform_set_state(HandleRef jarg1, string jarg2, string jarg3, int jarg4, int jarg5);\r
public static extern IntPtr switch_channel_get_caller_extension(HandleRef jarg1);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_test_flag")]\r
- public static extern uint switch_channel_test_flag(HandleRef jarg1, int jarg2);\r
+ public static extern uint switch_channel_test_flag(HandleRef jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_set_flag")]\r
- public static extern void switch_channel_set_flag(HandleRef jarg1, int jarg2);\r
+ public static extern void switch_channel_set_flag(HandleRef jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_set_flag_partner")]\r
- public static extern int switch_channel_set_flag_partner(HandleRef jarg1, int jarg2);\r
+ public static extern int switch_channel_set_flag_partner(HandleRef jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_clear_flag_partner")]\r
- public static extern int switch_channel_clear_flag_partner(HandleRef jarg1, int jarg2);\r
+ public static extern int switch_channel_clear_flag_partner(HandleRef jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_set_state_flag")]\r
- public static extern void switch_channel_set_state_flag(HandleRef jarg1, int jarg2);\r
+ public static extern void switch_channel_set_state_flag(HandleRef jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_clear_flag")]\r
- public static extern void switch_channel_clear_flag(HandleRef jarg1, int jarg2);\r
+ public static extern void switch_channel_clear_flag(HandleRef jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_channel_perform_answer")]\r
public static extern int switch_channel_perform_answer(HandleRef jarg1, string jarg2, string jarg3, int jarg4);\r
public static extern int switch_ivr_record_session(HandleRef jarg1, string jarg2, uint jarg3, HandleRef jarg4);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_eavesdrop_session")]\r
- public static extern int switch_ivr_eavesdrop_session(HandleRef jarg1, string jarg2, string jarg3, int jarg4);\r
+ public static extern int switch_ivr_eavesdrop_session(HandleRef jarg1, string jarg2, string jarg3, uint jarg4);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_displace_session")]\r
public static extern int switch_ivr_displace_session(HandleRef jarg1, string jarg2, uint jarg3, string jarg4);\r
public static extern int switch_ivr_speak_text(HandleRef jarg1, string jarg2, string jarg3, string jarg4, HandleRef jarg5);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_originate")]\r
- public static extern int switch_ivr_originate(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, string jarg4, uint jarg5, HandleRef jarg6, string jarg7, string jarg8, HandleRef jarg9, int jarg10);\r
+ public static extern int switch_ivr_originate(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, string jarg4, uint jarg5, HandleRef jarg6, string jarg7, string jarg8, HandleRef jarg9, uint jarg10);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_multi_threaded_bridge")]\r
public static extern int switch_ivr_multi_threaded_bridge(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5);\r
public static extern int switch_ivr_uuid_bridge(string jarg1, string jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_media")]\r
- public static extern int switch_ivr_media(string jarg1, int jarg2);\r
+ public static extern int switch_ivr_media(string jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_nomedia")]\r
- public static extern int switch_ivr_nomedia(string jarg1, int jarg2);\r
+ public static extern int switch_ivr_nomedia(string jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_hold_uuid")]\r
public static extern int switch_ivr_hold_uuid(string jarg1, string jarg2, int jarg3);\r
public static extern int switch_ivr_unhold(HandleRef jarg1);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_schedule_broadcast")]\r
- public static extern uint switch_ivr_schedule_broadcast(HandleRef jarg1, string jarg2, string jarg3, int jarg4);\r
+ public static extern uint switch_ivr_schedule_broadcast(HandleRef jarg1, string jarg2, string jarg3, uint jarg4);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_broadcast")]\r
- public static extern int switch_ivr_broadcast(string jarg1, string jarg2, int jarg3);\r
+ public static extern int switch_ivr_broadcast(string jarg1, string jarg2, uint jarg3);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_transfer_variable")]\r
public static extern int switch_ivr_transfer_variable(HandleRef jarg1, HandleRef jarg2, string jarg3);\r
public static extern int switch_ivr_read(HandleRef jarg1, uint jarg2, uint jarg3, string jarg4, string jarg5, string jarg6, HandleRef jarg7, uint jarg8, string jarg9);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_bind_dtmf_meta_session")]\r
- public static extern int switch_ivr_bind_dtmf_meta_session(HandleRef jarg1, uint jarg2, int jarg3, string jarg4);\r
+ public static extern int switch_ivr_bind_dtmf_meta_session(HandleRef jarg1, uint jarg2, uint jarg3, string jarg4);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_ivr_unbind_dtmf_meta_session")]\r
public static extern int switch_ivr_unbind_dtmf_meta_session(HandleRef jarg1);\r
public static extern void switch_rtp_release_port(string jarg1, ushort jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_create")]\r
- public static extern int switch_rtp_create(HandleRef jarg1, byte jarg2, uint jarg3, uint jarg4, int jarg5, string jarg6, HandleRef jarg7, HandleRef jarg8);\r
+ public static extern int switch_rtp_create(HandleRef jarg1, byte jarg2, uint jarg3, uint jarg4, uint jarg5, string jarg6, HandleRef jarg7, HandleRef jarg8);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_new")]\r
- public static extern IntPtr switch_rtp_new(string jarg1, ushort jarg2, string jarg3, ushort jarg4, byte jarg5, uint jarg6, uint jarg7, int jarg8, string jarg9, HandleRef jarg10, HandleRef jarg11);\r
+ public static extern IntPtr switch_rtp_new(string jarg1, ushort jarg2, string jarg3, ushort jarg4, byte jarg5, uint jarg6, uint jarg7, uint jarg8, string jarg9, HandleRef jarg10, HandleRef jarg11);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_set_remote_address")]\r
public static extern int switch_rtp_set_remote_address(HandleRef jarg1, string jarg2, ushort jarg3, HandleRef jarg4);\r
public static extern int switch_rtp_activate_jitter_buffer(HandleRef jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_set_flag")]\r
- public static extern void switch_rtp_set_flag(HandleRef jarg1, int jarg2);\r
+ public static extern void switch_rtp_set_flag(HandleRef jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_test_flag")]\r
- public static extern uint switch_rtp_test_flag(HandleRef jarg1, int jarg2);\r
+ public static extern uint switch_rtp_test_flag(HandleRef jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_clear_flag")]\r
- public static extern void switch_rtp_clear_flag(HandleRef jarg1, int jarg2);\r
+ public static extern void switch_rtp_clear_flag(HandleRef jarg1, uint jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_get_rtp_socket")]\r
public static extern IntPtr switch_rtp_get_rtp_socket(HandleRef jarg1);\r
public static extern void switch_rtp_set_invald_handler(HandleRef jarg1, HandleRef jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_read")]\r
- public static extern int switch_rtp_read(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, int jarg6);\r
+ public static extern int switch_rtp_read(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, uint jarg6);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_queue_rfc2833")]\r
public static extern int switch_rtp_queue_rfc2833(HandleRef jarg1, HandleRef jarg2);\r
public static extern IntPtr switch_rtp_dequeue_dtmf(HandleRef jarg1, HandleRef jarg2);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_zerocopy_read")]\r
- public static extern int switch_rtp_zerocopy_read(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, int jarg6);\r
+ public static extern int switch_rtp_zerocopy_read(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, uint jarg6);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_zerocopy_read_frame")]\r
- public static extern int switch_rtp_zerocopy_read_frame(HandleRef jarg1, HandleRef jarg2, int jarg3);\r
+ public static extern int switch_rtp_zerocopy_read_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_enable_vad")]\r
- public static extern int switch_rtp_enable_vad(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, int jarg4);\r
+ public static extern int switch_rtp_enable_vad(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, uint jarg4);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_rtp_disable_vad")]\r
public static extern int switch_rtp_disable_vad(HandleRef jarg1);\r
public static extern IntPtr switch_xml_open_cfg(string jarg1, HandleRef jarg2, HandleRef jarg3);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_xml_bind_search_function")]\r
- public static extern int switch_xml_bind_search_function(HandleRef jarg1, int jarg2, HandleRef jarg3);\r
+ public static extern int switch_xml_bind_search_function(HandleRef jarg1, uint jarg2, HandleRef jarg3);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_xml_parse_section_string")]\r
- public static extern int switch_xml_parse_section_string(string jarg1);\r
+ public static extern uint switch_xml_parse_section_string(string jarg1);\r
\r
[DllImport("mod_mono", 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
public static extern void delete_switch_scheduler_task(HandleRef jarg1);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_scheduler_add_task")]\r
- public static extern uint switch_scheduler_add_task(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, uint jarg5, HandleRef jarg6, int jarg7);\r
+ public static extern uint switch_scheduler_add_task(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, uint jarg5, HandleRef jarg6, uint jarg7);\r
\r
[DllImport("mod_mono", EntryPoint="CSharp_switch_scheduler_del_task_id")]\r
public static extern uint switch_scheduler_del_task_id(uint jarg1);\r
[DllImport("mod_mono", EntryPoint="CSharp_CoreSession_Ready")]\r
public static extern bool CoreSession_Ready(HandleRef jarg1);\r
\r
+ [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_answered")]\r
+ public static extern bool CoreSession_answered(HandleRef jarg1);\r
+\r
+ [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_mediaReady")]\r
+ public static extern bool CoreSession_mediaReady(HandleRef jarg1);\r
+\r
+ [DllImport("mod_mono", EntryPoint="CSharp_CoreSession_waitForAnswer")]\r
+ public static extern void CoreSession_waitForAnswer(HandleRef jarg1, HandleRef jarg2);\r
+\r
[DllImport("mod_mono", EntryPoint="CSharp_CoreSession_Execute")]\r
public static extern void CoreSession_Execute(HandleRef jarg1, string jarg2, string jarg3);\r
\r
+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 1.3.35\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-public enum switch_application_flag_t {\r
- SAF_NONE = 0,\r
- SAF_SUPPORT_NOMEDIA = (1 << 0)\r
-}\r
-\r
-}\r
} \r
}\r
\r
- public SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_enum_switch_asr_flag_t__switch_status_t asr_open {\r
+ public SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t asr_open {\r
set {\r
- freeswitchPINVOKE.switch_asr_interface_asr_open_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_enum_switch_asr_flag_t__switch_status_t.getCPtr(value));\r
+ freeswitchPINVOKE.switch_asr_interface_asr_open_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t.getCPtr(value));\r
} \r
get {\r
IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_open_get(swigCPtr);\r
- SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_enum_switch_asr_flag_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_enum_switch_asr_flag_t__switch_status_t(cPtr, false);\r
+ SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t(cPtr, false);\r
return ret;\r
} \r
}\r
} \r
}\r
\r
- public SWIGTYPE_p_f_p_switch_asr_handle_p_enum_switch_asr_flag_t__switch_status_t asr_close {\r
+ public SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t asr_close {\r
set {\r
- freeswitchPINVOKE.switch_asr_interface_asr_close_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_enum_switch_asr_flag_t__switch_status_t.getCPtr(value));\r
+ freeswitchPINVOKE.switch_asr_interface_asr_close_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t.getCPtr(value));\r
} \r
get {\r
IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_close_get(swigCPtr);\r
- SWIGTYPE_p_f_p_switch_asr_handle_p_enum_switch_asr_flag_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_enum_switch_asr_flag_t__switch_status_t(cPtr, false);\r
+ SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t(cPtr, false);\r
return ret;\r
} \r
}\r
\r
- public SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_enum_switch_asr_flag_t__switch_status_t asr_feed {\r
+ public SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t asr_feed {\r
set {\r
- freeswitchPINVOKE.switch_asr_interface_asr_feed_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_enum_switch_asr_flag_t__switch_status_t.getCPtr(value));\r
+ freeswitchPINVOKE.switch_asr_interface_asr_feed_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t.getCPtr(value));\r
} \r
get {\r
IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_feed_get(swigCPtr);\r
- SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_enum_switch_asr_flag_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_enum_switch_asr_flag_t__switch_status_t(cPtr, false);\r
+ SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t(cPtr, false);\r
return ret;\r
} \r
}\r
} \r
}\r
\r
- public SWIGTYPE_p_f_p_switch_asr_handle_p_enum_switch_asr_flag_t__switch_status_t asr_check_results {\r
+ public SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t asr_check_results {\r
set {\r
- freeswitchPINVOKE.switch_asr_interface_asr_check_results_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_enum_switch_asr_flag_t__switch_status_t.getCPtr(value));\r
+ freeswitchPINVOKE.switch_asr_interface_asr_check_results_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t.getCPtr(value));\r
} \r
get {\r
IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_check_results_get(swigCPtr);\r
- SWIGTYPE_p_f_p_switch_asr_handle_p_enum_switch_asr_flag_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_enum_switch_asr_flag_t__switch_status_t(cPtr, false);\r
+ SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t(cPtr, false);\r
return ret;\r
} \r
}\r
\r
- public SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_enum_switch_asr_flag_t__switch_status_t asr_get_results {\r
+ public SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t asr_get_results {\r
set {\r
- freeswitchPINVOKE.switch_asr_interface_asr_get_results_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_enum_switch_asr_flag_t__switch_status_t.getCPtr(value));\r
+ freeswitchPINVOKE.switch_asr_interface_asr_get_results_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t.getCPtr(value));\r
} \r
get {\r
IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_get_results_get(swigCPtr);\r
- SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_enum_switch_asr_flag_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_enum_switch_asr_flag_t__switch_status_t(cPtr, false);\r
+ SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t(cPtr, false);\r
return ret;\r
} \r
}\r
+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 1.3.35\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-public enum switch_bind_flag_t {\r
- SBF_DIAL_ALEG = (1 << 0),\r
- SBF_EXEC_ALEG = (1 << 1),\r
- SBF_DIAL_BLEG = (1 << 2),\r
- SBF_EXEC_BLEG = (1 << 3),\r
- SBF_EXEC_OPPOSITE = (1 << 4),\r
- SBF_EXEC_SAME = (1 << 5)\r
-}\r
-\r
-}\r
} \r
}\r
\r
- public switch_caller_profile_flag_t flags {\r
+ public uint flags {\r
set {\r
- freeswitchPINVOKE.switch_caller_profile_flags_set(swigCPtr, (int)value);\r
+ freeswitchPINVOKE.switch_caller_profile_flags_set(swigCPtr, value);\r
} \r
get {\r
- switch_caller_profile_flag_t ret = (switch_caller_profile_flag_t)freeswitchPINVOKE.switch_caller_profile_flags_get(swigCPtr);\r
+ uint ret = freeswitchPINVOKE.switch_caller_profile_flags_get(swigCPtr);\r
return ret;\r
} \r
}\r
+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 1.3.35\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-public enum switch_caller_profile_flag_t {\r
- SWITCH_CPF_SCREEN = (1 << 0),\r
- SWITCH_CPF_HIDE_NAME = (1 << 1),\r
- SWITCH_CPF_HIDE_NUMBER = (1 << 2)\r
-}\r
-\r
-}\r
+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 1.3.35\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-public enum switch_channel_flag_t {\r
- CF_ANSWERED = (1 << 0),\r
- CF_OUTBOUND = (1 << 1),\r
- CF_EARLY_MEDIA = (1 << 2),\r
- CF_ORIGINATOR = (1 << 3),\r
- CF_TRANSFER = (1 << 4),\r
- CF_ACCEPT_CNG = (1 << 5),\r
- CF_WAIT_FOR_ME = (1 << 6),\r
- CF_BRIDGED = (1 << 7),\r
- CF_HOLD = (1 << 8),\r
- CF_SERVICE = (1 << 9),\r
- CF_TAGGED = (1 << 10),\r
- CF_WINNER = (1 << 11),\r
- CF_CONTROLLED = (1 << 12),\r
- CF_PROXY_MODE = (1 << 13),\r
- CF_SUSPEND = (1 << 14),\r
- CF_EVENT_PARSE = (1 << 15),\r
- CF_REPEAT_STATE = (1 << 16),\r
- CF_GEN_RINGBACK = (1 << 17),\r
- CF_RING_READY = (1 << 18),\r
- CF_BREAK = (1 << 19),\r
- CF_BROADCAST = (1 << 20),\r
- CF_UNICAST = (1 << 21),\r
- CF_VIDEO = (1 << 22),\r
- CF_EVENT_LOCK = (1 << 23),\r
- CF_RESET = (1 << 24),\r
- CF_ORIGINATING = (1 << 25),\r
- CF_STOP_BROADCAST = (1 << 26),\r
- CF_PROXY_MEDIA = (1 << 27),\r
- CF_INNER_BRIDGE = (1 << 28),\r
- CF_REQ_MEDIA = (1 << 29)\r
-}\r
-\r
-}\r
+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 1.3.35\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-public enum switch_codec_flag_t {\r
- SWITCH_CODEC_FLAG_ENCODE = (1 << 0),\r
- SWITCH_CODEC_FLAG_DECODE = (1 << 1),\r
- SWITCH_CODEC_FLAG_SILENCE_START = (1 << 2),\r
- SWITCH_CODEC_FLAG_SILENCE_STOP = (1 << 3),\r
- SWITCH_CODEC_FLAG_SILENCE = (1 << 4),\r
- SWITCH_CODEC_FLAG_FREE_POOL = (1 << 5),\r
- SWITCH_CODEC_FLAG_AAL2 = (1 << 6),\r
- SWITCH_CODEC_FLAG_PASSTHROUGH = (1 << 7)\r
-}\r
-\r
-}\r
} \r
}\r
\r
- public SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_flag_t_p_q_const__switch_codec_settings__switch_status_t init {\r
+ public SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t init {\r
set {\r
- freeswitchPINVOKE.switch_codec_implementation_init_set(swigCPtr, SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_flag_t_p_q_const__switch_codec_settings__switch_status_t.getCPtr(value));\r
+ freeswitchPINVOKE.switch_codec_implementation_init_set(swigCPtr, SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t.getCPtr(value));\r
} \r
get {\r
IntPtr cPtr = freeswitchPINVOKE.switch_codec_implementation_init_get(swigCPtr);\r
- SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_flag_t_p_q_const__switch_codec_settings__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_flag_t_p_q_const__switch_codec_settings__switch_status_t(cPtr, false);\r
+ SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t(cPtr, false);\r
return ret;\r
} \r
}\r
+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 1.3.35\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-public enum switch_core_flag_t {\r
- SCF_NONE = 0,\r
- SCF_USE_SQL = (1 << 0),\r
- SCF_NO_NEW_SESSIONS = (1 << 1),\r
- SCF_SHUTTING_DOWN = (1 << 2),\r
- SCF_CRASH_PROT = (1 << 3)\r
-}\r
-\r
-}\r
} \r
}\r
\r
- public switch_core_session_message_flag_t flags {\r
+ public uint flags {\r
set {\r
- freeswitchPINVOKE.switch_core_session_message_flags_set(swigCPtr, (int)value);\r
+ freeswitchPINVOKE.switch_core_session_message_flags_set(swigCPtr, value);\r
} \r
get {\r
- switch_core_session_message_flag_t ret = (switch_core_session_message_flag_t)freeswitchPINVOKE.switch_core_session_message_flags_get(swigCPtr);\r
+ uint ret = freeswitchPINVOKE.switch_core_session_message_flags_get(swigCPtr);\r
return ret;\r
} \r
}\r
+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 1.3.35\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-public enum switch_core_session_message_flag_t {\r
- SCSMF_DYNAMIC = (1 << 0)\r
-}\r
-\r
-}\r
+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 1.3.35\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-public enum switch_directory_flag_t {\r
- SWITCH_DIRECTORY_FLAG_FREE_POOL = (1 << 0)\r
-}\r
-\r
-}\r
+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 1.3.35\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-public enum switch_eavesdrop_flag_t {\r
- ED_MUX_READ = (1 << 0),\r
- ED_MUX_WRITE = (1 << 1),\r
- ED_DTMF = (1 << 2)\r
-}\r
-\r
-}\r
+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 1.3.35\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-public enum switch_file_flag_t {\r
- SWITCH_FILE_FLAG_READ = (1 << 0),\r
- SWITCH_FILE_FLAG_WRITE = (1 << 1),\r
- SWITCH_FILE_FLAG_FREE_POOL = (1 << 2),\r
- SWITCH_FILE_DATA_SHORT = (1 << 3),\r
- SWITCH_FILE_DATA_INT = (1 << 4),\r
- SWITCH_FILE_DATA_FLOAT = (1 << 5),\r
- SWITCH_FILE_DATA_DOUBLE = (1 << 6),\r
- SWITCH_FILE_DATA_RAW = (1 << 7),\r
- SWITCH_FILE_PAUSE = (1 << 8),\r
- SWITCH_FILE_NATIVE = (1 << 9),\r
- SWITCH_FILE_SEEK = (1 << 10),\r
- SWITCH_FILE_OPEN = (1 << 11),\r
- SWITCH_FILE_CALLBACK = (1 << 12)\r
-}\r
-\r
-}\r
} \r
}\r
\r
- public switch_frame_flag_t flags {\r
+ public uint flags {\r
set {\r
- freeswitchPINVOKE.switch_frame_flags_set(swigCPtr, (int)value);\r
+ freeswitchPINVOKE.switch_frame_flags_set(swigCPtr, value);\r
} \r
get {\r
- switch_frame_flag_t ret = (switch_frame_flag_t)freeswitchPINVOKE.switch_frame_flags_get(swigCPtr);\r
+ uint ret = freeswitchPINVOKE.switch_frame_flags_get(swigCPtr);\r
return ret;\r
} \r
}\r
+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 1.3.35\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-public enum switch_frame_flag_t {\r
- SFF_NONE = 0,\r
- SFF_CNG = (1 << 0),\r
- SFF_RAW_RTP = (1 << 1),\r
- SFF_RTP_HEADER = (1 << 2),\r
- SFF_PLC = (1 << 3),\r
- SFF_RFC2833 = (1 << 4),\r
- SFF_PROXY_PACKET = (1 << 5)\r
-}\r
-\r
-}\r
}\r
}\r
\r
- public SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_enum_switch_originate_flag_t__switch_status_t outgoing_channel {\r
+ public SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t outgoing_channel {\r
set {\r
- freeswitchPINVOKE.switch_io_event_hook_outgoing_channel_outgoing_channel_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_enum_switch_originate_flag_t__switch_status_t.getCPtr(value));\r
+ freeswitchPINVOKE.switch_io_event_hook_outgoing_channel_outgoing_channel_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t.getCPtr(value));\r
} \r
get {\r
IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_outgoing_channel_outgoing_channel_get(swigCPtr);\r
- SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_enum_switch_originate_flag_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_enum_switch_originate_flag_t__switch_status_t(cPtr, false);\r
+ SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t(cPtr, false);\r
return ret;\r
} \r
}\r
}\r
}\r
\r
- public SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t read_frame {\r
+ public SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t read_frame {\r
set {\r
- freeswitchPINVOKE.switch_io_event_hook_read_frame_read_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(value));\r
+ freeswitchPINVOKE.switch_io_event_hook_read_frame_read_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value));\r
} \r
get {\r
IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_read_frame_read_frame_get(swigCPtr);\r
- SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t(cPtr, false);\r
+ SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false);\r
return ret;\r
} \r
}\r
}\r
}\r
\r
- public SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t video_read_frame {\r
+ public SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t video_read_frame {\r
set {\r
- freeswitchPINVOKE.switch_io_event_hook_video_read_frame_video_read_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(value));\r
+ freeswitchPINVOKE.switch_io_event_hook_video_read_frame_video_read_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value));\r
} \r
get {\r
IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_video_read_frame_video_read_frame_get(swigCPtr);\r
- SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t(cPtr, false);\r
+ SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false);\r
return ret;\r
} \r
}\r
}\r
}\r
\r
- public SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t video_write_frame {\r
+ public SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t video_write_frame {\r
set {\r
- freeswitchPINVOKE.switch_io_event_hook_video_write_frame_video_write_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(value));\r
+ freeswitchPINVOKE.switch_io_event_hook_video_write_frame_video_write_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value));\r
} \r
get {\r
IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_video_write_frame_video_write_frame_get(swigCPtr);\r
- SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t(cPtr, false);\r
+ SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false);\r
return ret;\r
} \r
}\r
}\r
}\r
\r
- public SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t write_frame {\r
+ public SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t write_frame {\r
set {\r
- freeswitchPINVOKE.switch_io_event_hook_write_frame_write_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(value));\r
+ freeswitchPINVOKE.switch_io_event_hook_write_frame_write_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value));\r
} \r
get {\r
IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_write_frame_write_frame_get(swigCPtr);\r
- SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t(cPtr, false);\r
+ SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false);\r
return ret;\r
} \r
}\r
+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 1.3.35\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-public enum switch_io_flag_t {\r
- SWITCH_IO_FLAG_NONE = 0,\r
- SWITCH_IO_FLAG_NOBLOCK = (1 << 0)\r
-}\r
-\r
-}\r
}\r
}\r
\r
- public SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_enum_switch_originate_flag_t__switch_call_cause_t outgoing_channel {\r
+ public SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t outgoing_channel {\r
set {\r
- freeswitchPINVOKE.switch_io_routines_outgoing_channel_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_enum_switch_originate_flag_t__switch_call_cause_t.getCPtr(value));\r
+ freeswitchPINVOKE.switch_io_routines_outgoing_channel_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t.getCPtr(value));\r
} \r
get {\r
IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_outgoing_channel_get(swigCPtr);\r
- SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_enum_switch_originate_flag_t__switch_call_cause_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_enum_switch_originate_flag_t__switch_call_cause_t(cPtr, false);\r
+ SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long__switch_call_cause_t(cPtr, false);\r
return ret;\r
} \r
}\r
\r
- public SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t read_frame {\r
+ public SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t read_frame {\r
set {\r
- freeswitchPINVOKE.switch_io_routines_read_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(value));\r
+ freeswitchPINVOKE.switch_io_routines_read_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value));\r
} \r
get {\r
IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_read_frame_get(swigCPtr);\r
- SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t(cPtr, false);\r
+ SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false);\r
return ret;\r
} \r
}\r
\r
- public SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t write_frame {\r
+ public SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t write_frame {\r
set {\r
- freeswitchPINVOKE.switch_io_routines_write_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(value));\r
+ freeswitchPINVOKE.switch_io_routines_write_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value));\r
} \r
get {\r
IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_write_frame_get(swigCPtr);\r
- SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t(cPtr, false);\r
+ SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false);\r
return ret;\r
} \r
}\r
} \r
}\r
\r
- public SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t read_video_frame {\r
+ public SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t read_video_frame {\r
set {\r
- freeswitchPINVOKE.switch_io_routines_read_video_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(value));\r
+ freeswitchPINVOKE.switch_io_routines_read_video_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value));\r
} \r
get {\r
IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_read_video_frame_get(swigCPtr);\r
- SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t(cPtr, false);\r
+ SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false);\r
return ret;\r
} \r
}\r
\r
- public SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t write_video_frame {\r
+ public SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t write_video_frame {\r
set {\r
- freeswitchPINVOKE.switch_io_routines_write_video_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t.getCPtr(value));\r
+ freeswitchPINVOKE.switch_io_routines_write_video_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value));\r
} \r
get {\r
IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_write_video_frame_get(swigCPtr);\r
- SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_enum_switch_io_flag_t_int__switch_status_t(cPtr, false);\r
+ SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false);\r
return ret;\r
} \r
}\r
+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 1.3.35\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-public enum switch_ivr_option_t {\r
- SWITCH_IVR_OPTION_NONE = 0,\r
- SWITCH_IVR_OPTION_ASYNC = (1 << 0),\r
- SWITCH_IVR_OPTION_FILE = (1 << 1)\r
-}\r
-\r
-}\r
+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 1.3.35\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-public enum switch_media_bug_flag_t {\r
- SMBF_BOTH = 0,\r
- SMBF_READ_STREAM = (1 << 0),\r
- SMBF_WRITE_STREAM = (1 << 1),\r
- SMBF_WRITE_REPLACE = (1 << 2),\r
- SMBF_READ_REPLACE = (1 << 3),\r
- SMBF_READ_PING = (1 << 4),\r
- SMBF_STEREO = (1 << 5),\r
- SMBF_RECORD_ANSWER_REQ = (1 << 6),\r
- SMBF_THREAD_LOCK = (1 << 7)\r
-}\r
-\r
-}\r
+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 1.3.35\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-public enum switch_media_flag_t {\r
- SMF_NONE = 0,\r
- SMF_REBRIDGE = (1 << 0),\r
- SMF_ECHO_ALEG = (1 << 1),\r
- SMF_ECHO_BLEG = (1 << 2),\r
- SMF_FORCE = (1 << 3),\r
- SMF_LOOP = (1 << 4),\r
- SMF_HOLD_BLEG = (1 << 5)\r
-}\r
-\r
-}\r
+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 1.3.35\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-public enum switch_originate_flag_t {\r
- SOF_NONE = 0,\r
- SOF_NOBLOCK = (1 << 0),\r
- SOF_FORKED_DIAL = (1 << 1)\r
-}\r
-\r
-}\r
+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 1.3.35\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-public enum switch_port_flag_t {\r
- SPF_NONE = 0,\r
- SPF_ODD = (1 << 0),\r
- SPF_EVEN = (1 << 1)\r
-}\r
-\r
-}\r
+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 1.3.35\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-public enum switch_rtp_flag_t {\r
- SWITCH_RTP_FLAG_NOBLOCK = (1 << 0),\r
- SWITCH_RTP_FLAG_IO = (1 << 1),\r
- SWITCH_RTP_FLAG_USE_TIMER = (1 << 2),\r
- SWITCH_RTP_FLAG_TIMER_RECLOCK = (1 << 3),\r
- SWITCH_RTP_FLAG_SECURE_SEND = (1 << 4),\r
- SWITCH_RTP_FLAG_SECURE_RECV = (1 << 5),\r
- SWITCH_RTP_FLAG_AUTOADJ = (1 << 6),\r
- SWITCH_RTP_FLAG_RAW_WRITE = (1 << 7),\r
- SWITCH_RTP_FLAG_GOOGLEHACK = (1 << 8),\r
- SWITCH_RTP_FLAG_VAD = (1 << 9),\r
- SWITCH_RTP_FLAG_BREAK = (1 << 10),\r
- SWITCH_RTP_FLAG_MINI = (1 << 11),\r
- SWITCH_RTP_FLAG_DATAWAIT = (1 << 12),\r
- SWITCH_RTP_FLAG_BUGGY_2833 = (1 << 13),\r
- SWITCH_RTP_FLAG_PASS_RFC2833 = (1 << 14),\r
- SWITCH_RTP_FLAG_AUTO_CNG = (1 << 15),\r
- SWITCH_RTP_FLAG_SECURE_SEND_RESET = (1 << 16),\r
- SWITCH_RTP_FLAG_SECURE_RECV_RESET = (1 << 17),\r
- SWITCH_RTP_FLAG_PROXY_MEDIA = (1 << 18),\r
- SWITCH_RTP_FLAG_SHUTDOWN = (1 << 19)\r
-}\r
-\r
-}\r
+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 1.3.35\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-public enum switch_scheduler_flag_t {\r
- SSHF_NONE = 0,\r
- SSHF_OWN_THREAD = (1 << 0),\r
- SSHF_FREE_ARG = (1 << 1),\r
- SSHF_NO_DEL = (1 << 2)\r
-}\r
-\r
-}\r
+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 1.3.35\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-public enum switch_speech_flag_t {\r
- SWITCH_SPEECH_FLAG_NONE = 0,\r
- SWITCH_SPEECH_FLAG_HASTEXT = (1 << 0),\r
- SWITCH_SPEECH_FLAG_PEEK = (1 << 1),\r
- SWITCH_SPEECH_FLAG_FREE_POOL = (1 << 2),\r
- SWITCH_SPEECH_FLAG_BLOCKING = (1 << 3),\r
- SWITCH_SPEECH_FLAG_PAUSE = (1 << 4)\r
-}\r
-\r
-}\r
} \r
}\r
\r
- public SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_enum_switch_speech_flag_t__switch_status_t speech_open {\r
+ public SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t speech_open {\r
set {\r
- freeswitchPINVOKE.switch_speech_interface_speech_open_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_enum_switch_speech_flag_t__switch_status_t.getCPtr(value));\r
+ freeswitchPINVOKE.switch_speech_interface_speech_open_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t.getCPtr(value));\r
} \r
get {\r
IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_open_get(swigCPtr);\r
- SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_enum_switch_speech_flag_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_enum_switch_speech_flag_t__switch_status_t(cPtr, false);\r
+ SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t(cPtr, false);\r
return ret;\r
} \r
}\r
\r
- public SWIGTYPE_p_f_p_switch_speech_handle_p_enum_switch_speech_flag_t__switch_status_t speech_close {\r
+ public SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t speech_close {\r
set {\r
- freeswitchPINVOKE.switch_speech_interface_speech_close_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_enum_switch_speech_flag_t__switch_status_t.getCPtr(value));\r
+ freeswitchPINVOKE.switch_speech_interface_speech_close_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t.getCPtr(value));\r
} \r
get {\r
IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_close_get(swigCPtr);\r
- SWIGTYPE_p_f_p_switch_speech_handle_p_enum_switch_speech_flag_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_enum_switch_speech_flag_t__switch_status_t(cPtr, false);\r
+ SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t(cPtr, false);\r
return ret;\r
} \r
}\r
\r
- public SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_enum_switch_speech_flag_t__switch_status_t speech_feed_tts {\r
+ public SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t speech_feed_tts {\r
set {\r
- freeswitchPINVOKE.switch_speech_interface_speech_feed_tts_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_enum_switch_speech_flag_t__switch_status_t.getCPtr(value));\r
+ freeswitchPINVOKE.switch_speech_interface_speech_feed_tts_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t.getCPtr(value));\r
} \r
get {\r
IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_feed_tts_get(swigCPtr);\r
- SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_enum_switch_speech_flag_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_enum_switch_speech_flag_t__switch_status_t(cPtr, false);\r
+ SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t(cPtr, false);\r
return ret;\r
} \r
}\r
\r
- public SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_enum_switch_speech_flag_t__switch_status_t speech_read_tts {\r
+ public SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_unsigned_long__switch_status_t speech_read_tts {\r
set {\r
- freeswitchPINVOKE.switch_speech_interface_speech_read_tts_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_enum_switch_speech_flag_t__switch_status_t.getCPtr(value));\r
+ freeswitchPINVOKE.switch_speech_interface_speech_read_tts_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_unsigned_long__switch_status_t.getCPtr(value));\r
} \r
get {\r
IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_read_tts_get(swigCPtr);\r
- SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_enum_switch_speech_flag_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_enum_switch_speech_flag_t__switch_status_t(cPtr, false);\r
+ SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long_p_unsigned_long__switch_status_t(cPtr, false);\r
return ret;\r
} \r
}\r
+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 1.3.35\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-public enum switch_timer_flag_t {\r
- SWITCH_TIMER_FLAG_FREE_POOL = (1 << 0)\r
-}\r
-\r
-}\r
+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 1.3.35\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-public enum switch_unicast_flag_t {\r
- SUF_NONE = 0,\r
- SUF_THREAD_RUNNING = (1 << 0),\r
- SUF_READY = (1 << 1),\r
- SUF_NATIVE = (1 << 2)\r
-}\r
-\r
-}\r
+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 1.3.35\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-public enum switch_vad_flag_t {\r
- SWITCH_VAD_FLAG_TALKING = (1 << 0),\r
- SWITCH_VAD_FLAG_EVENTS_TALK = (1 << 1),\r
- SWITCH_VAD_FLAG_EVENTS_NOTALK = (1 << 2),\r
- SWITCH_VAD_FLAG_CNG = (1 << 3)\r
-}\r
-\r
-}\r
+++ /dev/null
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 1.3.35\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-namespace FreeSWITCH.Native {\r
-\r
-public enum switch_xml_section_t {\r
- SWITCH_XML_SECTION_RESULT = 0,\r
- SWITCH_XML_SECTION_CONFIG = (1 << 0),\r
- SWITCH_XML_SECTION_DIRECTORY = (1 << 1),\r
- SWITCH_XML_SECTION_DIALPLAN = (1 << 2),\r
- SWITCH_XML_SECTION_PHRASES = (1 << 3)\r
-}\r
-\r
-}\r