diff --git a/resources/install/scripts/app/ring_groups/resources/scripts/destination.lua b/resources/install/scripts/app/ring_groups/resources/scripts/destination.lua index f2cf9200e8..73a781bcc5 100644 --- a/resources/install/scripts/app/ring_groups/resources/scripts/destination.lua +++ b/resources/install/scripts/app/ring_groups/resources/scripts/destination.lua @@ -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 = [[