Jump to content

- PBXUser

- # PBXUser.Away()

  Followers 0

  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

  - May 22, 2022
  Share
  Share
  Followers 0

## Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.