Fix follow me originate_delay for external numbers (#5432)

* Fix follow me originate_delay
This commit is contained in:
agree 2020-09-01 12:29:18 -04:00 committed by GitHub
parent 17c2a12390
commit 62e821087f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -384,6 +384,8 @@
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;
dial_string = "[ignore_early_media=true,toll_allow=".. toll_allow ..",".. caller_id ..",sip_invite_domain="..domain_name..",domain_uuid="..domain_uuid..",call_direction="..call_direction..","..group_confirm..","..timeout_name.."="..destination_timeout..","..delay_name.."="..destination_delay.."]"..route_bridge
end