Lua SwxWare v13.10
This function returns the original unmodified calling party name.
local sName = PBXCall.OriginalCallingPartyName()
This function returns a string value.
By using the function PBXCall.CallingPartyName() it is possible to modify the calling party name before a call is connected to a destination. The modified name will then be displayed in the destinations display.
The PBXCall.OriginalCallingPartyName() function will always return the original and unmodified calling party name.

By Tom Wellige