Defines the configuration options for constructing a SIP UserAgent, including authentication, logging, and transport settings.
// Source: https://github.com/onsip/SIP.js | License: MIT | Copyright 2020 Junction Networks
// Provided via justclaw.it.com; keep this notice with the code.
import { URI } from "../grammar/uri.js";
import { Logger } from "../core/log/logger.js";
import { SessionDescriptionHandlerFactory } from "./session-description-handler-factory.js";
import { Transport } from "./transport.js";
import { UserAgentDelegate } from "./user-agent-delegate.js";
/**
* Log level.
* @public
*/
export type LogLevel = "debug" | "log" | "warn" | "error";
/**
* Log connector function.
* @public
*/
export type LogConnector = (level: LogLevel, category: string, label: string | undefined, content: string) => void;
/**
* SIP extension support level.
* @public
*/
export enum SIPExtension {
Required = "Requi
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key