Skip to main content
Version: v4 (Stable)

ENUMONHOLDPORT

ENUMONHOLDPORT(nPortId As Integer[, sCallerId As String, sCalledId As String]) As Boolean

Enumerates the ALERT on hold ports. This function is useful to do a transfer between 2 incoming calls.

The (in/out) parameter <nPortId> should be filled (input) with the last found on hold port id. Use -1 to start the search. In output, it contains the next on hold port id.

When the return value is FALSE, no more on hold port can be found.

When a on hold port is found, <sCallerId> and <sCalledId> contain the caller and called phone numbers.