Lua → VBScript SwxWare v13.10
This function sets or returns the do not disturb status of the current script user.
-- get the script users' current do not disturb state local bDoNotDisturb = PBXUser.DoNotDisturb() -- set the script users' do not disturb state PBXUser.DoNotDisturb(true)
This function takes or returns a boolean value.
This property is identical to the GSE build-in property IpPbx.DoNotDisturb().
This function accesses the SwyxWare internal presence information. To access supported external presence sources (e.g. MS Teams) you can use the PBXUser.DoNotDisturbViaPresence() function.
To access the presence information of any SwyxWare user and not just the current script user, please take a look on the PBXScript.GetUserByAddress() function.
By Tom Wellige