VBScript → Lua
This property takes or returns the number of the current caller.
' Retrieving the caller number
Dim sNumber
sNumber = IpPbx.CallingNumber
' Setting the caller number
IpPbx.CallingNumber = "123456789"
This property takes or returns a string value.
This property can be used to modify the number being displayed on a client (SwyxIt!, SwyxPhone). It does not modify the caller list entry. This can be achieved using the PBXCall.PhoneCallListEntry object.
Additionally you can also modify the name being displayed using the IpPbx.CallingName property.
Please note that you have to modify this value before actually connecting the call to a user using the Connect To block.
This property is identical to the Server Script API property PBXCall.CallingPartyNumber.
This forum thread explains how to modify the displayed name and number.
By Tom Wellige