Member Junction
    Preparing search index...

    A full-duplex ITelephonyCallSdk over one ringcentral-softphone call session, drawn from a shared SoftphoneCallSource. Construct via the server service's bind factory (which closes over the process-wide registration handle), not directly.

    Implements

    Index

    Constructors

    Methods

    • Places an outbound call through the shared registration and brings duplex audio online.

      Parameters

      • toNumber: string

        The destination phone number to dial.

      • _fromNumber: string

        Ignored — the caller-id is fixed by the softphone's SIP registration (one DID per registration); a different caller-id needs a different registration.

      Returns Promise<string>

      The SIP Call-ID of the placed call (the bridge's external connection id).

    • Queues one PCM16 frame as the agent's outbound voice — the RTP sender paces it onto the wire at 20 ms. No-ops before the call is up so an early model frame never crashes the session.

      Parameters

      • pcm: ArrayBuffer

        The PCM audio bytes to speak into the call (at the codec rate — 16 kHz for OPUS/16000).

      Returns void