Update index.lua

This commit is contained in:
FusionPBX 2024-10-16 15:49:39 -06:00 committed by GitHub
parent 5c9658334c
commit 531aad8baa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -485,6 +485,11 @@
caller_id = caller_id .. ",origination_caller_id_number="..caller_id_number;
end
--ensure accountcode exists
if (accountcode == nil) then
accountcode = '';
end
--set the destination dial string
-- have to double destination_delay here due a FS bug requiring a 50% delay value for internal extensions, but not external calls.
--destination_delay = destination_delay * 2;