}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_rpt_ts_set(void * jarg1, unsigned long jarg2) {
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->last_rpt_ts = arg2;
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_rpt_ts_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ result = (uint32_t) ((arg1)->last_rpt_ts);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_ssrc_set(void * jarg1, unsigned long jarg2) {
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->ssrc = arg2;
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_ssrc_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ result = (uint32_t) ((arg1)->ssrc);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_csrc_set(void * jarg1, unsigned long jarg2) {
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->csrc = arg2;
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_csrc_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ result = (uint32_t) ((arg1)->csrc);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_pkt_tsdiff_set(void * jarg1, unsigned long jarg2) {
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->last_pkt_tsdiff = arg2;
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_pkt_tsdiff_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ result = (uint32_t) ((arg1)->last_pkt_tsdiff);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_inter_jitter_set(void * jarg1, double jarg2) {
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ double arg2 ;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ arg2 = (double)jarg2;
+ if (arg1) (arg1)->inter_jitter = arg2;
+}
+
+
+SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtcp_numbers_t_inter_jitter_get(void * jarg1) {
+ double jresult ;
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ double result;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ result = (double) ((arg1)->inter_jitter);
+ jresult = result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_rpt_ext_seq_set(void * jarg1, unsigned long jarg2) {
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->last_rpt_ext_seq = arg2;
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_rpt_ext_seq_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ result = (uint32_t) ((arg1)->last_rpt_ext_seq);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_rpt_cycle_set(void * jarg1, unsigned short jarg2) {
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint16_t arg2 ;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ arg2 = (uint16_t)jarg2;
+ if (arg1) (arg1)->last_rpt_cycle = arg2;
+}
+
+
+SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_rpt_cycle_get(void * jarg1) {
+ unsigned short jresult ;
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint16_t result;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ result = (uint16_t) ((arg1)->last_rpt_cycle);
+ jresult = result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_period_pkt_count_set(void * jarg1, unsigned short jarg2) {
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint16_t arg2 ;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ arg2 = (uint16_t)jarg2;
+ if (arg1) (arg1)->period_pkt_count = arg2;
+}
+
+
+SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtcp_numbers_t_period_pkt_count_get(void * jarg1) {
+ unsigned short jresult ;
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint16_t result;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ result = (uint16_t) ((arg1)->period_pkt_count);
+ jresult = result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_pkt_count_set(void * jarg1, unsigned short jarg2) {
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint16_t arg2 ;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ arg2 = (uint16_t)jarg2;
+ if (arg1) (arg1)->pkt_count = arg2;
+}
+
+
+SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtcp_numbers_t_pkt_count_get(void * jarg1) {
+ unsigned short jresult ;
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint16_t result;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ result = (uint16_t) ((arg1)->pkt_count);
+ jresult = result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_rtcp_rtp_count_set(void * jarg1, unsigned long jarg2) {
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->rtcp_rtp_count = arg2;
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_rtcp_rtp_count_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ result = (uint32_t) ((arg1)->rtcp_rtp_count);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_high_ext_seq_recv_set(void * jarg1, unsigned long jarg2) {
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->high_ext_seq_recv = arg2;
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_high_ext_seq_recv_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ result = (uint32_t) ((arg1)->high_ext_seq_recv);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_cycle_set(void * jarg1, unsigned short jarg2) {
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint16_t arg2 ;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ arg2 = (uint16_t)jarg2;
+ if (arg1) (arg1)->cycle = arg2;
+}
+
+
+SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtcp_numbers_t_cycle_get(void * jarg1) {
+ unsigned short jresult ;
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint16_t result;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ result = (uint16_t) ((arg1)->cycle);
+ jresult = result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_bad_seq_set(void * jarg1, unsigned long jarg2) {
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->bad_seq = arg2;
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_bad_seq_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ result = (uint32_t) ((arg1)->bad_seq);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_base_seq_set(void * jarg1, unsigned short jarg2) {
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint16_t arg2 ;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ arg2 = (uint16_t)jarg2;
+ if (arg1) (arg1)->base_seq = arg2;
+}
+
+
+SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtcp_numbers_t_base_seq_get(void * jarg1) {
+ unsigned short jresult ;
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint16_t result;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ result = (uint16_t) ((arg1)->base_seq);
+ jresult = result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_cum_lost_set(void * jarg1, unsigned long jarg2) {
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->cum_lost = arg2;
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_cum_lost_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ result = (uint32_t) ((arg1)->cum_lost);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_recv_lsr_local_set(void * jarg1, unsigned long jarg2) {
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->last_recv_lsr_local = arg2;
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_recv_lsr_local_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ result = (uint32_t) ((arg1)->last_recv_lsr_local);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_recv_lsr_peer_set(void * jarg1, unsigned long jarg2) {
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->last_recv_lsr_peer = arg2;
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_recv_lsr_peer_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ result = (uint32_t) ((arg1)->last_recv_lsr_peer);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_init_set(void * jarg1, unsigned long jarg2) {
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->init = arg2;
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_init_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_rtcp_numbers_t *)jarg1;
+ result = (uint32_t) ((arg1)->init);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtcp_numbers_t() {
void * jresult ;
switch_rtcp_numbers_t *result = 0 ;
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_copy(void * jarg1, void * jarg2, void * jarg3) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_copy(void * jarg1, void * jarg2, void * jarg3, void * jarg4) {
int jresult ;
switch_codec_t *arg1 = (switch_codec_t *) 0 ;
switch_codec_t *arg2 = (switch_codec_t *) 0 ;
- switch_memory_pool_t *arg3 = (switch_memory_pool_t *) 0 ;
+ switch_codec_settings_t *arg3 = (switch_codec_settings_t *) 0 ;
+ switch_memory_pool_t *arg4 = (switch_memory_pool_t *) 0 ;
switch_status_t result;
arg1 = (switch_codec_t *)jarg1;
arg2 = (switch_codec_t *)jarg2;
- arg3 = (switch_memory_pool_t *)jarg3;
- result = (switch_status_t)switch_core_codec_copy(arg1,arg2,arg3);
+ arg3 = (switch_codec_settings_t *)jarg3;
+ arg4 = (switch_memory_pool_t *)jarg4;
+ result = (switch_status_t)switch_core_codec_copy(arg1,arg2,(switch_codec_settings const *)arg3,arg4);
jresult = result;
return jresult;
}
}
+SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_mime_type2ext(char * jarg1) {
+ char * jresult ;
+ char *arg1 = (char *) 0 ;
+ char *result = 0 ;
+
+ arg1 = (char *)jarg1;
+ result = (char *)switch_core_mime_type2ext((char const *)arg1);
+ jresult = SWIG_csharp_string_callback((const char *)result);
+ return jresult;
+}
+
+
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_mime_add_type(char * jarg1, char * jarg2) {
int jresult ;
char *arg1 = (char *) 0 ;
}
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_create_schema(void * jarg1, char * jarg2, void * jarg3) {
+ int jresult ;
+ switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
+ char *arg2 = (char *) 0 ;
+ char **arg3 = (char **) 0 ;
+ switch_status_t result;
+
+ arg1 = (switch_cache_db_handle_t *)jarg1;
+ arg2 = (char *)jarg2;
+ arg3 = (char **)jarg3;
+ result = (switch_status_t)switch_cache_db_create_schema(arg1,arg2,arg3);
+ jresult = result;
+ return jresult;
+}
+
+
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_execute_sql2str(void * jarg1, char * jarg2, char * jarg3, unsigned long jarg4, void * jarg5) {
char * jresult ;
switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ;
}
+SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_URL_UNSAFE_get() {
+ char * jresult ;
+ char *result = 0 ;
+
+result = (char *)("\r\n #%&+:;<=>?@[\\]^`{|}\"");
+ jresult = SWIG_csharp_string_callback((const char *)result);
+ return jresult;
+}
+
+
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_toupper(unsigned long jarg1) {
unsigned long jresult ;
uint32_t arg1 ;
}
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_is_leading_number(char * jarg1) {
+ int jresult ;
+ char *arg1 = (char *) 0 ;
+ switch_bool_t result;
+
+ arg1 = (char *)jarg1;
+ result = (switch_bool_t)switch_is_leading_number((char const *)arg1);
+ jresult = result;
+ return jresult;
+}
+
+
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_find_parameter(char * jarg1, char * jarg2, void * jarg3) {
char * jresult ;
char *arg1 = (char *) 0 ;
}
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_errno_is_break(int jarg1) {
+ int jresult ;
+ int arg1 ;
+ int result;
+
+ arg1 = (int)jarg1;
+ result = (int)switch_errno_is_break(arg1);
+ jresult = result;
+ return jresult;
+}
+
+
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_priority_name(int jarg1) {
char * jresult ;
switch_priority_t arg1 ;
}
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_needs_url_encode(char * jarg1) {
+ int jresult ;
+ char *arg1 = (char *) 0 ;
+ int result;
+
+ arg1 = (char *)jarg1;
+ result = (int)switch_needs_url_encode((char const *)arg1);
+ jresult = result;
+ return jresult;
+}
+
+
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_url_encode(char * jarg1, char * jarg2, unsigned long jarg3) {
char * jresult ;
char *arg1 = (char *) 0 ;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_tick_set(void * jarg1, void * jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_start_set(void * jarg1, void * jarg2) {
switch_timer *arg1 = (switch_timer *) 0 ;
- switch_size_t arg2 ;
- switch_size_t *argp2 ;
+ switch_time_t arg2 ;
+ switch_time_t *argp2 ;
arg1 = (switch_timer *)jarg1;
- argp2 = (switch_size_t *)jarg2;
+ argp2 = (switch_time_t *)jarg2;
if (!argp2) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0);
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0);
return ;
}
arg2 = *argp2;
- if (arg1) (arg1)->tick = arg2;
+ if (arg1) (arg1)->start = arg2;
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_tick_get(void * jarg1) {
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_start_get(void * jarg1) {
void * jresult ;
switch_timer *arg1 = (switch_timer *) 0 ;
- switch_size_t result;
+ switch_time_t result;
arg1 = (switch_timer *)jarg1;
- result = ((arg1)->tick);
- jresult = new switch_size_t((const switch_size_t &)result);
+ result = ((arg1)->start);
+ jresult = new switch_time_t((const switch_time_t &)result);
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_tick_set(void * jarg1, unsigned long long jarg2) {
+ switch_timer *arg1 = (switch_timer *) 0 ;
+ uint64_t arg2 ;
+
+ arg1 = (switch_timer *)jarg1;
+ arg2 = (uint64_t)jarg2;
+ if (arg1) (arg1)->tick = arg2;
+}
+
+
+SWIGEXPORT unsigned long long SWIGSTDCALL CSharp_switch_timer_tick_get(void * jarg1) {
+ unsigned long long jresult ;
+ switch_timer *arg1 = (switch_timer *) 0 ;
+ uint64_t result;
+
+ arg1 = (switch_timer *)jarg1;
+ result = (uint64_t) ((arg1)->tick);
+ jresult = result;
return jresult;
}
}
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_pass_sdp(void * jarg1, void * jarg2, char * jarg3) {
+ int jresult ;
+ switch_channel_t *arg1 = (switch_channel_t *) 0 ;
+ switch_channel_t *arg2 = (switch_channel_t *) 0 ;
+ char *arg3 = (char *) 0 ;
+ switch_status_t result;
+
+ arg1 = (switch_channel_t *)jarg1;
+ arg2 = (switch_channel_t *)jarg2;
+ arg3 = (char *)jarg3;
+ result = (switch_status_t)switch_channel_pass_sdp(arg1,arg2,(char const *)arg3);
+ jresult = result;
+ return jresult;
+}
+
+
SWIGEXPORT int SWIGSTDCALL CSharp_switch_buffer_create(void * jarg1, void * jarg2, void * jarg3) {
int jresult ;
switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ;
return ret;\r
}\r
\r
- public static switch_status_t switch_core_codec_copy(switch_codec codec, switch_codec new_codec, SWIGTYPE_p_apr_pool_t pool) {\r
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_codec_copy(switch_codec.getCPtr(codec), switch_codec.getCPtr(new_codec), SWIGTYPE_p_apr_pool_t.getCPtr(pool));\r
+ public static switch_status_t switch_core_codec_copy(switch_codec codec, switch_codec new_codec, switch_codec_settings codec_settings, SWIGTYPE_p_apr_pool_t pool) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_codec_copy(switch_codec.getCPtr(codec), switch_codec.getCPtr(new_codec), switch_codec_settings.getCPtr(codec_settings), SWIGTYPE_p_apr_pool_t.getCPtr(pool));\r
return ret;\r
}\r
\r
return ret;\r
}\r
\r
+ public static string switch_core_mime_type2ext(string type) {\r
+ string ret = freeswitchPINVOKE.switch_core_mime_type2ext(type);\r
+ return ret;\r
+ }\r
+\r
public static switch_status_t switch_core_mime_add_type(string type, string ext) {\r
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_mime_add_type(type, ext);\r
return ret;\r
return ret;\r
}\r
\r
+ public static switch_status_t switch_cache_db_create_schema(SWIGTYPE_p_switch_cache_db_handle dbh, string sql, ref string err) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_cache_db_create_schema(SWIGTYPE_p_switch_cache_db_handle.getCPtr(dbh), sql, ref err);\r
+ return ret;\r
+ }\r
+\r
public static string switch_cache_db_execute_sql2str(SWIGTYPE_p_switch_cache_db_handle dbh, string sql, string str, uint len, ref string err) {\r
string ret = freeswitchPINVOKE.switch_cache_db_execute_sql2str(SWIGTYPE_p_switch_cache_db_handle.getCPtr(dbh), sql, str, len, ref err);\r
return ret;\r
return ret;\r
}\r
\r
+ public static switch_bool_t switch_is_leading_number(string str) {\r
+ switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_is_leading_number(str);\r
+ return ret;\r
+ }\r
+\r
public static string switch_find_parameter(string str, string param, SWIGTYPE_p_apr_pool_t pool) {\r
string ret = freeswitchPINVOKE.switch_find_parameter(str, param, SWIGTYPE_p_apr_pool_t.getCPtr(pool));\r
return ret;\r
return ret;\r
}\r
\r
+ public static int switch_errno_is_break(int errcode) {\r
+ int ret = freeswitchPINVOKE.switch_errno_is_break(errcode);\r
+ return ret;\r
+ }\r
+\r
public static string switch_priority_name(switch_priority_t priority) {\r
string ret = freeswitchPINVOKE.switch_priority_name((int)priority);\r
return ret;\r
return ret;\r
}\r
\r
+ public static int switch_needs_url_encode(string s) {\r
+ int ret = freeswitchPINVOKE.switch_needs_url_encode(s);\r
+ return ret;\r
+ }\r
+\r
public static string switch_url_encode(string url, string buf, uint len) {\r
string ret = freeswitchPINVOKE.switch_url_encode(url, buf, len);\r
return ret;\r
return ret;\r
}\r
\r
+ public static switch_status_t switch_channel_pass_sdp(SWIGTYPE_p_switch_channel from_channel, SWIGTYPE_p_switch_channel to_channel, string sdp) {\r
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_pass_sdp(SWIGTYPE_p_switch_channel.getCPtr(from_channel), SWIGTYPE_p_switch_channel.getCPtr(to_channel), sdp);\r
+ return ret;\r
+ }\r
+\r
public static switch_status_t switch_buffer_create(SWIGTYPE_p_apr_pool_t pool, SWIGTYPE_p_p_switch_buffer buffer, SWIGTYPE_p_switch_size_t max_len) {\r
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_buffer_create(SWIGTYPE_p_apr_pool_t.getCPtr(pool), SWIGTYPE_p_p_switch_buffer.getCPtr(buffer), SWIGTYPE_p_switch_size_t.getCPtr(max_len));\r
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();\r
public static readonly int MESSAGE_STRING_ARG_MAX = freeswitchPINVOKE.MESSAGE_STRING_ARG_MAX_get();\r
public static readonly int CACHE_DB_LEN = freeswitchPINVOKE.CACHE_DB_LEN_get();\r
public static readonly int SWITCH_CMD_CHUNK_LEN = freeswitchPINVOKE.SWITCH_CMD_CHUNK_LEN_get();\r
+ public static readonly string SWITCH_URL_UNSAFE = freeswitchPINVOKE.SWITCH_URL_UNSAFE_get();\r
public static readonly int SWITCH_SMAX = freeswitchPINVOKE.SWITCH_SMAX_get();\r
public static readonly int SWITCH_SMIN = freeswitchPINVOKE.SWITCH_SMIN_get();\r
public static readonly int NO_EVENT_CHANNEL_ID = freeswitchPINVOKE.NO_EVENT_CHANNEL_ID_get();\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_peer_ssrc_get")]\r
public static extern uint switch_rtcp_numbers_t_peer_ssrc_get(HandleRef jarg1);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_rpt_ts_set")]\r
+ public static extern void switch_rtcp_numbers_t_last_rpt_ts_set(HandleRef jarg1, uint jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_rpt_ts_get")]\r
+ public static extern uint switch_rtcp_numbers_t_last_rpt_ts_get(HandleRef jarg1);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_ssrc_set")]\r
+ public static extern void switch_rtcp_numbers_t_ssrc_set(HandleRef jarg1, uint jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_ssrc_get")]\r
+ public static extern uint switch_rtcp_numbers_t_ssrc_get(HandleRef jarg1);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_csrc_set")]\r
+ public static extern void switch_rtcp_numbers_t_csrc_set(HandleRef jarg1, uint jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_csrc_get")]\r
+ public static extern uint switch_rtcp_numbers_t_csrc_get(HandleRef jarg1);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_pkt_tsdiff_set")]\r
+ public static extern void switch_rtcp_numbers_t_last_pkt_tsdiff_set(HandleRef jarg1, uint jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_pkt_tsdiff_get")]\r
+ public static extern uint switch_rtcp_numbers_t_last_pkt_tsdiff_get(HandleRef jarg1);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_inter_jitter_set")]\r
+ public static extern void switch_rtcp_numbers_t_inter_jitter_set(HandleRef jarg1, double jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_inter_jitter_get")]\r
+ public static extern double switch_rtcp_numbers_t_inter_jitter_get(HandleRef jarg1);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_rpt_ext_seq_set")]\r
+ public static extern void switch_rtcp_numbers_t_last_rpt_ext_seq_set(HandleRef jarg1, uint jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_rpt_ext_seq_get")]\r
+ public static extern uint switch_rtcp_numbers_t_last_rpt_ext_seq_get(HandleRef jarg1);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_rpt_cycle_set")]\r
+ public static extern void switch_rtcp_numbers_t_last_rpt_cycle_set(HandleRef jarg1, ushort jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_rpt_cycle_get")]\r
+ public static extern ushort switch_rtcp_numbers_t_last_rpt_cycle_get(HandleRef jarg1);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_period_pkt_count_set")]\r
+ public static extern void switch_rtcp_numbers_t_period_pkt_count_set(HandleRef jarg1, ushort jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_period_pkt_count_get")]\r
+ public static extern ushort switch_rtcp_numbers_t_period_pkt_count_get(HandleRef jarg1);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_pkt_count_set")]\r
+ public static extern void switch_rtcp_numbers_t_pkt_count_set(HandleRef jarg1, ushort jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_pkt_count_get")]\r
+ public static extern ushort switch_rtcp_numbers_t_pkt_count_get(HandleRef jarg1);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_rtcp_rtp_count_set")]\r
+ public static extern void switch_rtcp_numbers_t_rtcp_rtp_count_set(HandleRef jarg1, uint jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_rtcp_rtp_count_get")]\r
+ public static extern uint switch_rtcp_numbers_t_rtcp_rtp_count_get(HandleRef jarg1);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_high_ext_seq_recv_set")]\r
+ public static extern void switch_rtcp_numbers_t_high_ext_seq_recv_set(HandleRef jarg1, uint jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_high_ext_seq_recv_get")]\r
+ public static extern uint switch_rtcp_numbers_t_high_ext_seq_recv_get(HandleRef jarg1);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_cycle_set")]\r
+ public static extern void switch_rtcp_numbers_t_cycle_set(HandleRef jarg1, ushort jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_cycle_get")]\r
+ public static extern ushort switch_rtcp_numbers_t_cycle_get(HandleRef jarg1);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_bad_seq_set")]\r
+ public static extern void switch_rtcp_numbers_t_bad_seq_set(HandleRef jarg1, uint jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_bad_seq_get")]\r
+ public static extern uint switch_rtcp_numbers_t_bad_seq_get(HandleRef jarg1);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_base_seq_set")]\r
+ public static extern void switch_rtcp_numbers_t_base_seq_set(HandleRef jarg1, ushort jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_base_seq_get")]\r
+ public static extern ushort switch_rtcp_numbers_t_base_seq_get(HandleRef jarg1);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_cum_lost_set")]\r
+ public static extern void switch_rtcp_numbers_t_cum_lost_set(HandleRef jarg1, uint jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_cum_lost_get")]\r
+ public static extern uint switch_rtcp_numbers_t_cum_lost_get(HandleRef jarg1);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_recv_lsr_local_set")]\r
+ public static extern void switch_rtcp_numbers_t_last_recv_lsr_local_set(HandleRef jarg1, uint jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_recv_lsr_local_get")]\r
+ public static extern uint switch_rtcp_numbers_t_last_recv_lsr_local_get(HandleRef jarg1);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_recv_lsr_peer_set")]\r
+ public static extern void switch_rtcp_numbers_t_last_recv_lsr_peer_set(HandleRef jarg1, uint jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_recv_lsr_peer_get")]\r
+ public static extern uint switch_rtcp_numbers_t_last_recv_lsr_peer_get(HandleRef jarg1);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_init_set")]\r
+ public static extern void switch_rtcp_numbers_t_init_set(HandleRef jarg1, uint jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_init_get")]\r
+ public static extern uint switch_rtcp_numbers_t_init_get(HandleRef jarg1);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_rtcp_numbers_t")]\r
public static extern IntPtr new_switch_rtcp_numbers_t();\r
\r
public static extern int switch_core_codec_init_with_bitrate(HandleRef jarg1, string jarg2, string jarg3, uint jarg4, int jarg5, int jarg6, uint jarg7, uint jarg8, HandleRef jarg9, HandleRef jarg10);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_copy")]\r
- public static extern int switch_core_codec_copy(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3);\r
+ public static extern int switch_core_codec_copy(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_parse_fmtp")]\r
public static extern int switch_core_codec_parse_fmtp(string jarg1, string jarg2, uint jarg3, HandleRef jarg4);\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_mime_ext2type")]\r
public static extern string switch_core_mime_ext2type(string jarg1);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_core_mime_type2ext")]\r
+ public static extern string switch_core_mime_type2ext(string jarg1);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_mime_add_type")]\r
public static extern int switch_core_mime_add_type(string jarg1, string jarg2);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp__switch_cache_db_get_db_handle_dsn")]\r
public static extern int _switch_cache_db_get_db_handle_dsn(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_create_schema")]\r
+ public static extern int switch_cache_db_create_schema(HandleRef jarg1, string jarg2, ref string jarg3);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_execute_sql2str")]\r
public static extern string switch_cache_db_execute_sql2str(HandleRef jarg1, string jarg2, string jarg3, uint jarg4, ref string jarg5);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_console_execute")]\r
public static extern int switch_console_execute(string jarg1, int jarg2, HandleRef jarg3);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_URL_UNSAFE_get")]\r
+ public static extern string SWITCH_URL_UNSAFE_get();\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_toupper")]\r
public static extern uint switch_toupper(uint jarg1);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_is_number")]\r
public static extern int switch_is_number(string jarg1);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_is_leading_number")]\r
+ public static extern int switch_is_leading_number(string jarg1);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_find_parameter")]\r
public static extern string switch_find_parameter(string jarg1, string jarg2, HandleRef jarg3);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_build_uri")]\r
public static extern int switch_build_uri(string jarg1, HandleRef jarg2, string jarg3, string jarg4, HandleRef jarg5, int jarg6);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_errno_is_break")]\r
+ public static extern int switch_errno_is_break(int jarg1);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_priority_name")]\r
public static extern string switch_priority_name(int jarg1);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_util_quote_shell_arg_pool")]\r
public static extern string switch_util_quote_shell_arg_pool(string jarg1, HandleRef jarg2);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_needs_url_encode")]\r
+ public static extern int switch_needs_url_encode(string jarg1);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_url_encode")]\r
public static extern string switch_url_encode(string jarg1, string jarg2, uint jarg3);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_timer_diff_get")]\r
public static extern IntPtr switch_timer_diff_get(HandleRef jarg1);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_start_set")]\r
+ public static extern void switch_timer_start_set(HandleRef jarg1, HandleRef jarg2);\r
+\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_start_get")]\r
+ public static extern IntPtr switch_timer_start_get(HandleRef jarg1);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_timer_tick_set")]\r
- public static extern void switch_timer_tick_set(HandleRef jarg1, HandleRef jarg2);\r
+ public static extern void switch_timer_tick_set(HandleRef jarg1, ulong jarg2);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_timer_tick_get")]\r
- public static extern IntPtr switch_timer_tick_get(HandleRef jarg1);\r
+ public static extern ulong switch_timer_tick_get(HandleRef jarg1);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_timer")]\r
public static extern IntPtr new_switch_timer();\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_device_state2str")]\r
public static extern string switch_channel_device_state2str(int jarg1);\r
\r
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_pass_sdp")]\r
+ public static extern int switch_channel_pass_sdp(HandleRef jarg1, HandleRef jarg2, string jarg3);\r
+\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_create")]\r
public static extern int switch_buffer_create(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3);\r
\r
CF_WINNER,\r
CF_CONTROLLED,\r
CF_PROXY_MODE,\r
+ CF_PROXY_OFF,\r
CF_SUSPEND,\r
CF_EVENT_PARSE,\r
CF_GEN_RINGBACK,\r
SCF_CORE_NON_SQLITE_DB_REQ = (1 << 20),\r
SCF_DEBUG_SQL = (1 << 21),\r
SCF_API_EXPANSION = (1 << 22),\r
- SCF_SESSION_THREAD_POOL = (1 << 23)\r
+ SCF_SESSION_THREAD_POOL = (1 << 23),\r
+ SCF_DIALPLAN_TIMESTAMPS = (1 << 24)\r
}\r
\r
}\r
SWITCH_MESSAGE_INDICATE_STUN_ERROR,\r
SWITCH_MESSAGE_INDICATE_MEDIA_RENEG,\r
SWITCH_MESSAGE_INDICATE_KEEPALIVE,\r
+ SWITCH_MESSAGE_INDICATE_HARD_MUTE,\r
SWITCH_MESSAGE_REFER_EVENT,\r
SWITCH_MESSAGE_ANSWER_EVENT,\r
SWITCH_MESSAGE_PROGRESS_EVENT,\r
ED_MUX_READ = (1 << 0),\r
ED_MUX_WRITE = (1 << 1),\r
ED_DTMF = (1 << 2),\r
- ED_COPY_DISPLAY = (1 << 3)\r
+ ED_COPY_DISPLAY = (1 << 3),\r
+ ED_BRIDGE_READ = (1 << 4),\r
+ ED_BRIDGE_WRITE = (1 << 5)\r
}\r
\r
}\r
SMF_HOLD_BLEG = (1 << 5),\r
SMF_IMMEDIATE = (1 << 6),\r
SMF_EXEC_INLINE = (1 << 7),\r
- SMF_PRIORITY = (1 << 8)\r
+ SMF_PRIORITY = (1 << 8),\r
+ SMF_REPLYONLY_A = (1 << 9),\r
+ SMF_REPLYONLY_B = (1 << 10)\r
}\r
\r
}\r
} \r
}\r
\r
+ public uint last_rpt_ts {\r
+ set {\r
+ freeswitchPINVOKE.switch_rtcp_numbers_t_last_rpt_ts_set(swigCPtr, value);\r
+ } \r
+ get {\r
+ uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_last_rpt_ts_get(swigCPtr);\r
+ return ret;\r
+ } \r
+ }\r
+\r
+ public uint ssrc {\r
+ set {\r
+ freeswitchPINVOKE.switch_rtcp_numbers_t_ssrc_set(swigCPtr, value);\r
+ } \r
+ get {\r
+ uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_ssrc_get(swigCPtr);\r
+ return ret;\r
+ } \r
+ }\r
+\r
+ public uint csrc {\r
+ set {\r
+ freeswitchPINVOKE.switch_rtcp_numbers_t_csrc_set(swigCPtr, value);\r
+ } \r
+ get {\r
+ uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_csrc_get(swigCPtr);\r
+ return ret;\r
+ } \r
+ }\r
+\r
+ public uint last_pkt_tsdiff {\r
+ set {\r
+ freeswitchPINVOKE.switch_rtcp_numbers_t_last_pkt_tsdiff_set(swigCPtr, value);\r
+ } \r
+ get {\r
+ uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_last_pkt_tsdiff_get(swigCPtr);\r
+ return ret;\r
+ } \r
+ }\r
+\r
+ public double inter_jitter {\r
+ set {\r
+ freeswitchPINVOKE.switch_rtcp_numbers_t_inter_jitter_set(swigCPtr, value);\r
+ } \r
+ get {\r
+ double ret = freeswitchPINVOKE.switch_rtcp_numbers_t_inter_jitter_get(swigCPtr);\r
+ return ret;\r
+ } \r
+ }\r
+\r
+ public uint last_rpt_ext_seq {\r
+ set {\r
+ freeswitchPINVOKE.switch_rtcp_numbers_t_last_rpt_ext_seq_set(swigCPtr, value);\r
+ } \r
+ get {\r
+ uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_last_rpt_ext_seq_get(swigCPtr);\r
+ return ret;\r
+ } \r
+ }\r
+\r
+ public ushort last_rpt_cycle {\r
+ set {\r
+ freeswitchPINVOKE.switch_rtcp_numbers_t_last_rpt_cycle_set(swigCPtr, value);\r
+ } \r
+ get {\r
+ ushort ret = freeswitchPINVOKE.switch_rtcp_numbers_t_last_rpt_cycle_get(swigCPtr);\r
+ return ret;\r
+ } \r
+ }\r
+\r
+ public ushort period_pkt_count {\r
+ set {\r
+ freeswitchPINVOKE.switch_rtcp_numbers_t_period_pkt_count_set(swigCPtr, value);\r
+ } \r
+ get {\r
+ ushort ret = freeswitchPINVOKE.switch_rtcp_numbers_t_period_pkt_count_get(swigCPtr);\r
+ return ret;\r
+ } \r
+ }\r
+\r
+ public ushort pkt_count {\r
+ set {\r
+ freeswitchPINVOKE.switch_rtcp_numbers_t_pkt_count_set(swigCPtr, value);\r
+ } \r
+ get {\r
+ ushort ret = freeswitchPINVOKE.switch_rtcp_numbers_t_pkt_count_get(swigCPtr);\r
+ return ret;\r
+ } \r
+ }\r
+\r
+ public uint rtcp_rtp_count {\r
+ set {\r
+ freeswitchPINVOKE.switch_rtcp_numbers_t_rtcp_rtp_count_set(swigCPtr, value);\r
+ } \r
+ get {\r
+ uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_rtcp_rtp_count_get(swigCPtr);\r
+ return ret;\r
+ } \r
+ }\r
+\r
+ public uint high_ext_seq_recv {\r
+ set {\r
+ freeswitchPINVOKE.switch_rtcp_numbers_t_high_ext_seq_recv_set(swigCPtr, value);\r
+ } \r
+ get {\r
+ uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_high_ext_seq_recv_get(swigCPtr);\r
+ return ret;\r
+ } \r
+ }\r
+\r
+ public ushort cycle {\r
+ set {\r
+ freeswitchPINVOKE.switch_rtcp_numbers_t_cycle_set(swigCPtr, value);\r
+ } \r
+ get {\r
+ ushort ret = freeswitchPINVOKE.switch_rtcp_numbers_t_cycle_get(swigCPtr);\r
+ return ret;\r
+ } \r
+ }\r
+\r
+ public uint bad_seq {\r
+ set {\r
+ freeswitchPINVOKE.switch_rtcp_numbers_t_bad_seq_set(swigCPtr, value);\r
+ } \r
+ get {\r
+ uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_bad_seq_get(swigCPtr);\r
+ return ret;\r
+ } \r
+ }\r
+\r
+ public ushort base_seq {\r
+ set {\r
+ freeswitchPINVOKE.switch_rtcp_numbers_t_base_seq_set(swigCPtr, value);\r
+ } \r
+ get {\r
+ ushort ret = freeswitchPINVOKE.switch_rtcp_numbers_t_base_seq_get(swigCPtr);\r
+ return ret;\r
+ } \r
+ }\r
+\r
+ public uint cum_lost {\r
+ set {\r
+ freeswitchPINVOKE.switch_rtcp_numbers_t_cum_lost_set(swigCPtr, value);\r
+ } \r
+ get {\r
+ uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_cum_lost_get(swigCPtr);\r
+ return ret;\r
+ } \r
+ }\r
+\r
+ public uint last_recv_lsr_local {\r
+ set {\r
+ freeswitchPINVOKE.switch_rtcp_numbers_t_last_recv_lsr_local_set(swigCPtr, value);\r
+ } \r
+ get {\r
+ uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_last_recv_lsr_local_get(swigCPtr);\r
+ return ret;\r
+ } \r
+ }\r
+\r
+ public uint last_recv_lsr_peer {\r
+ set {\r
+ freeswitchPINVOKE.switch_rtcp_numbers_t_last_recv_lsr_peer_set(swigCPtr, value);\r
+ } \r
+ get {\r
+ uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_last_recv_lsr_peer_get(swigCPtr);\r
+ return ret;\r
+ } \r
+ }\r
+\r
+ public uint init {\r
+ set {\r
+ freeswitchPINVOKE.switch_rtcp_numbers_t_init_set(swigCPtr, value);\r
+ } \r
+ get {\r
+ uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_init_get(swigCPtr);\r
+ return ret;\r
+ } \r
+ }\r
+\r
public switch_rtcp_numbers_t() : this(freeswitchPINVOKE.new_switch_rtcp_numbers_t(), true) {\r
}\r
\r
RTP_BUG_GEN_ONE_GEN_ALL = (1 << 8),\r
RTP_BUG_CHANGE_SSRC_ON_MARKER = (1 << 9),\r
RTP_BUG_FLUSH_JB_ON_DTMF = (1 << 10),\r
- RTP_BUG_ACCEPT_ANY_PAYLOAD = (1 << 11)\r
+ RTP_BUG_ACCEPT_ANY_PAYLOAD = (1 << 11),\r
+ RTP_BUG_ALWAYS_AUTO_ADJUST = (1 << 12)\r
}\r
\r
}\r
SWITCH_RTP_FLAG_FIR,\r
SWITCH_RTP_FLAG_PLI,\r
SWITCH_RTP_FLAG_RESET,\r
+ SWITCH_RTP_FLAG_MUTE,\r
SWITCH_RTP_FLAG_INVALID\r
}\r
\r
} \r
}\r
\r
- public SWIGTYPE_p_switch_size_t tick {\r
+ public SWIGTYPE_p_switch_time_t start {\r
set {\r
- freeswitchPINVOKE.switch_timer_tick_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value));\r
+ freeswitchPINVOKE.switch_timer_start_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value));\r
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();\r
} \r
get {\r
- SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_timer_tick_get(swigCPtr), true);\r
+ SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_timer_start_get(swigCPtr), true);\r
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();\r
return ret;\r
} \r
}\r
\r
+ public ulong tick {\r
+ set {\r
+ freeswitchPINVOKE.switch_timer_tick_set(swigCPtr, value);\r
+ } \r
+ get {\r
+ ulong ret = freeswitchPINVOKE.switch_timer_tick_get(swigCPtr);\r
+ return ret;\r
+ } \r
+ }\r
+\r
public switch_timer() : this(freeswitchPINVOKE.new_switch_timer(), true) {\r
}\r
\r