SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_ctl(int jarg1, void * jarg2) {
int jresult ;
switch_session_ctl_t arg1 ;
- int32_t *arg2 = (int32_t *) 0 ;
+ void *arg2 = (void *) 0 ;
int32_t result;
arg1 = (switch_session_ctl_t)jarg1;
- arg2 = (int32_t *)jarg2;
+ arg2 = (void *)jarg2;
result = (int32_t)switch_core_session_ctl(arg1,arg2);
jresult = result;
return jresult;
}
+SWIGEXPORT double SWIGSTDCALL CSharp_switch_core_min_idle_cpu(double jarg1) {
+ double jresult ;
+ double arg1 ;
+ double result;
+
+ arg1 = (double)jarg1;
+ result = (double)switch_core_min_idle_cpu(arg1);
+ jresult = result;
+ return jresult;
+}
+
+
+SWIGEXPORT double SWIGSTDCALL CSharp_switch_core_idle_cpu() {
+ double jresult ;
+ double result;
+
+ result = (double)switch_core_idle_cpu();
+ jresult = result;
+ return jresult;
+}
+
+
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_default_dtmf_duration(unsigned long jarg1) {
unsigned long jresult ;
uint32_t arg1 ;
}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_telephony_recv_event(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_telephony_recv_event(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 ;
return ret;
}
- public static int switch_core_session_ctl(switch_session_ctl_t cmd, SWIGTYPE_p_int val) {
- int ret = freeswitchPINVOKE.switch_core_session_ctl((int)cmd, SWIGTYPE_p_int.getCPtr(val));
+ public static int switch_core_session_ctl(switch_session_ctl_t cmd, SWIGTYPE_p_void val) {
+ int ret = freeswitchPINVOKE.switch_core_session_ctl((int)cmd, SWIGTYPE_p_void.getCPtr(val));
return ret;
}
return ret;
}
+ public static double switch_core_min_idle_cpu(double new_limit) {
+ double ret = freeswitchPINVOKE.switch_core_min_idle_cpu(new_limit);
+ return ret;
+ }
+
+ public static double switch_core_idle_cpu() {
+ double ret = freeswitchPINVOKE.switch_core_idle_cpu();
+ return ret;
+ }
+
public static uint switch_core_default_dtmf_duration(uint duration) {
uint ret = freeswitchPINVOKE.switch_core_default_dtmf_duration(duration);
return ret;
freeswitchPINVOKE.switch_rtp_set_telephony_event(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), te);
}
+ public static void switch_rtp_set_telephony_recv_event(SWIGTYPE_p_switch_rtp rtp_session, byte te) {
+ freeswitchPINVOKE.switch_rtp_set_telephony_recv_event(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), te);
+ }
+
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);
}
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_max_dtmf_duration")]
public static extern uint switch_core_max_dtmf_duration(uint jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_core_min_idle_cpu")]
+ public static extern double switch_core_min_idle_cpu(double jarg1);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_core_idle_cpu")]
+ public static extern double switch_core_idle_cpu();
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_default_dtmf_duration")]
public static extern uint switch_core_default_dtmf_duration(uint jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_telephony_event")]
public static extern void switch_rtp_set_telephony_event(HandleRef jarg1, byte jarg2);
+ [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_cng_pt")]
public static extern void switch_rtp_set_cng_pt(HandleRef jarg1, byte jarg2);
SCSC_SHUTDOWN_NOW,
SCSC_CALIBRATE_CLOCK,
SCSC_SAVE_HISTORY,
- SCSC_CRASH
+ SCSC_CRASH,
+ SCSC_MIN_IDLE_CPU
}
}