fusionpbx/app/switch/resources/scripts
FusionPBX b0a2f3340a
Fix ring group delay timing
Use sofia_contact instead of user bridge alias. Added a useful note from @greenbea describing why there was a problem with follow me delay timing.

When you originate user/ext@domain, switch_ivr_originate will call the user endpoint. The user endpoint isn't a real endpoint. It is a shortcut to get the real dialstring from the user's XML and calls again switch_ivr_originate, so essentially, what happens is switch_ivr_originate reads twice originate_delay_start variable and waits double the time.

Your patch fixes the case when the endpoint is the user/ endpoint but will make the delay half the time if called with other endpoints like sofia.

The ultimate solution would be freeswitch to handle this in the user endpoint function. I would suggest that fusion manually get the user's dial string from the XML and call originate on it and not rely on the user (shortcut) endpoint for ring group and follow me.
2023-09-22 16:23:14 -06:00
..
app Fix ring group delay timing 2023-09-22 16:23:14 -06:00
resources Event Socket settings auto defaults or custom using config.conf 2023-09-16 15:07:41 -06:00
app.lua
bind_digit_bleg.lua
blf_subscribe.lua
call_flow.lua
call_flow_monitor.lua
call_flow_subscribe.lua
call_forward.lua
cidlookup.lua
confirm.lua
destination_caller_id.lua
dial_string.lua
directory.lua
disa-old.lua.txt
disa.callback.loopback.lua
disa.callback.lua
disa.lua DISA [Script]: Add minor delay before first voice prompt. 2023-09-14 17:47:19 +00:00
disa.plus.lua
do_not_disturb.lua
dtmf_handler.lua
eavesdrop.lua
email.lua
extension_queue.lua
fifo_member.lua
follow_me.lua
ha_monitor.lua
intercept.lua Update intercept.lua (#6788) 2023-08-26 10:12:52 -06:00
intercept_group.lua
ivr_menu.lua
mkdir.lua
monitor.lua
page.lua
park.lua
park_monitor.lua
pin_number.lua
recordings.lua
roku.lua
service
streamfile.lua
transfer2.lua
wakeup.lua