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

    Interface DiceRequest

    The request body of a Disconnected Call Event.

    interface DiceRequest {
        applicationKey?: string;
        callHeaders?: CallHeader[];
        callid?: string;
        custom?: string;
        debit?: VoicePrice;
        duration?: number;
        event?: "dice";
        from?: string;
        reason?: string;
        result?: string;
        timestamp?: Date;
        to?: Destination;
        userRate?: VoicePrice;
        version?: number;
    }
    Index

    Properties

    applicationKey?: string

    The unique application key. You can find it in the Sinch dashboard.

    callHeaders?: CallHeader[]

    If the call was initiated by a Sinch SDK client, call headers are the headers specified by the caller client. Read more about call headers here.

    callid?: string

    The unique ID assigned to this call.

    custom?: string

    A string that can be used to pass custom information related to the call.

    debit?: VoicePrice

    An object containing currency and total amount charged for the call.

    duration?: number

    The duration of the call in seconds.

    event?: "dice"

    Must have the value dice.

    from?: string

    Information about the initiator of the call.

    reason?: string

    The reason the call was disconnected.

    result?: string

    The result of the call.

    timestamp?: Date

    The timestamp in UTC format.

    An object containing information about the recipient of the call.

    userRate?: VoicePrice

    An object containing currency and rate per minute for the call.

    version?: number

    The current API version.