@jambonz/sdk
    Preparing search index...

    Interface Target

    Call target for the dial verb.

    interface Target {
        type: "phone" | "sip" | "user" | "teams";
        number?: string;
        sipUri?: string;
        name?: string;
        tenant?: string;
        trunk?: string;
        confirmHook?: ActionHook;
        method?: "GET" | "POST";
        headers?: Record<string, string>;
        from?: { user?: string; host?: string };
        auth?: Auth;
        vmail?: boolean;
        overrideTo?: string;
        proxy?: string;
    }
    Index

    Properties

    type: "phone" | "sip" | "user" | "teams"

    Target type.

    number?: string

    Phone number in E.164 format. Required for type 'phone'.

    sipUri?: string

    SIP URI. Required for type 'sip'.

    name?: string

    Registered user name. Required for type 'user'.

    tenant?: string

    Microsoft Teams tenant ID. Required for type 'teams'.

    trunk?: string

    SIP trunk to route through.

    confirmHook?: ActionHook

    Webhook for call screening before bridging.

    method?: "GET" | "POST"

    HTTP method for confirmHook.

    headers?: Record<string, string>

    Custom SIP headers on the outbound INVITE.

    from?: { user?: string; host?: string }

    Override the From header on outbound SIP.

    auth?: Auth

    SIP digest auth credentials.

    vmail?: boolean

    Follow into voicemail if unanswered.

    overrideTo?: string

    Override the Request-URI.

    proxy?: string

    SIP proxy to route through.