timeout = profile->digit_timeout;
attempts = profile->max_login_attempts;
- args.buf = &global_buf;
- args.buflen = sizeof(global_buf);
status = switch_ivr_phrase_macro(session, VM_HELLO_MACRO, NULL, NULL, &args);
*global_buf = '\0';
} else {
odata = expanded;
}
-
+
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Handle %s:[%s] (%s:%s)\n", func, odata, chan_lang, module_name);
if (!strcasecmp(func, "play-file")) {
end:
switch_safe_free(abuf);
- switch_core_session_reset(session, SWITCH_TRUE);
+ switch_core_session_reset(session, SWITCH_FALSE);
return status;
}
timer_name = switch_channel_get_variable(channel, "timer_name");
- switch_core_session_reset(session, SWITCH_TRUE);
+ switch_core_session_reset(session, SWITCH_FALSE);
read_codec = switch_core_session_get_read_codec(session);
rate = read_codec->implementation->actual_samples_per_second;
}
}
- switch_core_session_reset(session, SWITCH_TRUE);
+ switch_core_session_reset(session, SWITCH_FALSE);
return status;
}