mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update follow_me.lua
This commit is contained in:
@@ -138,6 +138,11 @@
|
||||
|
||||
--update the extension
|
||||
sql = "update v_extensions set ";
|
||||
if (enabled == "true") then
|
||||
sql = sql .. "dial_string = null, ";
|
||||
else
|
||||
sql = sql .. "dial_string = :dial_string, ";
|
||||
end
|
||||
sql = sql .. "do_not_disturb = 'false', ";
|
||||
sql = sql .. "forward_all_enabled= 'false' ";
|
||||
sql = sql .. "where domain_uuid = :domain_uuid ";
|
||||
|
||||
Reference in New Issue
Block a user