VBScript → Lua
This property returns the name of the calling device.
PBXCall.CallingDeviceName
This property returns a string value.
If the call is "external", i.e. it comes via a gateway trunk, link trunk or sip trunk, this property contains the name of that trunk as configured in the SwyxWare Administration.
If you need to figure the calling device type as well you can use the property PBXCall.CallingDeviceType.
With the combination of PBXCall.CallingDeviceName and PBXCall.CallingDeviceType you can easily identify a specifc trunk a call came into your SwyxWare, be it an external trunk or a trunk to another linked SwyxWare.
By Tom Wellige