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.
![Tom Wellige](http://content.invisioncic.com/r255538/monthly_2020_04/facebook2.thumb.png.7201b63ad83065920f23d2478c4a838f.png)
By Tom Wellige