Lua → VBScript SwxWare v13.10
This function takes or returns the current do not disturb status of the script user.
-- Getting the script users current do not disturb (dnd) state local bDoNotDisturb = IpPbx.DoNotDisturb() -- Setting the script users do not disturb (dnd) state IpPbx.DoNotDisturb(true)
This function takes or returns a boolean value.
If being used in a group context (from SwyxWare v13.27) this function returns false. Read more about user and group context differences here.
This function is identical to the Server Script API function PBXUser.DoNotDisturb().
By Tom Wellige