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

By Tom Wellige