VBScript → Lua SwxWare v13.27
Returns the type of the calling entity.
Dim nType nType = PBXCall.CallingEntityType
This property return an integer value.
The following constants are available to check for the different entity types:
- PBXEntityTypeClient (internal call from another user)
- PBXEntityTypeTrunk (external call via a trunk)
You can use PBXCall.CallingEntityId to receive the SwyxWare internal user or trunk id.
By Tom Wellige