diff --git a/src/mod/languages/mod_managed/freeswitch_wrap.cxx b/src/mod/languages/mod_managed/freeswitch_wrap.cxx index ca0aae99d6..0a2d04670e 100644 --- a/src/mod/languages/mod_managed/freeswitch_wrap.cxx +++ b/src/mod/languages/mod_managed/freeswitch_wrap.cxx @@ -40132,23 +40132,25 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_destroy(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_bind(void * jarg1, char * jarg2, char * jarg3, int jarg4, void * jarg5, void * jarg6) { +SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_bind(void * jarg1, char * jarg2, char * jarg3, unsigned char jarg4, int jarg5, void * jarg6, void * jarg7) { int jresult ; switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; - int32_t arg4 ; - switch_ivr_dmachine_callback_t arg5 = (switch_ivr_dmachine_callback_t) 0 ; - void *arg6 = (void *) 0 ; + switch_byte_t arg4 ; + int32_t arg5 ; + switch_ivr_dmachine_callback_t arg6 = (switch_ivr_dmachine_callback_t) 0 ; + void *arg7 = (void *) 0 ; switch_status_t result; arg1 = (switch_ivr_dmachine_t *)jarg1; arg2 = (char *)jarg2; arg3 = (char *)jarg3; - arg4 = (int32_t)jarg4; - arg5 = (switch_ivr_dmachine_callback_t)jarg5; - arg6 = (void *)jarg6; - result = (switch_status_t)switch_ivr_dmachine_bind(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6); + arg4 = (switch_byte_t)jarg4; + arg5 = (int32_t)jarg5; + arg6 = (switch_ivr_dmachine_callback_t)jarg6; + arg7 = (void *)jarg7; + result = (switch_status_t)switch_ivr_dmachine_bind(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7); jresult = result; return jresult; } diff --git a/src/mod/languages/mod_managed/managed/swig.cs b/src/mod/languages/mod_managed/managed/swig.cs index c89c74f0e0..ee65a59b67 100644 --- a/src/mod/languages/mod_managed/managed/swig.cs +++ b/src/mod/languages/mod_managed/managed/swig.cs @@ -6424,8 +6424,8 @@ else freeswitchPINVOKE.switch_ivr_dmachine_destroy(SWIGTYPE_p_p_switch_ivr_dmachine.getCPtr(dmachine)); } - public static switch_status_t switch_ivr_dmachine_bind(SWIGTYPE_p_switch_ivr_dmachine dmachine, string realm, string digits, int key, SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t callback, SWIGTYPE_p_void user_data) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_dmachine_bind(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine), realm, digits, key, SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t.getCPtr(callback), SWIGTYPE_p_void.getCPtr(user_data)); + public static switch_status_t switch_ivr_dmachine_bind(SWIGTYPE_p_switch_ivr_dmachine dmachine, string realm, string digits, byte is_priority, int key, SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t callback, SWIGTYPE_p_void user_data) { + switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_dmachine_bind(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine), realm, digits, is_priority, key, SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t.getCPtr(callback), SWIGTYPE_p_void.getCPtr(user_data)); return ret; } @@ -17674,7 +17674,7 @@ class freeswitchPINVOKE { public static extern void switch_ivr_dmachine_destroy(HandleRef jarg1); [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_bind")] - public static extern int switch_ivr_dmachine_bind(HandleRef jarg1, string jarg2, string jarg3, int jarg4, HandleRef jarg5, HandleRef jarg6); + public static extern int switch_ivr_dmachine_bind(HandleRef jarg1, string jarg2, string jarg3, byte jarg4, int jarg5, HandleRef jarg6, HandleRef jarg7); [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_feed")] public static extern int switch_ivr_dmachine_feed(HandleRef jarg1, string jarg2, HandleRef jarg3);