• SipApi - axios parameter creator

    Parameters

    Returns {
        dial: ((roomId, componentId, dialConfig?, options?) => Promise<RequestArgs>);
        endCall: ((roomId, componentId, options?) => Promise<RequestArgs>);
    }

    • dial: ((roomId, componentId, dialConfig?, options?) => Promise<RequestArgs>)

      Summary

      Make a call from the SIP component to the provided phone number

      Throws

        • (roomId, componentId, dialConfig?, options?): Promise<RequestArgs>
        • Parameters

          • roomId: string

            Room ID

          • componentId: string

            SIP Component ID

          • Optional dialConfig: DialConfig

            Phone Number configuration

          • Optional options: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • endCall: ((roomId, componentId, options?) => Promise<RequestArgs>)

      Summary

      Finish call made by SIP component

      Throws

        • (roomId, componentId, options?): Promise<RequestArgs>
        • Parameters

          • roomId: string

            Room ID

          • componentId: string

            SIP Component ID

          • Optional options: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    Export