Swap puts the active call on hold and retrieves the hold call
You can swap between a held call and an active call with this function.
This operation needs two calls on the same line (one active, one held) to execute successfully.
Both calls must have the call feature eCFEATURESWAPHOLD set.
ArgumentType: AsnCtiSwapHoldArgument
AsnCtiSwapHoldArgument is an Object
Name | Type | Optional | Comment |
---|---|---|---|
u8sConnectionID | string | Connection identifier of the held call. | |
optionalParams | AsnOptionalParameters | yes |
ResultType: AsnCtiSwapHoldResult
AsnCtiSwapHoldResult is an Object
Name | Type | Optional | Comment |
---|---|---|---|
bSuccess | boolean | true/1 if swap was successful, false/0 otherwise. | |
optionalParams | AsnOptionalParameters | yes |
ErrorType: AsnRequestError
AsnRequestError is an Object
Name | Type | Optional | Comment |
---|---|---|---|
iErrorDetail | number | A number representing the error | |
u8sErrorString | string | A string representing the error | |
optionalParams | AsnOptionalParameters | yes | No optional params yet |
Version 7