Jump to content

- PBXScript

- # PBXScript.Type()

  Followers 0

  Lua → VBScript SwxWare v13.27

  Returns the type of entity a call routing script is running on.

      -- check for a user call routing
      if (PBXScript.Type() == PBXScriptTypeUser) then
         ...
      end

      -- check for a group call routing
      if (PBXScript.Type() == PBXScriptTypeGroup) then
         ...
      end

  This property returns a number value.

  The following constants are available to check for the different entities:

  - PBXScriptTypeUser
  - PBXScriptTypeGroup

  Please read also User or Group context for further information on how to figure if a call routing script runs in a user or user group context.

  By Tom Wellige

  - May 19, 2023
  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.