Sinch Node.js SDK - v1.5.0
    Preparing search index...

    Interface SvamlActionConnectSip

    Determines how to route a call to a SIP server. Available to use in a response to an Incoming Call Event callback.

    interface SvamlActionConnectSip {
        callHeaders?: CallHeader[];
        cli?: string;
        destination: DestinationSip;
        maxDuration?: number;
        moh?: string;
        name: "connectSip";
        suppressCallbacks?: boolean;
        transport?: string;
    }
    Index

    Properties

    callHeaders?: CallHeader[]

    Private SIP headers to send with the call.

    cli?: string

    Used to override the CLI (or caller ID) of the client. The phone number of the person who initiated the call is shown as the CLI. To set your own CLI, you may use your verified number or your Dashboard virtual number.

    destination: DestinationSip

    Specifies where to route the SIP call.

    maxDuration?: number

    The max duration of the call in seconds (max 14400 seconds). If the call is still connected at that time, it will be automatically disconnected.

    moh?: string

    Means "music on hold". If this optional parameter is included, plays music to the connected participant if the SIP call is placed on hold. If moh isn't specified and the SIP call is placed on hold, the user will only hear silence while during the holding period .

    name: "connectSip"

    The name property. Must have the value connectSip.

    suppressCallbacks?: boolean

    If enabled, suppresses ACE and DICE callbacks for the call.

    transport?: string

    An optional parameter to specify the SIP transport protocol. If unspecified, UDP is used.