Lua SwxWare v13.10
This function returns the current external away status of the script user.
local bExternalAway = PBXUser.AwayViaPresence()
This function returns a boolean value.
This function accesses supported external presence sources (e.g. MS Teams). To access the SwyxWare internal presesence information you can use the PBXUser.Away() 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