This commit is contained in:
Brian West 2016-10-21 11:28:54 -05:00
parent 6220dcbd5b
commit f432761072
2 changed files with 24 additions and 38 deletions

View File

@ -6952,28 +6952,6 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_payload_map_t_rm_fmtp_get(void * jarg1) {
}
SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_agreed_pt_set(void * jarg1, unsigned char jarg2) {
payload_map_s *arg1 = (payload_map_s *) 0 ;
switch_payload_t arg2 ;
arg1 = (payload_map_s *)jarg1;
arg2 = (switch_payload_t)jarg2;
if (arg1) (arg1)->agreed_pt = arg2;
}
SWIGEXPORT unsigned char SWIGSTDCALL CSharp_payload_map_t_agreed_pt_get(void * jarg1) {
unsigned char jresult ;
payload_map_s *arg1 = (payload_map_s *) 0 ;
switch_payload_t result;
arg1 = (payload_map_s *)jarg1;
result = (switch_payload_t) ((arg1)->agreed_pt);
jresult = result;
return jresult;
}
SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_recv_pt_set(void * jarg1, unsigned char jarg2) {
payload_map_s *arg1 = (payload_map_s *) 0 ;
switch_payload_t arg2 ;
@ -12394,6 +12372,22 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_findall() {
}
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_hupall_matching_vars_ans(void * jarg1, int jarg2, int jarg3) {
unsigned long jresult ;
switch_event_t *arg1 = (switch_event_t *) 0 ;
switch_call_cause_t arg2 ;
switch_hup_type_t arg3 ;
uint32_t result;
arg1 = (switch_event_t *)jarg1;
arg2 = (switch_call_cause_t)jarg2;
arg3 = (switch_hup_type_t)jarg3;
result = (uint32_t)switch_core_session_hupall_matching_vars_ans(arg1,arg2,arg3);
jresult = (unsigned long)result;
return jresult;
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_hupall_endpoint(void * jarg1, int jarg2) {
switch_endpoint_interface_t *arg1 = (switch_endpoint_interface_t *) 0 ;
switch_call_cause_t arg2 ;

View File

@ -1910,6 +1910,11 @@ else
return ret;
}
public static uint switch_core_session_hupall_matching_vars_ans(switch_event vars, switch_call_cause_t cause, switch_hup_type_t type) {
uint ret = freeswitchPINVOKE.switch_core_session_hupall_matching_vars_ans(switch_event.getCPtr(vars), (int)cause, (int)type);
return ret;
}
public static void switch_core_session_hupall_endpoint(switch_endpoint_interface endpoint_interface, switch_call_cause_t cause) {
freeswitchPINVOKE.switch_core_session_hupall_endpoint(switch_endpoint_interface.getCPtr(endpoint_interface), (int)cause);
}
@ -9747,12 +9752,6 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_rm_fmtp_get")]
public static extern string payload_map_t_rm_fmtp_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_agreed_pt_set")]
public static extern void payload_map_t_agreed_pt_set(HandleRef jarg1, byte jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_agreed_pt_get")]
public static extern byte payload_map_t_agreed_pt_get(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_recv_pt_set")]
public static extern void payload_map_t_recv_pt_set(HandleRef jarg1, byte jarg2);
@ -11088,6 +11087,9 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_findall")]
public static extern IntPtr switch_core_session_findall();
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_hupall_matching_vars_ans")]
public static extern uint switch_core_session_hupall_matching_vars_ans(HandleRef jarg1, int jarg2, int jarg3);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_hupall_endpoint")]
public static extern void switch_core_session_hupall_endpoint(HandleRef jarg1, int jarg2);
@ -20311,16 +20313,6 @@ public class payload_map_t : IDisposable {
}
}
public byte agreed_pt {
set {
freeswitchPINVOKE.payload_map_t_agreed_pt_set(swigCPtr, value);
}
get {
byte ret = freeswitchPINVOKE.payload_map_t_agreed_pt_get(swigCPtr);
return ret;
}
}
public byte recv_pt {
set {
freeswitchPINVOKE.payload_map_t_recv_pt_set(swigCPtr, value);