@vonage/voice
Version:
The Voice API lets you create outbound calls, control in-progress calls and get information about historical calls.
31 lines • 1.16 kB
TypeScript
import { SIPEndpoint as SIPEndpointType } from '../../types/Endpoint/SIPEndpoint';
/**
* Represents a SIP (Session Initiation Protocol) endpoint for making voice calls.
* @deprecated This class is deprecated. Please update to use the SIPEndpointType type instead.
*/
export declare class SIPEndpoint implements SIPEndpointType {
/**
* The type of the endpoint, which is always 'sip'.
*/
type: 'sip';
/**
* The SIP URI associated with this endpoint.
*
* @param {string} uri - The SIP URI for the SIP endpoint.
*/
uri: string;
/**
* Optional custom headers to include in SIP requests.
*
* @param {Array<Record<string, unknown>>} headers - Optional custom headers as an array of key-value pairs.
*/
headers?: Record<string, unknown>;
/**
* Create a new SIPEndpoint instance.
*
* @param {string} uri - The SIP URI for the SIP endpoint.
* @param {Array<Record<string, unknown>>} headers - Optional custom headers as an array of key-value pairs.
*/
constructor(uri: string, headers?: Array<Record<string, unknown>>);
}
//# sourceMappingURL=SIPEndpoint.d.ts.map