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

    Interface Call

    Call details for a single participant's connection in a session.

    interface Call {
        answerTime?: Date;
        batchId?: string;
        bridgeName?: string;
        callDurationSeconds?: number;
        callId: string;
        callName?: string;
        callRate: Voice.v2.Money;
        callReason?: string;
        callResourceUrl: string;
        callResult: string;
        callType: string;
        direction: string;
        endTime?: Date;
        from?: CallOrigin;
        originationType: string;
        projectId: string;
        serviceId: string;
        sessionId: string;
        startTime: Date;
        to?: CallDestination;
        updateTime?: Date;
    }
    Index

    Properties

    answerTime?: Date

    Timestamp (RFC 3339) indicating when the call was answered. Omitted if the call was not answered.

    batchId?: string

    The ID of the batch, when the call was initiated as part of a batch operation.

    bridgeName?: string

    The name of the bridge the call belongs to. Omitted for calls not assigned to any bridge.

    callDurationSeconds?: number

    Duration of the call in seconds.

    callId: string

    The Id of the call.

    callName?: string

    The name identifying this call leg within the session, as assigned by the callName property in the dial command or in the SVAML response to an incoming call webhook. Omitted for calls that were not assigned a name.

    callRate: Voice.v2.Money

    The rate charged for this call, expressed as a monetary amount per minute in the specified currency.

    callReason?: string

    CallReason

    callResourceUrl: string

    Absolute URI to this call resource. Use this URL to retrieve the call details.

    callResult: string

    CallResult

    callType: string

    CallType

    direction: string

    CallDirection

    endTime?: Date

    Timestamp (RFC 3339) indicating when the call ended. Omitted for ongoing calls.

    from?: CallOrigin

    CallOrigin

    originationType: string

    OriginationType

    projectId: string

    The Id of the project associated with the call.

    serviceId: string

    The ID of the service used.

    sessionId: string

    The ID of the session.

    startTime: Date

    Timestamp (RFC 3339) indicating when the call was created and call setup was initiated (start of the call attempt).

    CallDestination

    updateTime?: Date

    Timestamp (RFC 3339) indicating when the call was last updated. Omitted if no updates were performed on this call.