@videosdk.live/server-sdk
    Preparing search index...

    Interface CreateRoutingRuleOptions

    interface CreateRoutingRuleOptions {
        agentId?: string;
        agentMetadata?: Record<string, unknown>;
        allowedIpAddresses?: string[];
        allowedNumbers?: string[];
        apiKey?: string;
        dtmf?: boolean;
        headers?: Record<string, string>;
        headersToAttributes?: Record<string, string>;
        hidePhoneNumber?: boolean;
        includeHeaders?: SipIncludeHeaders;
        name: string;
        noiseCancellation?: boolean;
        phoneNumbers?: string[];
        recording?: boolean;
        room?: SipRoomConfig;
        rule?: RoutingRuleTarget;
        tags?: string[];
        type: SipDirection;
    }
    Index
    agentId?: string
    agentMetadata?: Record<string, unknown>
    allowedIpAddresses?: string[]
    allowedNumbers?: string[]
    apiKey?: string

    API key to associate with the rule.

    dtmf?: boolean
    headers?: Record<string, string>

    Outbound only.

    headersToAttributes?: Record<string, string>

    Inbound only.

    hidePhoneNumber?: boolean
    includeHeaders?: SipIncludeHeaders
    name: string

    Display name. Required.

    noiseCancellation?: boolean
    phoneNumbers?: string[]

    Provisioned phone numbers to bind (see PhoneNumbersResource).

    recording?: boolean

    Explicit room configuration (advanced). Used only when rule is omitted.

    Where to route matching calls. See RoutingRuleTarget.

    tags?: string[]

    Direction. Required.