This commit is contained in:
Anthony Minessale 2013-11-22 16:21:41 -06:00
parent 882b82aa91
commit b64cbe33b4
2 changed files with 1255 additions and 24 deletions

View File

@ -6967,6 +6967,29 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_node_t_hup_profile_get(void *
}
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 ;
@ -7055,6 +7078,52 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_total_get(void
}
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 ;
@ -7078,6 +7147,52 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_offhook_get(vo
}
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 ;
@ -7101,6 +7216,52 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_active_get(voi
}
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 ;
@ -7124,6 +7285,52 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_held_get(void
}
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 ;
@ -7147,6 +7354,52 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_hup_get(void *
}
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 ;
@ -7170,6 +7423,52 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_ringing_get(vo
}
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 ;
@ -7193,6 +7492,75 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_early_get(void
}
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 ;
@ -7318,6 +7686,29 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_stats_get(void * jar
}
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 ;
@ -7451,6 +7842,151 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_last_call_time_get(v
}
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_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)->ring_start = arg2;
}
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_time_t result;
arg1 = (switch_device_record_t *)jarg1;
result = ((arg1)->ring_start);
jresult = new switch_time_t((switch_time_t &)result);
return jresult;
}
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_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)->ring_stop = arg2;
}
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_time_t result;
arg1 = (switch_device_record_t *)jarg1;
result = ((arg1)->ring_stop);
jresult = new switch_time_t((switch_time_t &)result);
return jresult;
}
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 ;
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)->hold_start = arg2;
}
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)->hold_start);
jresult = new switch_time_t((switch_time_t &)result);
return jresult;
}
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 ;
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)->hold_stop = arg2;
}
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)->hold_stop);
jresult = new switch_time_t((switch_time_t &)result);
return jresult;
}
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 ;
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)->call_start = arg2;
}
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)->call_start);
jresult = new switch_time_t((switch_time_t &)result);
return jresult;
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_uuid_list_set(void * jarg1, void * jarg2) {
switch_device_record_t *arg1 = (switch_device_record_t *) 0 ;
device_uuid_node_s *arg2 = (device_uuid_node_s *) 0 ;
@ -7543,6 +8079,29 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_pool_get(void * jarg
}
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 ;
@ -12579,9 +13138,9 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_set_monotonic(int jarg1) {
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);
}
@ -14059,6 +14618,14 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ice_direction(void * jarg1) {
}
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 ;
@ -18098,6 +18665,29 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_caller_profile_direction_get(void * jar
}
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 ;
@ -19101,6 +19691,29 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_frame_user_data_get(void * jarg1) {
}
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 ;
@ -29824,6 +30437,18 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_direction(void * jarg1) {
}
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 ;
@ -32169,6 +32794,72 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_live_array_parse_json(void * jarg1, un
}
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;
@ -36923,16 +37614,6 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_telephony_recv_event(void * ja
}
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 ;
@ -36955,6 +37636,20 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_get_private(void * jarg1) {
}
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 ;

View File

@ -2749,8 +2749,8 @@ public class freeswitch {
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) {
@ -3146,6 +3146,10 @@ public class freeswitch {
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;
@ -4581,6 +4585,11 @@ public class freeswitch {
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);
}
@ -5129,6 +5138,29 @@ public class freeswitch {
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;
@ -6197,10 +6229,6 @@ public class freeswitch {
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);
}
@ -6211,6 +6239,11 @@ public class freeswitch {
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);
}
@ -8903,6 +8936,12 @@ class freeswitchPINVOKE {
[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);
@ -8927,42 +8966,132 @@ class freeswitchPINVOKE {
[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();
@ -8993,6 +9122,12 @@ class freeswitchPINVOKE {
[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);
@ -9023,6 +9158,36 @@ class freeswitchPINVOKE {
[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);
@ -9047,6 +9212,12 @@ class freeswitchPINVOKE {
[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();
@ -10538,6 +10709,9 @@ class freeswitchPINVOKE {
[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);
@ -11426,6 +11600,12 @@ class freeswitchPINVOKE {
[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);
@ -11663,6 +11843,12 @@ class freeswitchPINVOKE {
[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();
@ -14327,6 +14513,9 @@ class freeswitchPINVOKE {
[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);
@ -14849,6 +15038,21 @@ class freeswitchPINVOKE {
[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();
@ -15836,15 +16040,15 @@ class freeswitchPINVOKE {
[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);
@ -20882,6 +21086,36 @@ namespace FreeSWITCH.Native {
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;
@ -20972,6 +21206,36 @@ namespace FreeSWITCH.Native {
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;
@ -26140,6 +26404,16 @@ public class switch_caller_profile : IDisposable {
}
}
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));
@ -26241,6 +26515,7 @@ public enum switch_channel_callstate_t {
CCS_EARLY,
CCS_ACTIVE,
CCS_HELD,
CCS_RING_WAIT,
CCS_HANGUP,
CCS_UNHOLD
}
@ -26360,6 +26635,7 @@ public enum switch_channel_flag_t {
CF_CONFIRM_BLIND_TRANSFER,
CF_NO_PRESENCE,
CF_CONFERENCE,
CF_CONFERENCE_ADV,
CF_RECOVERING,
CF_RECOVERING_BRIDGE,
CF_TRACKED,
@ -26393,6 +26669,7 @@ public enum switch_channel_flag_t {
CF_VIDEO_ECHO,
CF_SLA_INTERCEPT,
CF_VIDEO_BREAK,
CF_MEDIA_PAUSE,
CF_FLAG_MAX
}
@ -28314,6 +28591,7 @@ public enum switch_core_session_message_types_t {
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,
@ -28644,6 +28922,16 @@ public class switch_device_node_t : IDisposable {
}
}
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));
@ -28754,6 +29042,17 @@ public class switch_device_record_t : IDisposable {
}
}
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);
@ -28810,6 +29109,66 @@ public class switch_device_record_t : IDisposable {
}
}
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));
@ -28854,6 +29213,17 @@ public class switch_device_record_t : IDisposable {
}
}
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) {
}
@ -28931,6 +29301,26 @@ public class switch_device_stats_t : IDisposable {
}
}
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);
@ -28941,6 +29331,26 @@ public class switch_device_stats_t : IDisposable {
}
}
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);
@ -28951,6 +29361,26 @@ public class switch_device_stats_t : IDisposable {
}
}
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);
@ -28961,6 +29391,26 @@ public class switch_device_stats_t : IDisposable {
}
}
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);
@ -28971,6 +29421,26 @@ public class switch_device_stats_t : IDisposable {
}
}
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);
@ -28981,6 +29451,26 @@ public class switch_device_stats_t : IDisposable {
}
}
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);
@ -28991,6 +29481,36 @@ public class switch_device_stats_t : IDisposable {
}
}
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) {
}
@ -31337,6 +31857,17 @@ public class switch_frame : IDisposable {
}
}
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) {
}
@ -34147,9 +34678,11 @@ namespace FreeSWITCH.Native {
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)
}
}
@ -34605,6 +35138,9 @@ public enum switch_rtp_flag_t {
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
}