Update index.lua

This commit is contained in:
FusionPBX 2019-02-02 18:00:59 -07:00 committed by GitHub
parent e987b64998
commit 156cc06dc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,5 @@
-- Part of FusionPBX
-- Copyright (C) 2010-2018 Mark J Crane <markjcrane@fusionpbx.com>
-- Copyright (C) 2010-2019 Mark J Crane <markjcrane@fusionpbx.com>
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
@ -521,7 +521,8 @@
not_registered_destination_number = api:executeString(cmd);
freeswitch.consoleLog("NOTICE", "[ring_group] "..not_registered_destination_number.."\n");
if (not_registered_destination_number ~= nil) then
destination_number = not_registered_destination_number;
destination_number = not_registered_destination_number;
destinations[key]['destination_number'] = destination_number;
end
--check the new destination number for user_exists
@ -590,7 +591,7 @@
--process the destinations
--x = 1;
--for key, row in pairs(destinations) do
-- freeswitch.consoleLog("NOTICE", "[ring group] zzz destination_number: "..row.destination_number.."\n");
-- freeswitch.consoleLog("NOTICE", "[ring group] destination_number: "..row.destination_number.."\n");
--end
--process the destinations