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

    Interface CallEvents

    Webhook to handle call events, used when callBehaviors are set to WEBHOOK

    interface CallEvents {
        onAnswer?: SvamlCommand[];
        onBusy?: SvamlCommand[];
        onFailure?: SvamlCommand[];
        onHangup?: SvamlCommand[];
        onReject?: SvamlCommand[];
        onTimeout?: SvamlCommand[];
    }
    Index

    Properties

    onAnswer?: SvamlCommand[]

    SVAML commands to be executed when the call is answered

    onBusy?: SvamlCommand[]

    SVAML commands to be executed when the call is busy

    onFailure?: SvamlCommand[]

    SVAML commands to be executed when the call fails

    onHangup?: SvamlCommand[]

    SVAML commands to be executed when the call is hung up

    onReject?: SvamlCommand[]

    SVAML commands to be executed when the call is rejected

    onTimeout?: SvamlCommand[]

    SVAML commands to be executed when the call is timed out