}\r
\r
\r
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_set_dmachine(void * jarg1, void * jarg2) {\r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_set_dmachine(void * jarg1, void * jarg2, int jarg3) {\r
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
switch_ivr_dmachine_t *arg2 = (switch_ivr_dmachine_t *) 0 ;\r
+ switch_digit_action_target_t arg3 ;\r
\r
arg1 = (switch_core_session_t *)jarg1; \r
arg2 = (switch_ivr_dmachine_t *)jarg2; \r
- switch_core_session_set_dmachine(arg1,arg2);\r
+ arg3 = (switch_digit_action_target_t)jarg3; \r
+ switch_core_session_set_dmachine(arg1,arg2,arg3);\r
}\r
\r
\r
-SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_dmachine(void * jarg1) {\r
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_dmachine(void * jarg1, int jarg2) {\r
void * jresult ;\r
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
+ switch_digit_action_target_t arg2 ;\r
switch_ivr_dmachine_t *result = 0 ;\r
\r
arg1 = (switch_core_session_t *)jarg1; \r
- result = (switch_ivr_dmachine_t *)switch_core_session_get_dmachine(arg1);\r
+ arg2 = (switch_digit_action_target_t)jarg2; \r
+ result = (switch_ivr_dmachine_t *)switch_core_session_get_dmachine(arg1,arg2);\r
jresult = (void *)result; \r
return jresult;\r
}\r
freeswitchPINVOKE.switch_core_session_soft_unlock(SWIGTYPE_p_switch_core_session.getCPtr(session));\r
}\r
\r
- public static void switch_core_session_set_dmachine(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_switch_ivr_dmachine dmachine) {\r
- freeswitchPINVOKE.switch_core_session_set_dmachine(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine));\r
+ public static void switch_core_session_set_dmachine(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_switch_ivr_dmachine dmachine, switch_digit_action_target_t target) {\r
+ freeswitchPINVOKE.switch_core_session_set_dmachine(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine), (int)target);\r
}\r
\r
- public static SWIGTYPE_p_switch_ivr_dmachine switch_core_session_get_dmachine(SWIGTYPE_p_switch_core_session session) {\r
- IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_dmachine(SWIGTYPE_p_switch_core_session.getCPtr(session));\r
+ public static SWIGTYPE_p_switch_ivr_dmachine switch_core_session_get_dmachine(SWIGTYPE_p_switch_core_session session, switch_digit_action_target_t target) {\r
+ IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_dmachine(SWIGTYPE_p_switch_core_session.getCPtr(session), (int)target);\r
SWIGTYPE_p_switch_ivr_dmachine ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_ivr_dmachine(cPtr, false);\r
return ret;\r
}\r
public static extern void switch_core_session_soft_unlock(HandleRef jarg1);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_dmachine")]\r
- public static extern void switch_core_session_set_dmachine(HandleRef jarg1, HandleRef jarg2);\r
+ public static extern void switch_core_session_set_dmachine(HandleRef jarg1, HandleRef jarg2, int jarg3);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_dmachine")]\r
- public static extern IntPtr switch_core_session_get_dmachine(HandleRef jarg1);\r
+ public static extern IntPtr switch_core_session_get_dmachine(HandleRef jarg1, int jarg2);\r
\r
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_get_target")]\r
public static extern int switch_ivr_dmachine_get_target(HandleRef jarg1);\r
\r
public enum switch_digit_action_target_t {\r
DIGIT_TARGET_SELF,\r
- DIGIT_TARGET_PEER\r
+ DIGIT_TARGET_PEER,\r
+ DIGIT_TARGET_BOTH\r
}\r
\r
}\r