switch_file_handle_t *fh = cb_state->extra;
struct js_session *jss = cb_state->session_state;
- switch_dtmf_t *wtfdtmf = (switch_dtmf_t *) input;
-
if ((status = js_common_callback(session, input, itype, buf, buflen)) != SWITCH_STATUS_SUCCESS) {
return status;
}
return JS_TRUE;
}
- while (switch_core_session_dequeue_event(jss->session, &event) == SWITCH_STATUS_SUCCESS) {
+ while (switch_core_session_dequeue_event(jss->session, &event, SWITCH_FALSE) == SWITCH_STATUS_SUCCESS) {
switch_event_destroy(&event);
}
METHOD_SANITY_CHECK();
- if (switch_core_session_dequeue_event(jss->session, &event) == SWITCH_STATUS_SUCCESS) {
+ if (switch_core_session_dequeue_event(jss->session, &event, SWITCH_FALSE) == SWITCH_STATUS_SUCCESS) {
JSObject *Event;
struct event_obj *eo;