Fix the handling for * with stream file.

This commit is contained in:
Mark Crane
2015-01-23 18:10:48 +00:00
parent 8c26f2fd4a
commit 9b7dd342f8

View File

@@ -7,7 +7,7 @@
if (type == "dtmf") then
freeswitch.console_log("info", "[streamfile] dtmf digit: " .. obj['digit'] .. ", duration: " .. obj['duration'] .. "\n");
if (obj['digit'] == "*") then
return false; --end playback
return("false"); --return to previous
elseif (obj['digit'] == "0") then
return("restart"); --start over
elseif (obj['digit'] == "1") then