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.
This function is identical to the Server Script API function PBXUser.DoNotDisturb().

By Tom Wellige