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 state
Dim bDoNotDisturb
bDoNotDisturb = PBXUser.DoNotDisturb
' Setting the script users do not disturb state
PBXUser.DoNotDisturb = True
This property takes or returns a boolean value.
This property is identical to the GSE build-in property IpPbx.DoNotDisturb.
By Tom Wellige