Member Junction
    Preparing search index...
    • Builds the NCCO connect action used to transfer a live call to another number — the document supplied to the Voice API PUT /v1/calls/:uuid transfer ({ action: 'transfer', destination: { type: 'ncco', ncco: [...] } }). Pure + exported so the transfer payload is testable without the SDK.

      Parameters

      • toNumber: string

        The transfer destination (E.164).

      Returns NccoAction[]

      A one-action NCCO connecting the call to a phone endpoint.