Class CallReason

java.lang.Object
com.sinch.sdk.core.utils.EnumDynamic<String,CallReason>
com.sinch.sdk.domains.voice.models.v2.CallReason

public class CallReason extends EnumDynamic<String,CallReason>
Reason explaining why the call ended in the given CallResult.

CallResult describes what happened (state/outcome). The reason provides additional context about the underlying cause (for example, who terminated the call, routing issues, or validation errors).

  • Field Details

    • OK

      public static final CallReason OK
      The call was completed successfully.
    • NOT_AVAILABLE

      public static final CallReason NOT_AVAILABLE
      The callee was not available.
    • CALLER_HANGUP

      public static final CallReason CALLER_HANGUP
      The caller hung up the call.
    • CALLEE_HANGUP

      public static final CallReason CALLEE_HANGUP
      The callee hung up the call.
    • MANAGER_HANGUP

      public static final CallReason MANAGER_HANGUP
      The call was ended by the call manager.
    • DID_NOT_FOUND

      public static final CallReason DID_NOT_FOUND
      The DID number was not found.
    • INVALID_SCRIPT

      public static final CallReason INVALID_SCRIPT
      The SVAML script was invalid.
    • UNKNOWN_PRODUCT

      public static final CallReason UNKNOWN_PRODUCT
      The product associated with the call is unknown.
    • NO_MORE_ROUTES

      public static final CallReason NO_MORE_ROUTES
      There are no more routes to complete the call.
    • ERROR

      public static final CallReason ERROR
      An error occurred during the call.
  • Method Details