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