Add base64 decode to the IVR Menu.

This commit is contained in:
Mark Crane
2015-03-31 00:50:13 +00:00
parent 4f6f1186ab
commit bf09ca3e1c
3 changed files with 81 additions and 3 deletions

View File

@@ -126,7 +126,7 @@
local f = io.open(recordings_dir .."/".. recording_name, "rb");
local file_content = f:read("*all");
f:close();
recording_base64 = base64.enc(file_content);
recording_base64 = base64.encode(file_content);
--delete the previous recording
sql = "delete from v_recordings ";