jssip - v3.14.0
    Preparing search index...

    Enumeration causes

    Why a session, a registration or a message ended or failed.

    Reported in the cause field of the failed and ended events, together with the originator telling which side caused it.

    session.on('failed', ({ cause }) => {
    if (cause === JsSIP.C.causes.BUSY) {
    console.log('the callee is busy');
    }
    });
    Index

    Enumeration Members

    CONNECTION_ERROR: "Connection Error"

    The transport could not be established or was lost.

    REQUEST_TIMEOUT: "Request Timeout"

    No response arrived before the transaction timed out.

    SIP_FAILURE_CODE: "SIP Failure Code"

    A SIP failure response arrived that maps to no more specific cause.

    INTERNAL_ERROR: "Internal Error"

    The library failed to carry the operation out.

    BUSY: "Busy"

    The callee is busy. Reported for a 486 or 600 response.

    REJECTED: "Rejected"

    The request was declined. Reported for a 403 or 603 response.

    REDIRECTED: "Redirected"

    The callee moved. Reported for a 300, 301, 302, 305 or 380 response.

    UNAVAILABLE: "Unavailable"

    The callee is temporarily unreachable. Reported for a 408, 410, 430 or 480 response.

    NOT_FOUND: "Not Found"

    The callee does not exist. Reported for a 404 or 604 response.

    ADDRESS_INCOMPLETE: "Address Incomplete"

    The address is incomplete. Reported for a 424 or 484 response.

    INCOMPATIBLE_SDP: "Incompatible SDP"

    The peers found no common media. Reported for a 488 or 606 response.

    MISSING_SDP: "Missing SDP"

    A session description was expected in the message and it carried none.

    AUTHENTICATION_ERROR: "Authentication Error"

    The credentials were rejected, or none were configured for a 401 or 407 response.

    BYE: "Terminated"

    The session was ended with a BYE.

    WEBRTC_ERROR: "WebRTC Error"

    The WebRTC stack failed, for instance while negotiating or while applying a session description.

    CANCELED: "Canceled"

    The session was cancelled by the local or the remote peer.

    NO_ANSWER: "No Answer"

    The incoming call was not answered within the time given by the no_answer_timeout configuration parameter.

    EXPIRES: "Expires"

    The incoming call carried an Expires header field and the local user did not answer within the time it gave.

    NO_ACK: "No ACK"

    The ACK to the 2xx response to the INVITE never arrived.

    DIALOG_ERROR: "Dialog Error"

    An in-dialog request failed in a way that ends the dialog, so a 408 or 481 response to it.

    USER_DENIED_MEDIA_ACCESS: "User Denied Media Access"

    The user refused to grant access to the camera or the microphone.

    BAD_MEDIA_DESCRIPTION: "Bad Media Description"

    The session description could not be parsed or applied.

    RTP_TIMEOUT: "RTP Timeout"

    The session ended due to loss of RTP.