}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t_direction_set(void * jarg1, int jarg2) {
+ switch_device_node_t *arg1 = (switch_device_node_t *) 0 ;
+ switch_call_direction_t arg2 ;
+
+ arg1 = (switch_device_node_t *)jarg1;
+ arg2 = (switch_call_direction_t)jarg2;
+ if (arg1) (arg1)->direction = arg2;
+
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_device_node_t_direction_get(void * jarg1) {
+ int jresult ;
+ switch_device_node_t *arg1 = (switch_device_node_t *) 0 ;
+ switch_call_direction_t result;
+
+ arg1 = (switch_device_node_t *)jarg1;
+ result = (switch_call_direction_t) ((arg1)->direction);
+ jresult = result;
+ return jresult;
+}
+
+
SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t_parent_set(void * jarg1, void * jarg2) {
switch_device_node_t *arg1 = (switch_device_node_t *) 0 ;
switch_device_record_s *arg2 = (switch_device_record_s *) 0 ;
}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_total_in_set(void * jarg1, unsigned long jarg2) {
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->total_in = arg2;
+
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_total_in_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ result = (uint32_t) ((arg1)->total_in);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_total_out_set(void * jarg1, unsigned long jarg2) {
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->total_out = arg2;
+
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_total_out_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ result = (uint32_t) ((arg1)->total_out);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_offhook_set(void * jarg1, unsigned long jarg2) {
switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
uint32_t arg2 ;
}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_offhook_in_set(void * jarg1, unsigned long jarg2) {
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->offhook_in = arg2;
+
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_offhook_in_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ result = (uint32_t) ((arg1)->offhook_in);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_offhook_out_set(void * jarg1, unsigned long jarg2) {
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->offhook_out = arg2;
+
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_offhook_out_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ result = (uint32_t) ((arg1)->offhook_out);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_active_set(void * jarg1, unsigned long jarg2) {
switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
uint32_t arg2 ;
}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_active_in_set(void * jarg1, unsigned long jarg2) {
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->active_in = arg2;
+
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_active_in_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ result = (uint32_t) ((arg1)->active_in);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_active_out_set(void * jarg1, unsigned long jarg2) {
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->active_out = arg2;
+
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_active_out_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ result = (uint32_t) ((arg1)->active_out);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_held_set(void * jarg1, unsigned long jarg2) {
switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
uint32_t arg2 ;
}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_held_in_set(void * jarg1, unsigned long jarg2) {
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->held_in = arg2;
+
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_held_in_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ result = (uint32_t) ((arg1)->held_in);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_held_out_set(void * jarg1, unsigned long jarg2) {
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->held_out = arg2;
+
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_held_out_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ result = (uint32_t) ((arg1)->held_out);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_hup_set(void * jarg1, unsigned long jarg2) {
switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
uint32_t arg2 ;
}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_hup_in_set(void * jarg1, unsigned long jarg2) {
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->hup_in = arg2;
+
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_hup_in_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ result = (uint32_t) ((arg1)->hup_in);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_hup_out_set(void * jarg1, unsigned long jarg2) {
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->hup_out = arg2;
+
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_hup_out_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ result = (uint32_t) ((arg1)->hup_out);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_ringing_set(void * jarg1, unsigned long jarg2) {
switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
uint32_t arg2 ;
}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_ringing_in_set(void * jarg1, unsigned long jarg2) {
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->ringing_in = arg2;
+
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_ringing_in_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ result = (uint32_t) ((arg1)->ringing_in);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_ringing_out_set(void * jarg1, unsigned long jarg2) {
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->ringing_out = arg2;
+
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_ringing_out_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ result = (uint32_t) ((arg1)->ringing_out);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_early_set(void * jarg1, unsigned long jarg2) {
switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
uint32_t arg2 ;
}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_early_in_set(void * jarg1, unsigned long jarg2) {
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->early_in = arg2;
+
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_early_in_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ result = (uint32_t) ((arg1)->early_in);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_early_out_set(void * jarg1, unsigned long jarg2) {
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->early_out = arg2;
+
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_early_out_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ result = (uint32_t) ((arg1)->early_out);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_ring_wait_set(void * jarg1, unsigned long jarg2) {
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->ring_wait = arg2;
+
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_ring_wait_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_device_stats_t *)jarg1;
+ result = (uint32_t) ((arg1)->ring_wait);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_device_stats_t() {
void * jresult ;
switch_device_stats_t *result = 0 ;
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_device_record_t_uuid_get(void * jarg1) {
char * jresult ;
switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
- char *result = 0 ;
+ char *result = 0 ;
+
+ arg1 = (switch_device_record_t *)jarg1;
+ result = (char *) ((arg1)->uuid);
+ jresult = SWIG_csharp_string_callback((const char *)result);
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_refs_set(void * jarg1, int jarg2) {
+ switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
+ int arg2 ;
+
+ arg1 = (switch_device_record_t *)jarg1;
+ arg2 = (int)jarg2;
+ if (arg1) (arg1)->refs = arg2;
+
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_device_record_t_refs_get(void * jarg1) {
+ int jresult ;
+ switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
+ int result;
+
+ arg1 = (switch_device_record_t *)jarg1;
+ result = (int) ((arg1)->refs);
+ jresult = result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_stats_set(void * jarg1, void * jarg2) {
+ switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
+ switch_device_stats_t *arg2 = (switch_device_stats_t *) 0 ;
+
+ arg1 = (switch_device_record_t *)jarg1;
+ arg2 = (switch_device_stats_t *)jarg2;
+ if (arg1) (arg1)->stats = *arg2;
+
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_stats_get(void * jarg1) {
+ void * jresult ;
+ switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
+ switch_device_stats_t *result = 0 ;
+
+ arg1 = (switch_device_record_t *)jarg1;
+ result = (switch_device_stats_t *)& ((arg1)->stats);
+ jresult = (void *)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_last_stats_set(void * jarg1, void * jarg2) {
+ switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
+ switch_device_stats_t *arg2 = (switch_device_stats_t *) 0 ;
+
+ arg1 = (switch_device_record_t *)jarg1;
+ arg2 = (switch_device_stats_t *)jarg2;
+ if (arg1) (arg1)->last_stats = *arg2;
+
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_last_stats_get(void * jarg1) {
+ void * jresult ;
+ switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
+ switch_device_stats_t *result = 0 ;
+
+ arg1 = (switch_device_record_t *)jarg1;
+ result = (switch_device_stats_t *)& ((arg1)->last_stats);
+ jresult = (void *)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_state_set(void * jarg1, int jarg2) {
+ switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
+ switch_device_state_t arg2 ;
+
+ arg1 = (switch_device_record_t *)jarg1;
+ arg2 = (switch_device_state_t)jarg2;
+ if (arg1) (arg1)->state = arg2;
+
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_device_record_t_state_get(void * jarg1) {
+ int jresult ;
+ switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
+ switch_device_state_t result;
+
+ arg1 = (switch_device_record_t *)jarg1;
+ result = (switch_device_state_t) ((arg1)->state);
+ jresult = result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_last_state_set(void * jarg1, int jarg2) {
+ switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
+ switch_device_state_t arg2 ;
+
+ arg1 = (switch_device_record_t *)jarg1;
+ arg2 = (switch_device_state_t)jarg2;
+ if (arg1) (arg1)->last_state = arg2;
+
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_device_record_t_last_state_get(void * jarg1) {
+ int jresult ;
+ switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
+ switch_device_state_t result;
+
+ arg1 = (switch_device_record_t *)jarg1;
+ result = (switch_device_state_t) ((arg1)->last_state);
+ jresult = result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_active_start_set(void * jarg1, void * jarg2) {
+ switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
+ switch_time_t arg2 ;
+ switch_time_t *argp2 ;
+
+ arg1 = (switch_device_record_t *)jarg1;
+ argp2 = (switch_time_t *)jarg2;
+ if (!argp2) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0);
+ return ;
+ }
+ arg2 = *argp2;
+ if (arg1) (arg1)->active_start = arg2;
+
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_active_start_get(void * jarg1) {
+ void * jresult ;
+ switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
+ switch_time_t result;
arg1 = (switch_device_record_t *)jarg1;
- result = (char *) ((arg1)->uuid);
- jresult = SWIG_csharp_string_callback((const char *)result);
+ result = ((arg1)->active_start);
+ jresult = new switch_time_t((switch_time_t &)result);
return jresult;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_refs_set(void * jarg1, int jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_active_stop_set(void * jarg1, void * jarg2) {
switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
- int arg2 ;
+ switch_time_t arg2 ;
+ switch_time_t *argp2 ;
arg1 = (switch_device_record_t *)jarg1;
- arg2 = (int)jarg2;
- if (arg1) (arg1)->refs = arg2;
+ argp2 = (switch_time_t *)jarg2;
+ if (!argp2) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0);
+ return ;
+ }
+ arg2 = *argp2;
+ if (arg1) (arg1)->active_stop = arg2;
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_device_record_t_refs_get(void * jarg1) {
- int jresult ;
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_active_stop_get(void * jarg1) {
+ void * jresult ;
switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
- int result;
+ switch_time_t result;
arg1 = (switch_device_record_t *)jarg1;
- result = (int) ((arg1)->refs);
- jresult = result;
+ result = ((arg1)->active_stop);
+ jresult = new switch_time_t((switch_time_t &)result);
return jresult;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_stats_set(void * jarg1, void * jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_last_call_time_set(void * jarg1, void * jarg2) {
switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
- switch_device_stats_t *arg2 = (switch_device_stats_t *) 0 ;
+ switch_time_t arg2 ;
+ switch_time_t *argp2 ;
arg1 = (switch_device_record_t *)jarg1;
- arg2 = (switch_device_stats_t *)jarg2;
- if (arg1) (arg1)->stats = *arg2;
+ argp2 = (switch_time_t *)jarg2;
+ if (!argp2) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0);
+ return ;
+ }
+ arg2 = *argp2;
+ if (arg1) (arg1)->last_call_time = arg2;
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_stats_get(void * jarg1) {
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_last_call_time_get(void * jarg1) {
void * jresult ;
switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
- switch_device_stats_t *result = 0 ;
+ switch_time_t result;
arg1 = (switch_device_record_t *)jarg1;
- result = (switch_device_stats_t *)& ((arg1)->stats);
- jresult = (void *)result;
+ result = ((arg1)->last_call_time);
+ jresult = new switch_time_t((switch_time_t &)result);
return jresult;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_state_set(void * jarg1, int jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_ring_start_set(void * jarg1, void * jarg2) {
switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
- switch_device_state_t arg2 ;
+ switch_time_t arg2 ;
+ switch_time_t *argp2 ;
arg1 = (switch_device_record_t *)jarg1;
- arg2 = (switch_device_state_t)jarg2;
- if (arg1) (arg1)->state = arg2;
+ argp2 = (switch_time_t *)jarg2;
+ if (!argp2) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0);
+ return ;
+ }
+ arg2 = *argp2;
+ if (arg1) (arg1)->ring_start = arg2;
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_device_record_t_state_get(void * jarg1) {
- int jresult ;
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_ring_start_get(void * jarg1) {
+ void * jresult ;
switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
- switch_device_state_t result;
+ switch_time_t result;
arg1 = (switch_device_record_t *)jarg1;
- result = (switch_device_state_t) ((arg1)->state);
- jresult = result;
+ result = ((arg1)->ring_start);
+ jresult = new switch_time_t((switch_time_t &)result);
return jresult;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_last_state_set(void * jarg1, int jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_ring_stop_set(void * jarg1, void * jarg2) {
switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
- switch_device_state_t arg2 ;
+ switch_time_t arg2 ;
+ switch_time_t *argp2 ;
arg1 = (switch_device_record_t *)jarg1;
- arg2 = (switch_device_state_t)jarg2;
- if (arg1) (arg1)->last_state = arg2;
+ argp2 = (switch_time_t *)jarg2;
+ if (!argp2) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0);
+ return ;
+ }
+ arg2 = *argp2;
+ if (arg1) (arg1)->ring_stop = arg2;
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_device_record_t_last_state_get(void * jarg1) {
- int jresult ;
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_ring_stop_get(void * jarg1) {
+ void * jresult ;
switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
- switch_device_state_t result;
+ switch_time_t result;
arg1 = (switch_device_record_t *)jarg1;
- result = (switch_device_state_t) ((arg1)->last_state);
- jresult = result;
+ result = ((arg1)->ring_stop);
+ jresult = new switch_time_t((switch_time_t &)result);
return jresult;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_active_start_set(void * jarg1, void * jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_hold_start_set(void * jarg1, void * jarg2) {
switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
switch_time_t arg2 ;
switch_time_t *argp2 ;
return ;
}
arg2 = *argp2;
- if (arg1) (arg1)->active_start = arg2;
+ if (arg1) (arg1)->hold_start = arg2;
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_active_start_get(void * jarg1) {
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_hold_start_get(void * jarg1) {
void * jresult ;
switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
switch_time_t result;
arg1 = (switch_device_record_t *)jarg1;
- result = ((arg1)->active_start);
+ result = ((arg1)->hold_start);
jresult = new switch_time_t((switch_time_t &)result);
return jresult;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_active_stop_set(void * jarg1, void * jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_hold_stop_set(void * jarg1, void * jarg2) {
switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
switch_time_t arg2 ;
switch_time_t *argp2 ;
return ;
}
arg2 = *argp2;
- if (arg1) (arg1)->active_stop = arg2;
+ if (arg1) (arg1)->hold_stop = arg2;
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_active_stop_get(void * jarg1) {
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_hold_stop_get(void * jarg1) {
void * jresult ;
switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
switch_time_t result;
arg1 = (switch_device_record_t *)jarg1;
- result = ((arg1)->active_stop);
+ result = ((arg1)->hold_stop);
jresult = new switch_time_t((switch_time_t &)result);
return jresult;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_last_call_time_set(void * jarg1, void * jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_call_start_set(void * jarg1, void * jarg2) {
switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
switch_time_t arg2 ;
switch_time_t *argp2 ;
return ;
}
arg2 = *argp2;
- if (arg1) (arg1)->last_call_time = arg2;
+ if (arg1) (arg1)->call_start = arg2;
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_last_call_time_get(void * jarg1) {
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_call_start_get(void * jarg1) {
void * jresult ;
switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
switch_time_t result;
arg1 = (switch_device_record_t *)jarg1;
- result = ((arg1)->last_call_time);
+ result = ((arg1)->call_start);
jresult = new switch_time_t((switch_time_t &)result);
return jresult;
}
}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_user_data_set(void * jarg1, void * jarg2) {
+ switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
+ void *arg2 = (void *) 0 ;
+
+ arg1 = (switch_device_record_t *)jarg1;
+ arg2 = (void *)jarg2;
+ if (arg1) (arg1)->user_data = arg2;
+
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_user_data_get(void * jarg1) {
+ void * jresult ;
+ switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
+ void *result = 0 ;
+
+ arg1 = (switch_device_record_t *)jarg1;
+ result = (void *) ((arg1)->user_data);
+ jresult = (void *)result;
+ return jresult;
+}
+
+
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_device_record_t() {
void * jresult ;
switch_device_record_t *result = 0 ;
SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_set_timerfd(int jarg1) {
- switch_bool_t arg1 ;
+ int arg1 ;
- arg1 = (switch_bool_t)jarg1;
+ arg1 = (int)jarg1;
switch_time_set_timerfd(arg1);
}
}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_debug_pool(void * jarg1) {
+ switch_stream_handle_t *arg1 = (switch_stream_handle_t *) 0 ;
+
+ arg1 = (switch_stream_handle_t *)jarg1;
+ switch_core_session_debug_pool(arg1);
+}
+
+
SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_module_name_set(void * jarg1, char * jarg2) {
switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ;
char *arg2 = (char *) 0 ;
}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_logical_direction_set(void * jarg1, int jarg2) {
+ switch_caller_profile *arg1 = (switch_caller_profile *) 0 ;
+ switch_call_direction_t arg2 ;
+
+ arg1 = (switch_caller_profile *)jarg1;
+ arg2 = (switch_call_direction_t)jarg2;
+ if (arg1) (arg1)->logical_direction = arg2;
+
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_caller_profile_logical_direction_get(void * jarg1) {
+ int jresult ;
+ switch_caller_profile *arg1 = (switch_caller_profile *) 0 ;
+ switch_call_direction_t result;
+
+ arg1 = (switch_caller_profile *)jarg1;
+ result = (switch_call_direction_t) ((arg1)->logical_direction);
+ jresult = result;
+ return jresult;
+}
+
+
SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_soft_set(void * jarg1, void * jarg2) {
switch_caller_profile *arg1 = (switch_caller_profile *) 0 ;
profile_node_t *arg2 = (profile_node_t *) 0 ;
}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_pmap_set(void * jarg1, void * jarg2) {
+ switch_frame *arg1 = (switch_frame *) 0 ;
+ payload_map_t *arg2 = (payload_map_t *) 0 ;
+
+ arg1 = (switch_frame *)jarg1;
+ arg2 = (payload_map_t *)jarg2;
+ if (arg1) (arg1)->pmap = arg2;
+
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_frame_pmap_get(void * jarg1) {
+ void * jresult ;
+ switch_frame *arg1 = (switch_frame *) 0 ;
+ payload_map_t *result = 0 ;
+
+ arg1 = (switch_frame *)jarg1;
+ result = (payload_map_t *) ((arg1)->pmap);
+ jresult = (void *)result;
+ return jresult;
+}
+
+
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_frame() {
void * jresult ;
switch_frame *result = 0 ;
}
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_logical_direction(void * jarg1) {
+ int jresult ;
+ switch_channel_t *arg1 = (switch_channel_t *) 0 ;
+ switch_call_direction_t result;
+
+ arg1 = (switch_channel_t *)jarg1;
+ result = (switch_call_direction_t)switch_channel_logical_direction(arg1);
+ jresult = result;
+ return jresult;
+}
+
+
SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_direction(void * jarg1, int jarg2) {
switch_channel_t *arg1 = (switch_channel_t *) 0 ;
switch_call_direction_t arg2 ;
}
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_add_alias(void * jarg1, char * jarg2, char * jarg3) {
+ int jresult ;
+ switch_live_array_t *arg1 = (switch_live_array_t *) 0 ;
+ char *arg2 = (char *) 0 ;
+ char *arg3 = (char *) 0 ;
+ switch_bool_t result;
+
+ arg1 = (switch_live_array_t *)jarg1;
+ arg2 = (char *)jarg2;
+ arg3 = (char *)jarg3;
+ result = (switch_bool_t)switch_live_array_add_alias(arg1,(char const *)arg2,(char const *)arg3);
+ jresult = result;
+ return jresult;
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_clear_alias(void * jarg1, char * jarg2, char * jarg3) {
+ int jresult ;
+ switch_live_array_t *arg1 = (switch_live_array_t *) 0 ;
+ char *arg2 = (char *) 0 ;
+ char *arg3 = (char *) 0 ;
+ switch_bool_t result;
+
+ arg1 = (switch_live_array_t *)jarg1;
+ arg2 = (char *)jarg2;
+ arg3 = (char *)jarg3;
+ result = (switch_bool_t)switch_live_array_clear_alias(arg1,(char const *)arg2,(char const *)arg3);
+ jresult = result;
+ return jresult;
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_channel_permission_verify(char * jarg1, char * jarg2) {
+ int jresult ;
+ char *arg1 = (char *) 0 ;
+ char *arg2 = (char *) 0 ;
+ switch_bool_t result;
+
+ arg1 = (char *)jarg1;
+ arg2 = (char *)jarg2;
+ result = (switch_bool_t)switch_event_channel_permission_verify((char const *)arg1,(char const *)arg2);
+ jresult = result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_channel_permission_modify(char * jarg1, char * jarg2, int jarg3) {
+ char *arg1 = (char *) 0 ;
+ char *arg2 = (char *) 0 ;
+ switch_bool_t arg3 ;
+
+ arg1 = (char *)jarg1;
+ arg2 = (char *)jarg2;
+ arg3 = (switch_bool_t)jarg3;
+ switch_event_channel_permission_modify((char const *)arg1,(char const *)arg2,arg3);
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_channel_permission_clear(char * jarg1) {
+ char *arg1 = (char *) 0 ;
+
+ arg1 = (char *)jarg1;
+ switch_event_channel_permission_clear((char const *)arg1);
+}
+
+
SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_RESAMPLE_QUALITY_get() {
int jresult ;
int result;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_recv_pt(void * jarg1, unsigned char jarg2) {
- switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
- switch_payload_t arg2 ;
-
- arg1 = (switch_rtp_t *)jarg1;
- arg2 = (switch_payload_t)jarg2;
- switch_rtp_set_recv_pt(arg1,arg2);
-}
-
-
SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_cng_pt(void * jarg1, unsigned char jarg2) {
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
switch_payload_t arg2 ;
}
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_set_payload_map(void * jarg1, void * jarg2) {
+ int jresult ;
+ switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
+ payload_map_t **arg2 = (payload_map_t **) 0 ;
+ switch_status_t result;
+
+ arg1 = (switch_rtp_t *)jarg1;
+ arg2 = (payload_map_t **)jarg2;
+ result = (switch_status_t)switch_rtp_set_payload_map(arg1,arg2);
+ jresult = result;
+ return jresult;
+}
+
+
SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_intentional_bugs(void * jarg1, int jarg2) {
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
switch_rtp_bug_flag_t arg2 ;
freeswitchPINVOKE.switch_time_set_monotonic((int)enable);
}
- public static void switch_time_set_timerfd(switch_bool_t enable) {
- freeswitchPINVOKE.switch_time_set_timerfd((int)enable);
+ public static void switch_time_set_timerfd(int enable) {
+ freeswitchPINVOKE.switch_time_set_timerfd(enable);
}
public static void switch_time_set_nanosleep(switch_bool_t enable) {
return ret;
}
+ public static void switch_core_session_debug_pool(switch_stream_handle stream) {
+ freeswitchPINVOKE.switch_core_session_debug_pool(switch_stream_handle.getCPtr(stream));
+ }
+
public static switch_status_t switch_loadable_module_init(switch_bool_t autoload) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_loadable_module_init((int)autoload);
return ret;
return ret;
}
+ public static switch_call_direction_t switch_channel_logical_direction(SWIGTYPE_p_switch_channel channel) {
+ switch_call_direction_t ret = (switch_call_direction_t)freeswitchPINVOKE.switch_channel_logical_direction(SWIGTYPE_p_switch_channel.getCPtr(channel));
+ return ret;
+ }
+
public static void switch_channel_set_direction(SWIGTYPE_p_switch_channel channel, switch_call_direction_t direction) {
freeswitchPINVOKE.switch_channel_set_direction(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)direction);
}
freeswitchPINVOKE.switch_live_array_parse_json(SWIGTYPE_p_cJSON.getCPtr(json), channel_id);
}
+ public static switch_bool_t switch_live_array_add_alias(SWIGTYPE_p_switch_live_array_s la, string event_channel, string name) {
+ switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_live_array_add_alias(SWIGTYPE_p_switch_live_array_s.getCPtr(la), event_channel, name);
+ return ret;
+ }
+
+ public static switch_bool_t switch_live_array_clear_alias(SWIGTYPE_p_switch_live_array_s la, string event_channel, string name) {
+ switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_live_array_clear_alias(SWIGTYPE_p_switch_live_array_s.getCPtr(la), event_channel, name);
+ return ret;
+ }
+
+ public static switch_bool_t switch_event_channel_permission_verify(string cookie, string event_channel) {
+ switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_event_channel_permission_verify(cookie, event_channel);
+ return ret;
+ }
+
+ public static void switch_event_channel_permission_modify(string cookie, string event_channel, switch_bool_t set) {
+ freeswitchPINVOKE.switch_event_channel_permission_modify(cookie, event_channel, (int)set);
+ }
+
+ public static void switch_event_channel_permission_clear(string cookie) {
+ freeswitchPINVOKE.switch_event_channel_permission_clear(cookie);
+ }
+
public static switch_status_t switch_resample_perform_create(SWIGTYPE_p_p_switch_audio_resampler_t new_resampler, uint from_rate, uint to_rate, uint to_size, int quality, uint channels, string file, string func, int line) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_resample_perform_create(SWIGTYPE_p_p_switch_audio_resampler_t.getCPtr(new_resampler), from_rate, to_rate, to_size, quality, channels, file, func, line);
return ret;
freeswitchPINVOKE.switch_rtp_set_telephony_recv_event(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), te);
}
- public static void switch_rtp_set_recv_pt(SWIGTYPE_p_switch_rtp rtp_session, byte pt) {
- freeswitchPINVOKE.switch_rtp_set_recv_pt(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), pt);
- }
-
public static void switch_rtp_set_cng_pt(SWIGTYPE_p_switch_rtp rtp_session, byte pt) {
freeswitchPINVOKE.switch_rtp_set_cng_pt(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), pt);
}
return ret;
}
+ public static switch_status_t switch_rtp_set_payload_map(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_p_payload_map_t pmap) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_set_payload_map(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_p_payload_map_t.getCPtr(pmap));
+ return ret;
+ }
+
public static void switch_rtp_intentional_bugs(SWIGTYPE_p_switch_rtp rtp_session, switch_rtp_bug_flag_t bugs) {
freeswitchPINVOKE.switch_rtp_intentional_bugs(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), (int)bugs);
}
[DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_hup_profile_get")]
public static extern IntPtr switch_device_node_t_hup_profile_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_direction_set")]
+ public static extern void switch_device_node_t_direction_set(HandleRef jarg1, int jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_direction_get")]
+ public static extern int switch_device_node_t_direction_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_parent_set")]
public static extern void switch_device_node_t_parent_set(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_total_get")]
public static extern uint switch_device_stats_t_total_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_total_in_set")]
+ public static extern void switch_device_stats_t_total_in_set(HandleRef jarg1, uint jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_total_in_get")]
+ public static extern uint switch_device_stats_t_total_in_get(HandleRef jarg1);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_total_out_set")]
+ public static extern void switch_device_stats_t_total_out_set(HandleRef jarg1, uint jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_total_out_get")]
+ public static extern uint switch_device_stats_t_total_out_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_offhook_set")]
public static extern void switch_device_stats_t_offhook_set(HandleRef jarg1, uint jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_offhook_get")]
public static extern uint switch_device_stats_t_offhook_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_offhook_in_set")]
+ public static extern void switch_device_stats_t_offhook_in_set(HandleRef jarg1, uint jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_offhook_in_get")]
+ public static extern uint switch_device_stats_t_offhook_in_get(HandleRef jarg1);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_offhook_out_set")]
+ public static extern void switch_device_stats_t_offhook_out_set(HandleRef jarg1, uint jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_offhook_out_get")]
+ public static extern uint switch_device_stats_t_offhook_out_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_active_set")]
public static extern void switch_device_stats_t_active_set(HandleRef jarg1, uint jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_active_get")]
public static extern uint switch_device_stats_t_active_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_active_in_set")]
+ public static extern void switch_device_stats_t_active_in_set(HandleRef jarg1, uint jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_active_in_get")]
+ public static extern uint switch_device_stats_t_active_in_get(HandleRef jarg1);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_active_out_set")]
+ public static extern void switch_device_stats_t_active_out_set(HandleRef jarg1, uint jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_active_out_get")]
+ public static extern uint switch_device_stats_t_active_out_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_held_set")]
public static extern void switch_device_stats_t_held_set(HandleRef jarg1, uint jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_held_get")]
public static extern uint switch_device_stats_t_held_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_held_in_set")]
+ public static extern void switch_device_stats_t_held_in_set(HandleRef jarg1, uint jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_held_in_get")]
+ public static extern uint switch_device_stats_t_held_in_get(HandleRef jarg1);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_held_out_set")]
+ public static extern void switch_device_stats_t_held_out_set(HandleRef jarg1, uint jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_held_out_get")]
+ public static extern uint switch_device_stats_t_held_out_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_hup_set")]
public static extern void switch_device_stats_t_hup_set(HandleRef jarg1, uint jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_hup_get")]
public static extern uint switch_device_stats_t_hup_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_hup_in_set")]
+ public static extern void switch_device_stats_t_hup_in_set(HandleRef jarg1, uint jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_hup_in_get")]
+ public static extern uint switch_device_stats_t_hup_in_get(HandleRef jarg1);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_hup_out_set")]
+ public static extern void switch_device_stats_t_hup_out_set(HandleRef jarg1, uint jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_hup_out_get")]
+ public static extern uint switch_device_stats_t_hup_out_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_ringing_set")]
public static extern void switch_device_stats_t_ringing_set(HandleRef jarg1, uint jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_ringing_get")]
public static extern uint switch_device_stats_t_ringing_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_ringing_in_set")]
+ public static extern void switch_device_stats_t_ringing_in_set(HandleRef jarg1, uint jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_ringing_in_get")]
+ public static extern uint switch_device_stats_t_ringing_in_get(HandleRef jarg1);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_ringing_out_set")]
+ public static extern void switch_device_stats_t_ringing_out_set(HandleRef jarg1, uint jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_ringing_out_get")]
+ public static extern uint switch_device_stats_t_ringing_out_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_early_set")]
public static extern void switch_device_stats_t_early_set(HandleRef jarg1, uint jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_early_get")]
public static extern uint switch_device_stats_t_early_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_early_in_set")]
+ public static extern void switch_device_stats_t_early_in_set(HandleRef jarg1, uint jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_early_in_get")]
+ public static extern uint switch_device_stats_t_early_in_get(HandleRef jarg1);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_early_out_set")]
+ public static extern void switch_device_stats_t_early_out_set(HandleRef jarg1, uint jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_early_out_get")]
+ public static extern uint switch_device_stats_t_early_out_get(HandleRef jarg1);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_ring_wait_set")]
+ public static extern void switch_device_stats_t_ring_wait_set(HandleRef jarg1, uint jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_ring_wait_get")]
+ public static extern uint switch_device_stats_t_ring_wait_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_device_stats_t")]
public static extern IntPtr new_switch_device_stats_t();
[DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_stats_get")]
public static extern IntPtr switch_device_record_t_stats_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_last_stats_set")]
+ public static extern void switch_device_record_t_last_stats_set(HandleRef jarg1, HandleRef jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_last_stats_get")]
+ public static extern IntPtr switch_device_record_t_last_stats_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_state_set")]
public static extern void switch_device_record_t_state_set(HandleRef jarg1, int jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_last_call_time_get")]
public static extern IntPtr switch_device_record_t_last_call_time_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_ring_start_set")]
+ public static extern void switch_device_record_t_ring_start_set(HandleRef jarg1, HandleRef jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_ring_start_get")]
+ public static extern IntPtr switch_device_record_t_ring_start_get(HandleRef jarg1);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_ring_stop_set")]
+ public static extern void switch_device_record_t_ring_stop_set(HandleRef jarg1, HandleRef jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_ring_stop_get")]
+ public static extern IntPtr switch_device_record_t_ring_stop_get(HandleRef jarg1);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_hold_start_set")]
+ public static extern void switch_device_record_t_hold_start_set(HandleRef jarg1, HandleRef jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_hold_start_get")]
+ public static extern IntPtr switch_device_record_t_hold_start_get(HandleRef jarg1);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_hold_stop_set")]
+ public static extern void switch_device_record_t_hold_stop_set(HandleRef jarg1, HandleRef jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_hold_stop_get")]
+ public static extern IntPtr switch_device_record_t_hold_stop_get(HandleRef jarg1);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_call_start_set")]
+ public static extern void switch_device_record_t_call_start_set(HandleRef jarg1, HandleRef jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_call_start_get")]
+ public static extern IntPtr switch_device_record_t_call_start_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_uuid_list_set")]
public static extern void switch_device_record_t_uuid_list_set(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_pool_get")]
public static extern IntPtr switch_device_record_t_pool_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_user_data_set")]
+ public static extern void switch_device_record_t_user_data_set(HandleRef jarg1, HandleRef jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_user_data_get")]
+ public static extern IntPtr switch_device_record_t_user_data_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_device_record_t")]
public static extern IntPtr new_switch_device_record_t();
[DllImport("mod_managed", EntryPoint="CSharp_switch_ice_direction")]
public static extern int switch_ice_direction(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_debug_pool")]
+ public static extern void switch_core_session_debug_pool(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_module_name_set")]
public static extern void switch_loadable_module_interface_module_name_set(HandleRef jarg1, string jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_direction_get")]
public static extern int switch_caller_profile_direction_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_logical_direction_set")]
+ public static extern void switch_caller_profile_logical_direction_set(HandleRef jarg1, int jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_logical_direction_get")]
+ public static extern int switch_caller_profile_logical_direction_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_soft_set")]
public static extern void switch_caller_profile_soft_set(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_frame_user_data_get")]
public static extern IntPtr switch_frame_user_data_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_pmap_set")]
+ public static extern void switch_frame_pmap_set(HandleRef jarg1, HandleRef jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_pmap_get")]
+ public static extern IntPtr switch_frame_pmap_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_frame")]
public static extern IntPtr new_switch_frame();
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_direction")]
public static extern int switch_channel_direction(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_logical_direction")]
+ public static extern int switch_channel_logical_direction(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_direction")]
public static extern void switch_channel_set_direction(HandleRef jarg1, int jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_parse_json")]
public static extern void switch_live_array_parse_json(HandleRef jarg1, uint jarg2);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_add_alias")]
+ public static extern int switch_live_array_add_alias(HandleRef jarg1, string jarg2, string jarg3);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_clear_alias")]
+ public static extern int switch_live_array_clear_alias(HandleRef jarg1, string jarg2, string jarg3);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_event_channel_permission_verify")]
+ public static extern int switch_event_channel_permission_verify(string jarg1, string jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_event_channel_permission_modify")]
+ public static extern void switch_event_channel_permission_modify(string jarg1, string jarg2, int jarg3);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_event_channel_permission_clear")]
+ public static extern void switch_event_channel_permission_clear(string jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_RESAMPLE_QUALITY_get")]
public static extern int SWITCH_RESAMPLE_QUALITY_get();
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_telephony_recv_event")]
public static extern void switch_rtp_set_telephony_recv_event(HandleRef jarg1, byte jarg2);
- [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_recv_pt")]
- public static extern void switch_rtp_set_recv_pt(HandleRef jarg1, byte jarg2);
-
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_cng_pt")]
public static extern void switch_rtp_set_cng_pt(HandleRef jarg1, byte jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_private")]
public static extern IntPtr switch_rtp_get_private(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_payload_map")]
+ public static extern int switch_rtp_set_payload_map(HandleRef jarg1, HandleRef jarg2);
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_intentional_bugs")]
public static extern void switch_rtp_intentional_bugs(HandleRef jarg1, int jarg2);
using System;
using System.Runtime.InteropServices;
+public class SWIGTYPE_p_payload_map_t {
+ private HandleRef swigCPtr;
+
+ internal SWIGTYPE_p_payload_map_t(IntPtr cPtr, bool futureUse) {
+ swigCPtr = new HandleRef(this, cPtr);
+ }
+
+ protected SWIGTYPE_p_payload_map_t() {
+ swigCPtr = new HandleRef(null, IntPtr.Zero);
+ }
+
+ internal static HandleRef getCPtr(SWIGTYPE_p_payload_map_t obj) {
+ return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
+ }
+}
+
+}
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org).
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+using System;
+using System.Runtime.InteropServices;
+
public class SWIGTYPE_p_p_char {
private HandleRef swigCPtr;
using System;
using System.Runtime.InteropServices;
+public class SWIGTYPE_p_p_payload_map_t {
+ private HandleRef swigCPtr;
+
+ internal SWIGTYPE_p_p_payload_map_t(IntPtr cPtr, bool futureUse) {
+ swigCPtr = new HandleRef(this, cPtr);
+ }
+
+ protected SWIGTYPE_p_p_payload_map_t() {
+ swigCPtr = new HandleRef(null, IntPtr.Zero);
+ }
+
+ internal static HandleRef getCPtr(SWIGTYPE_p_p_payload_map_t obj) {
+ return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
+ }
+}
+
+}
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org).
+ * Version 1.3.35
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+namespace FreeSWITCH.Native {
+
+using System;
+using System.Runtime.InteropServices;
+
public class SWIGTYPE_p_p_p_char {
private HandleRef swigCPtr;
}
}
+ public switch_call_direction_t logical_direction {
+ set {
+ freeswitchPINVOKE.switch_caller_profile_logical_direction_set(swigCPtr, (int)value);
+ }
+ get {
+ switch_call_direction_t ret = (switch_call_direction_t)freeswitchPINVOKE.switch_caller_profile_logical_direction_get(swigCPtr);
+ return ret;
+ }
+ }
+
public profile_node_t soft {
set {
freeswitchPINVOKE.switch_caller_profile_soft_set(swigCPtr, profile_node_t.getCPtr(value));
CCS_EARLY,
CCS_ACTIVE,
CCS_HELD,
+ CCS_RING_WAIT,
CCS_HANGUP,
CCS_UNHOLD
}
CF_CONFIRM_BLIND_TRANSFER,
CF_NO_PRESENCE,
CF_CONFERENCE,
+ CF_CONFERENCE_ADV,
CF_RECOVERING,
CF_RECOVERING_BRIDGE,
CF_TRACKED,
CF_VIDEO_ECHO,
CF_SLA_INTERCEPT,
CF_VIDEO_BREAK,
+ CF_MEDIA_PAUSE,
CF_FLAG_MAX
}
SWITCH_MESSAGE_INDICATE_BLIND_TRANSFER_RESPONSE,
SWITCH_MESSAGE_INDICATE_STUN_ERROR,
SWITCH_MESSAGE_INDICATE_MEDIA_RENEG,
+ SWITCH_MESSAGE_REFER_EVENT,
SWITCH_MESSAGE_ANSWER_EVENT,
SWITCH_MESSAGE_PROGRESS_EVENT,
SWITCH_MESSAGE_RING_EVENT,
}
}
+ public switch_call_direction_t direction {
+ set {
+ freeswitchPINVOKE.switch_device_node_t_direction_set(swigCPtr, (int)value);
+ }
+ get {
+ switch_call_direction_t ret = (switch_call_direction_t)freeswitchPINVOKE.switch_device_node_t_direction_get(swigCPtr);
+ return ret;
+ }
+ }
+
public switch_device_record_t parent {
set {
freeswitchPINVOKE.switch_device_node_t_parent_set(swigCPtr, switch_device_record_t.getCPtr(value));
}
}
+ public switch_device_stats_t last_stats {
+ set {
+ freeswitchPINVOKE.switch_device_record_t_last_stats_set(swigCPtr, switch_device_stats_t.getCPtr(value));
+ }
+ get {
+ IntPtr cPtr = freeswitchPINVOKE.switch_device_record_t_last_stats_get(swigCPtr);
+ switch_device_stats_t ret = (cPtr == IntPtr.Zero) ? null : new switch_device_stats_t(cPtr, false);
+ return ret;
+ }
+ }
+
public switch_device_state_t state {
set {
freeswitchPINVOKE.switch_device_record_t_state_set(swigCPtr, (int)value);
}
}
+ public SWIGTYPE_p_switch_time_t ring_start {
+ set {
+ freeswitchPINVOKE.switch_device_record_t_ring_start_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value));
+ if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
+ }
+ get {
+ SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_device_record_t_ring_start_get(swigCPtr), true);
+ if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public SWIGTYPE_p_switch_time_t ring_stop {
+ set {
+ freeswitchPINVOKE.switch_device_record_t_ring_stop_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value));
+ if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
+ }
+ get {
+ SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_device_record_t_ring_stop_get(swigCPtr), true);
+ if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public SWIGTYPE_p_switch_time_t hold_start {
+ set {
+ freeswitchPINVOKE.switch_device_record_t_hold_start_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value));
+ if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
+ }
+ get {
+ SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_device_record_t_hold_start_get(swigCPtr), true);
+ if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public SWIGTYPE_p_switch_time_t hold_stop {
+ set {
+ freeswitchPINVOKE.switch_device_record_t_hold_stop_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value));
+ if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
+ }
+ get {
+ SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_device_record_t_hold_stop_get(swigCPtr), true);
+ if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
+ public SWIGTYPE_p_switch_time_t call_start {
+ set {
+ freeswitchPINVOKE.switch_device_record_t_call_start_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value));
+ if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
+ }
+ get {
+ SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_device_record_t_call_start_get(swigCPtr), true);
+ if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
+
public switch_device_node_t uuid_list {
set {
freeswitchPINVOKE.switch_device_record_t_uuid_list_set(swigCPtr, switch_device_node_t.getCPtr(value));
}
}
+ public SWIGTYPE_p_void user_data {
+ set {
+ freeswitchPINVOKE.switch_device_record_t_user_data_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value));
+ }
+ get {
+ IntPtr cPtr = freeswitchPINVOKE.switch_device_record_t_user_data_get(swigCPtr);
+ SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);
+ return ret;
+ }
+ }
+
public switch_device_record_t() : this(freeswitchPINVOKE.new_switch_device_record_t(), true) {
}
}
}
+ public uint total_in {
+ set {
+ freeswitchPINVOKE.switch_device_stats_t_total_in_set(swigCPtr, value);
+ }
+ get {
+ uint ret = freeswitchPINVOKE.switch_device_stats_t_total_in_get(swigCPtr);
+ return ret;
+ }
+ }
+
+ public uint total_out {
+ set {
+ freeswitchPINVOKE.switch_device_stats_t_total_out_set(swigCPtr, value);
+ }
+ get {
+ uint ret = freeswitchPINVOKE.switch_device_stats_t_total_out_get(swigCPtr);
+ return ret;
+ }
+ }
+
public uint offhook {
set {
freeswitchPINVOKE.switch_device_stats_t_offhook_set(swigCPtr, value);
}
}
+ public uint offhook_in {
+ set {
+ freeswitchPINVOKE.switch_device_stats_t_offhook_in_set(swigCPtr, value);
+ }
+ get {
+ uint ret = freeswitchPINVOKE.switch_device_stats_t_offhook_in_get(swigCPtr);
+ return ret;
+ }
+ }
+
+ public uint offhook_out {
+ set {
+ freeswitchPINVOKE.switch_device_stats_t_offhook_out_set(swigCPtr, value);
+ }
+ get {
+ uint ret = freeswitchPINVOKE.switch_device_stats_t_offhook_out_get(swigCPtr);
+ return ret;
+ }
+ }
+
public uint active {
set {
freeswitchPINVOKE.switch_device_stats_t_active_set(swigCPtr, value);
}
}
+ public uint active_in {
+ set {
+ freeswitchPINVOKE.switch_device_stats_t_active_in_set(swigCPtr, value);
+ }
+ get {
+ uint ret = freeswitchPINVOKE.switch_device_stats_t_active_in_get(swigCPtr);
+ return ret;
+ }
+ }
+
+ public uint active_out {
+ set {
+ freeswitchPINVOKE.switch_device_stats_t_active_out_set(swigCPtr, value);
+ }
+ get {
+ uint ret = freeswitchPINVOKE.switch_device_stats_t_active_out_get(swigCPtr);
+ return ret;
+ }
+ }
+
public uint held {
set {
freeswitchPINVOKE.switch_device_stats_t_held_set(swigCPtr, value);
}
}
+ public uint held_in {
+ set {
+ freeswitchPINVOKE.switch_device_stats_t_held_in_set(swigCPtr, value);
+ }
+ get {
+ uint ret = freeswitchPINVOKE.switch_device_stats_t_held_in_get(swigCPtr);
+ return ret;
+ }
+ }
+
+ public uint held_out {
+ set {
+ freeswitchPINVOKE.switch_device_stats_t_held_out_set(swigCPtr, value);
+ }
+ get {
+ uint ret = freeswitchPINVOKE.switch_device_stats_t_held_out_get(swigCPtr);
+ return ret;
+ }
+ }
+
public uint hup {
set {
freeswitchPINVOKE.switch_device_stats_t_hup_set(swigCPtr, value);
}
}
+ public uint hup_in {
+ set {
+ freeswitchPINVOKE.switch_device_stats_t_hup_in_set(swigCPtr, value);
+ }
+ get {
+ uint ret = freeswitchPINVOKE.switch_device_stats_t_hup_in_get(swigCPtr);
+ return ret;
+ }
+ }
+
+ public uint hup_out {
+ set {
+ freeswitchPINVOKE.switch_device_stats_t_hup_out_set(swigCPtr, value);
+ }
+ get {
+ uint ret = freeswitchPINVOKE.switch_device_stats_t_hup_out_get(swigCPtr);
+ return ret;
+ }
+ }
+
public uint ringing {
set {
freeswitchPINVOKE.switch_device_stats_t_ringing_set(swigCPtr, value);
}
}
+ public uint ringing_in {
+ set {
+ freeswitchPINVOKE.switch_device_stats_t_ringing_in_set(swigCPtr, value);
+ }
+ get {
+ uint ret = freeswitchPINVOKE.switch_device_stats_t_ringing_in_get(swigCPtr);
+ return ret;
+ }
+ }
+
+ public uint ringing_out {
+ set {
+ freeswitchPINVOKE.switch_device_stats_t_ringing_out_set(swigCPtr, value);
+ }
+ get {
+ uint ret = freeswitchPINVOKE.switch_device_stats_t_ringing_out_get(swigCPtr);
+ return ret;
+ }
+ }
+
public uint early {
set {
freeswitchPINVOKE.switch_device_stats_t_early_set(swigCPtr, value);
}
}
+ public uint early_in {
+ set {
+ freeswitchPINVOKE.switch_device_stats_t_early_in_set(swigCPtr, value);
+ }
+ get {
+ uint ret = freeswitchPINVOKE.switch_device_stats_t_early_in_get(swigCPtr);
+ return ret;
+ }
+ }
+
+ public uint early_out {
+ set {
+ freeswitchPINVOKE.switch_device_stats_t_early_out_set(swigCPtr, value);
+ }
+ get {
+ uint ret = freeswitchPINVOKE.switch_device_stats_t_early_out_get(swigCPtr);
+ return ret;
+ }
+ }
+
+ public uint ring_wait {
+ set {
+ freeswitchPINVOKE.switch_device_stats_t_ring_wait_set(swigCPtr, value);
+ }
+ get {
+ uint ret = freeswitchPINVOKE.switch_device_stats_t_ring_wait_get(swigCPtr);
+ return ret;
+ }
+ }
+
public switch_device_stats_t() : this(freeswitchPINVOKE.new_switch_device_stats_t(), true) {
}
}
}
+ public SWIGTYPE_p_payload_map_t pmap {
+ set {
+ freeswitchPINVOKE.switch_frame_pmap_set(swigCPtr, SWIGTYPE_p_payload_map_t.getCPtr(value));
+ }
+ get {
+ IntPtr cPtr = freeswitchPINVOKE.switch_frame_pmap_get(swigCPtr);
+ SWIGTYPE_p_payload_map_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_payload_map_t(cPtr, false);
+ return ret;
+ }
+ }
+
public switch_frame() : this(freeswitchPINVOKE.new_switch_frame(), true) {
}
SOF_NONE = 0,
SOF_NOBLOCK = (1 << 0),
SOF_FORKED_DIAL = (1 << 1),
- SOF_NO_EFFECTIVE_CID_NUM = (1 << 2),
- SOF_NO_EFFECTIVE_CID_NAME = (1 << 3),
- SOF_NO_LIMITS = (1 << 4)
+ SOF_NO_EFFECTIVE_ANI = (1 << 2),
+ SOF_NO_EFFECTIVE_ANIII = (1 << 3),
+ SOF_NO_EFFECTIVE_CID_NUM = (1 << 4),
+ SOF_NO_EFFECTIVE_CID_NAME = (1 << 5),
+ SOF_NO_LIMITS = (1 << 6)
}
}
SWITCH_RTP_FLAG_RTCP_MUX,
SWITCH_RTP_FLAG_KILL_JB,
SWITCH_RTP_FLAG_VIDEO_BREAK,
+ SWITCH_RTP_FLAG_PAUSE,
+ SWITCH_RTP_FLAG_FIR,
+ SWITCH_RTP_FLAG_PLI,
SWITCH_RTP_FLAG_INVALID
}