VBScript → Lua 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 if ' check for a group call routing if PBXScript.Type = PBXScriptTypeGroup then ... end if
This property returns an integer 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.
![Tom Wellige](http://content.invisioncic.com/r255538/monthly_2020_04/facebook2.thumb.png.7201b63ad83065920f23d2478c4a838f.png)
By Tom Wellige