New database class was implemented in call_forward.lua when using first_value must change select * from with the specific value desired.

This commit is contained in:
markjcrane
2015-11-10 17:26:39 -07:00
parent 71ea6a8328
commit 7bb50d03a0

View File

@@ -108,7 +108,7 @@
--check to see if the pin number is correct
if not session:ready() then return end
local sql = "SELECT * FROM v_voicemails ";
local sql = "SELECT voicemail_password FROM v_voicemails ";
sql = sql .. "WHERE domain_uuid = '" .. domain_uuid .."' ";
sql = sql .. "AND voicemail_id = '" .. extension .."' ";
if (debug["sql"]) then