Update destination.lua
This commit is contained in:
parent
af6d0d0965
commit
3e233d1803
|
|
@ -128,7 +128,7 @@
|
|||
freeswitch.consoleLog("NOTICE", "[ring_group] SQL: " .. sql .. "; params: " .. json.encode(params) .. "\n");
|
||||
end
|
||||
|
||||
assert(dbh:query(sql, params, function(row)
|
||||
dbh:query(sql, params, function(row)
|
||||
if (row.in_group == "0") then
|
||||
sql = [[
|
||||
INSERT INTO
|
||||
|
|
@ -170,7 +170,7 @@
|
|||
freeswitch.consoleLog("NOTICE", "[ring_group][destination] ALREADY LOGGED IN\n");
|
||||
session:streamFile("ivr/ivr-you_are_now_logged_in.wav");
|
||||
end
|
||||
end));
|
||||
end);
|
||||
end
|
||||
if (menu_selection == "2") then
|
||||
local sql = [[
|
||||
|
|
|
|||
Loading…
Reference in New Issue