diff --git a/src/mod/languages/mod_java/src/org/freeswitch/swig/CoreSession.java b/src/mod/languages/mod_java/src/org/freeswitch/swig/CoreSession.java index a968939bb5..aa225ba4f6 100644 --- a/src/mod/languages/mod_java/src/org/freeswitch/swig/CoreSession.java +++ b/src/mod/languages/mod_java/src/org/freeswitch/swig/CoreSession.java @@ -117,8 +117,8 @@ public class CoreSession { return freeswitchJNI.CoreSession_getVariable(swigCPtr, this, var); } - public SWIGTYPE_p_switch_status_t process_callback_result(String ret) { - return new SWIGTYPE_p_switch_status_t(freeswitchJNI.CoreSession_process_callback_result(swigCPtr, this, ret), true); + public SWIGTYPE_p_switch_status_t process_callback_result(String result) { + return new SWIGTYPE_p_switch_status_t(freeswitchJNI.CoreSession_process_callback_result(swigCPtr, this, result), true); } public void say(String tosay, String module_name, String say_type, String say_method) { diff --git a/src/mod/languages/mod_perl/mod_perl_wrap.cpp b/src/mod/languages/mod_perl/mod_perl_wrap.cpp index 6495b48ab9..28559f7fa4 100644 --- a/src/mod/languages/mod_perl/mod_perl_wrap.cpp +++ b/src/mod/languages/mod_perl/mod_perl_wrap.cpp @@ -4675,7 +4675,7 @@ XS(_wrap_CoreSession_process_callback_result) { dXSARGS; if ((items < 2) || (items > 2)) { - SWIG_croak("Usage: CoreSession_process_callback_result(self,ret);"); + SWIG_croak("Usage: CoreSession_process_callback_result(self,result);"); } res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CoreSession, 0 | 0 ); if (!SWIG_IsOK(res1)) {