Skip to main content
Version: v4 (Stable)

TRANSFERFLOWTOFLOWTOPORT

TRANSFERFLOWTOFLOWTOPORT(nPortId[, sRecordFile]) As Integer

Transfer the current call to a call placed on hold.

Alert manages the audio flows. This transfer can be done whatever the port type (Analog, GSM, ...). The on hold ports can be listed by the ENUMONHOLDPORT function.

The function returns when the transfer is done or has failed.

The <nPortId> parameter gives the transfer destination port identifier.

The call can be recorded in a file if the optional parameter <sRecordFile> is set (using a full path).

The function returns -1 if the port is disconnected before transfer, 1 for a successful transfer, 0 if the transfer fails.

Once the transfer has succeeded, the WAITENDFLOWTRANSFER function can be used to wait for the end of the transfer.