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

    The call resource represents an inbound or outbound connection between Sinch and a supported device

    interface Call {
        answerTime?: Date;
        billingDurationSeconds?: number;
        callId?: string;
        callResult?: string;
        createTime?: Date;
        direction?: string;
        durationSeconds?: number;
        endTime?: Date;
        from?: string;
        price?: ElasticSipTrunking.Money;
        pricePerMinute?: ElasticSipTrunking.Money;
        projectId?: string;
        to?: string;
        trunkId?: string;
    }
    Index

    Properties

    answerTime?: Date

    Time when call was answered

    billingDurationSeconds?: number

    The duration of the call adjusted with the billing period.

    callId?: string

    The unique identifier of the call.

    callResult?: string

    The result of the call

    createTime?: Date

    The time the call was created.

    direction?: string

    Describes whether the call was INBOUND to your Sinch number or was OUTBOUND and made from your Sinch number.

    durationSeconds?: number

    The duration of the call in seconds. For inbound calls, this is the time from when the call started until the call ended. For outbound calls, this is the time from when the call was answered until the call ended.

    endTime?: Date

    The time the call ended

    from?: string

    For INBOUND calls, this is the number of the person calling. When making an outbound call set this to the your Sinch number you want to show up as Caller Id. The call's origination, formatted according to the call's callType. For calls in the telephone network, this is a phone number in E.164 format, including the leading +. More info see Call types

    Money

    pricePerMinute?: ElasticSipTrunking.Money

    Money

    projectId?: string

    The ID of the project that the call belongs to.

    to?: string

    For INBOUND calls, this is the Sinch number the phone dialed. For OUTBOUND calls, this is the phone number you want to make a call to. Formatted according e164 format.

    trunkId?: string

    The ID of the trunk that the call was made through.