Add some data to the call which will be transferred to other clients.

For some use cases it will be necessary to transfer business data attached to a call to other clients with the call, e.g. while transferring it.

With this operation this data can be added to the call information of a call without setting the whole information structure again.

This operation only executes successfully if the user is the line owner.

[TODO: MORE DETAILS NEEDED! Especial for CallDataAnnouncement (ConnectionID unknown)]

ArgumentType: AsnCtiSetCallDataArgument

AsnCtiSetCallDataArgument is an Object

Name Type Optional Comment
u8sConnectionID string Connection identifier of the call to set data for. If this is unknown (empty), the additional parameters in optionalParams are needed.

callDataList AsnCtiCallDataList Call data key value map

optionalParams AsnOptionalParameters yes Additional parameters for asnCtiSetCallData added here for backward compatibility.
These parameters are only needed, if the connection identifier is unknown.

  • Key "calledNumber", Value String
  • Key "transferringNumber", Value String
  • Key "callStateMask", Value double
  • Key "hostCallID", Value double

ResultType: AsnCtiSetCallDataResult

AsnCtiSetCallDataResult is an Object

Name Type Optional Comment
bSuccess boolean Data was accepted
true/1 if successful set, false/0 otherwise

optionalParams AsnOptionalParameters yes

ErrorType: AsnRequestError

AsnRequestError is an Object

Name Type Optional Comment
iErrorDetail number
u8sErrorString string
optionalParams AsnOptionalParameters yes

Version 6.1