fusionpbx/resources/install/scripts/app
emaktech f44ed4370c Fix Ring Group Delay Timing (#4003)
This is going to sound really stupid but I have tested this extensively, submitted a Jira on it months ago (was told FS 1.6.20 was no longer supported) and it's still an issue. Please do not take my word for this and create a ring group to test the delay settings with a stopwatch and you should see the real vs set delay discrepancy.

In FreeSWITCH (both on 1.6.20 and 1.8.5) when sending leg_delay_start values, for whatever reason the actual time is double the value sent. The result of this is that if you send 1000ms as leg_delay_start the actual time the call will be delayed is 2000ms.

Because of this bad behavior, ring group delay settings end up being exactly double what is set. e.g. if you set 10s, you will have to wait 20s for the call to be initiated on leg b.

The easiest way to fix this behavior is to simply multiply leg_delay_start by half as much to get the right "real" delay time. Ugly, I know... I'm not sure if leg_delay_start value is passed elsewhere, I'm thinking this behavior may also be present in find me/follow me. If this gets accepted I will look for other locations where this behavior occurs and submit separate PRs if I find any other instances of this.
2019-06-21 22:04:14 -06:00
..
agent_status BLF of agent status "agent+username@domain.com (#3860) 2018-11-19 16:39:54 -06:00
avmd Fix the indentation on lua app/avmd/index.lua. 2015-04-24 20:44:47 +00:00
call_block Fix Call Block Type Setting Check 2019-05-28 14:27:29 -04:00
conference_center Update index.lua (#2858) 2017-09-27 20:35:44 -06:00
dialplan Update 010_user_record.lua.noload 2019-02-08 08:10:06 -07:00
emergency_notify Emergency Notify lua script (#2953) 2018-01-09 12:11:16 -07:00
event_notify Added support for Digium D-Series phones. (#4229) 2019-06-02 10:01:54 -06:00
failure_handler Update index.lua 2018-08-24 13:57:16 -06:00
fax Update hangup_rx.lua 2019-06-14 23:59:37 -06:00
feature_event Add Device Feature Sync (#2905) 2017-11-09 12:09:56 -07:00
hangup Update index.lua 2018-03-24 17:33:49 -06:00
is_local Update index.lua 2019-04-29 14:38:46 -06:00
messages/resources Update events.lua 2018-11-01 15:07:16 -06:00
missed_calls/resources/templates/en/us Add multi-lingual support to the missed call emails. 2015-09-15 08:49:37 -06:00
provision Update index.lua 2018-03-28 22:40:55 -06:00
ring_groups Fix Ring Group Delay Timing (#4003) 2019-06-21 22:04:14 -06:00
servers/resources Update file_cache.lua (#3483) 2018-09-18 13:06:44 -06:00
speed_dial Update index.lua 2019-02-09 08:17:30 -07:00
toll_allow Add South African Prefixes (#2811) 2017-09-01 08:54:02 -06:00
voicemail Update record_message.lua 2019-05-30 01:53:35 -06:00
xml_handler Update dialplan.lua 2019-05-23 13:48:21 -06:00