Commit Graph

6 Commits

Author SHA1 Message Date
agree
113ade4fc5 [follow me] Persist follow me enabled when enabling DND or call forward (#6076)
If follow-me is enabled and then turning on DND or call-forward, follow-me should be enabled when disabling the DND or the call-forward.
2021-10-28 09:44:27 -06:00
FusionPBX
0c91ac4feb Don't use the extension dial_string to set the phone on DND. 2021-10-14 01:02:00 -06:00
markjcrane
e429756307 Change error/user_busy to USER_BUSY 2021-09-18 23:26:21 -06:00
Andrew Querol
7217da15f0 Update the feature event LUA code to match the fix in PHP
This renames `get_profile` to `get_profiles` which either returns nil for no profiles or a array of unique profiles.

Then each function that used to take the single sip_profile was updated to take this array and send events to each profile the user is part of.
2021-03-18 09:31:22 -05:00
demonspork
d7eccddf25 Fix follow_me_uuid error when enabling DND
The follow me update code in do_not_disturb.lua was being executed even when the follow me uuid didn't exist. Let me know if this is the wrong approach to fix this in lua, I'm not particularly well versed in this but this seemed to have fixed it in my testing.

I have some concerns about this section of code in general though, it seems that enabling server side DND will turn off follow me, but then turning off DND won't return follow me to its original state. Is this the intended behavior? and if so we might need to make a workaround.
2021-03-11 11:29:05 -06:00
markjcrane
ca5a824bb5 Move the scripts to app/scripts/resources/scripts 2020-01-18 00:30:13 +00:00