[Freeswitch-svn] [commit] r9045 - freeswitch/trunk/src/mod/languages/mod_spidermonkey
Freeswitch SVN
anthm at freeswitch.org
Tue Jul 15 15:41:56 EDT 2008
Author: anthm
Date: Tue Jul 15 15:41:56 2008
New Revision: 9045
Modified:
freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c
Log:
update
Modified: freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c (original)
+++ freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c Tue Jul 15 15:41:56 2008
@@ -1148,11 +1148,10 @@
return SWITCH_STATUS_FALSE;
}
- if (check_hangup_hook(jss, &cb_state->ret) == JS_TRUE) {
+ if (check_hangup_hook(jss, NULL) == JS_TRUE) {
JS_ResumeRequest(cb_state->cx, cb_state->saveDepth);
JS_CallFunction(cb_state->cx, cb_state->obj, cb_state->function, argc, argv, &cb_state->ret);
cb_state->saveDepth = JS_SuspendRequest(cb_state->cx);
- check_hangup_hook(jss, &cb_state->ret);
jss->stack_depth--;
}
@@ -1483,12 +1482,12 @@
if (check_hangup_hook(jss, NULL) != JS_TRUE) {
return JS_FALSE;
+
}
switch_ivr_collect_digits_callback(jss->session, &args, to);
check_hangup_hook(jss, &ret);
JS_ResumeRequest(cx, cb_state.saveDepth);
-
*rval = cb_state.ret;
return ret;
More information about the Freeswitch-svn
mailing list