Add global intercept capability to intercept.lua, fix a problem with ivr_menu.lua, and white space problem in wakeup.lua.

This commit is contained in:
Mark Crane
2012-12-02 08:38:24 +00:00
parent bbe3759a68
commit 997b63ac85
3 changed files with 47 additions and 24 deletions

View File

@@ -60,7 +60,7 @@ if (wakeup_number) then
min_digits = 1;
max_digits = 1;
digits = session:playAndGetDigits(min_digits, max_digits, max_tries, digit_timeout, "#", "phrase:wakeup-call", "", "\\d+");
--reschedule the call for snooze
if (digits == "2") then
freeswitch.consoleLog("NOTICE", "wakeup call: snooze selected - rescheduled the call\n");