Lua → VBScript SwxWare v13.10
This function takes or returns the current away status of the script user.
-- get the script users current away state local bAway = PBXUser.Away() -- set the script users away state PBXUser.Away(true)
This function takes or returns a boolean value.
This function is identical to the GSE build-in function IpPbx.Away().
This function accesses the SwyxWare internal presence information. To access supported external presence sources (e.g. MS Teams) you can use the PBXUser.AwayViaPresence() 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