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.
![Tom Wellige](http://content.invisioncic.com/r255538/monthly_2020_04/facebook2.thumb.png.7201b63ad83065920f23d2478c4a838f.png)
By Tom Wellige