Redirect an incoming call to another line.

To redirect an incoming, ringing call (call state OFFERING) to another line, execute this operation.
This operation works also for lines, where the user has corresponding access rights to.

Additionally this operation can be executed on a contact of the favorite list where the caller has the access rights to control the lines of the contact.

Remark: If you want to pickup a call (picking an offering call to an own line), use asnCtiPickupCall

ArgumentType: AsnCtiRedirectCallArgument

AsnCtiRedirectCallArgument is an Object

Name Type Optional Comment
u8sContactID string ContactID of the contact to redirect a call from his line. Leave it empty if you just want to redirect a call by its identifier.

u8sConnectionID string Connection identifier of the call to redirect.

u8sPhoneNumber string The line number to redirect to. This number can be in short or long format if you set iNumberFormat to 1.

iNumberFormat number The u8sPhoneNumber is the number to redirect to and normally the server would reformat the number into a dialable form. This behavior can be altered:

(Linked Type: AsnETAPIDialNumberFormat)
optionalParams AsnOptionalParameters yes

ResultType: AsnCtiRedirectCallResult

AsnCtiRedirectCallResult is an Object

Name Type Optional Comment
bSuccess boolean true/1 if the call was redirectd, 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