Client to access Egress APIs

Hierarchy

  • default
    • SipClient

Constructors

Methods

  • Parameters

    • name: string

      human-readable name of the trunk

    • address: string

      hostname and port of the SIP server to dial

    • numbers: string[]

      phone numbers of the trunk

    • Optionalopts: CreateSipOutboundTrunkOptions

      CreateSipTrunkOptions

    Returns Promise<SIPOutboundTrunkInfo>

  • Parameters

    • sipTrunkId: string

      sip trunk to use for the call

    • number: string

      number to dial

    • roomName: string

      room to attach the call to

    • Optionalopts: CreateSipParticipantOptions

      CreateSipParticipantOptions

    Returns Promise<SIPParticipantInfo>