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

    Interface DialParameters

    Parameters for one dial command. to is required.

    interface DialParameters {
        from?: BaseDestination | CallOrigin;
        maxDurationSeconds?: number;
        name?: string;
        onAnswer?: CommandInput;
        onBusy?: CommandInput;
        onFailure?: CommandInput;
        onHangup?: CommandInput;
        onReject?: CommandInput;
        onTimeout?: CommandInput;
        timeoutDurationSeconds?: number;
        to: CallDestination;
    }
    Index

    Properties

    Call origin, or a BaseDestination from Destination.of.

    maxDurationSeconds?: number

    Maps to maxCallDurationSeconds.

    name?: string

    Name of the call leg. Maps to callName.

    onAnswer?: CommandInput

    Commands to run when the call is answered.

    onBusy?: CommandInput

    Commands to run when the call is busy.

    onFailure?: CommandInput

    Commands to run when the call fails.

    onHangup?: CommandInput

    Commands to run when the call is hung up.

    onReject?: CommandInput

    Commands to run when the call is rejected.

    onTimeout?: CommandInput

    Commands to run when the call times out.

    timeoutDurationSeconds?: number

    Maps to dialTimeoutDurationSeconds.

    Call destination.