Class CallReason
java.lang.Object
com.sinch.sdk.core.utils.EnumDynamic<String,CallReason>
com.sinch.sdk.domains.voice.models.v2.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 Summary
FieldsModifier and TypeFieldDescriptionstatic final CallReasonThe callee hung up the call.static final CallReasonThe caller hung up the call.static final CallReasonThe DID number was not found.static final CallReasonAn error occurred during the call.static final CallReasonThe SVAML script was invalid.static final CallReasonThe call was ended by the call manager.static final CallReasonThere are no more routes to complete the call.static final CallReasonThe callee was not available.static final CallReasonThe call was completed successfully.static final CallReasonThe product associated with the call is unknown. -
Method Summary
Modifier and TypeMethodDescriptionstatic CallReasonstatic Stringstatic Stream<CallReason> values()Methods inherited from class com.sinch.sdk.core.utils.EnumDynamic
equals, hashCode, toString, value
-
Field Details
-
OK
The call was completed successfully. -
NOT_AVAILABLE
The callee was not available. -
CALLER_HANGUP
The caller hung up the call. -
CALLEE_HANGUP
The callee hung up the call. -
MANAGER_HANGUP
The call was ended by the call manager. -
DID_NOT_FOUND
The DID number was not found. -
INVALID_SCRIPT
The SVAML script was invalid. -
UNKNOWN_PRODUCT
The product associated with the call is unknown. -
NO_MORE_ROUTES
There are no more routes to complete the call. -
ERROR
An error occurred during the call.
-
-
Method Details
-
values
-
from
-
valueOf
-