VBScript
This object can be used to manipulate the phone call list entry which is written for the current call into the user's phone call list.
This object defines the following properties and functions:
- Name
- Number
- State
- CallbackState
- Delete
PBXCall.PhoneCallListEntry.Name = "Erika Mustermann"
The Name property takes or returns the name to be set in the phone call list entry as string value.
PBXCall.PhoneCallListEntry.Number = "4923147770"
The Number property takes or returns the number to be set in the phone call list entry as string value.
PBXCall.PhoneCallListEntry.State = PhoneCallStateCallAccepted
The State property takes or returns the state of the call as PhoneCallState value.
This is a list of all possible/available phone call states:
PhoneCallStateCallAccepted PhoneCallStateCallNotAccepted PhoneCallStateCallDiverted PhoneCallStateCallDivertedToVoicemail PhoneCallStateAcceptedByTransfer
PhoneCallListEntry.CallbackState
The CallbackState propery takes or returns the state of a possibly request callback. When calling a busy user it is possible to leave a callback request.
This is a list of all possible/available callback request states:
PhoneCallbackStateNoCallback PhoneCallbackStateCallbackRequested PhoneCallbackStateCallbackCompleted
PBXCall.PhoneCallListEntry.Delete
The Delete function prevents any phone call list entry to be written for this call.
This object does not manipulate the number and name to be displayed directly in the client (SwyxIt!, SwyxPhone). You can use the functions PBXCall.CallingPartyName and PBXCall.CallingPartyNumber to achieve this.
Do not mistake the user's phone call list with the Call Detail Records.
Please not that there is just one caller list entry written for the current script user. If you connect the call to some other user or user group those destinations will not get this caller list entry written.

By Tom Wellige