ImsReasonInfo Class

Definition

Provides details on why an IMS call failed.

[Android.Runtime.Register("android/telephony/ims/ImsReasonInfo", ApiSince=30, DoNotGenerateAcw=true)]
public sealed class ImsReasonInfo : Java.Lang.Object, Android.OS.IParcelable, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/telephony/ims/ImsReasonInfo", ApiSince=30, DoNotGenerateAcw=true)>]
type ImsReasonInfo = class
    inherit Object
    interface IParcelable
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
Inheritance
ImsReasonInfo
Attributes
Implements

Remarks

Provides details on why an IMS call failed. Applications can use the methods in this class to get local or network fault behind an IMS services failure. For example, if the code is CODE_CALL_BARRED, then the call was blocked by network call barring configuration and it is not the device's bug and the user can retry the call when network lift the barring. Typical use case includes call backs when IMS call state changed with this class as a param containing details on why IMS call changed state/failed.

Java documentation for android.telephony.ims.ImsReasonInfo.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

ImsReasonInfo(Int32, Int32, String)

Fields

CodeAccessClassBlocked
Obsolete.

Call failed because of access class barring

CodeAnsweredElsewhere
Obsolete.

MT call has ended due to a release from the network because the call was answered elsewhere.

CodeBlacklistedCallId
Obsolete.

Device declined a call due to a blacklisted caller ID.

CodeCallBarred
Obsolete.

The call was blocked by call barring configuration.

CodeCallDropIwlanToLteUnavailable
Obsolete.

CALL DROP error code for the case when a device is ePDG capable and when the user is on an active wifi call and at the edge of coverage and there is no qualified LTE network available to handover the call to.

CodeCallEndCauseCallPull
Obsolete.

For MultiEndpoint - Call has been pulled from primary to secondary.

CodeCallPullOutOfSync
Obsolete.

For MultiEndpoint - Call Pull request has failed.

CodeDataDisabled
Obsolete.

Indicates the call was disconnected due to the user disabling cellular data.

CodeDataLimitReached
Obsolete.

Indicates the call was disconnected due to the user reaching their data limit.

CodeDialModifiedToDial
Obsolete.

Stk Call Control modified DIAL request to DIAL with modified data.

CodeDialModifiedToDialVideo
Obsolete.

Stk Call Control modified DIAL request to Video DIAL request.

CodeDialModifiedToSs
Obsolete.

Stk Call Control modified DIAL request to SS request.

CodeDialModifiedToUssd
Obsolete.

Stk Call Control modified DIAL request to USSD request.

CodeDialVideoModifiedToDial
Obsolete.

Stk Call Control modified Video DIAL request to DIAL request.

CodeDialVideoModifiedToDialVideo
Obsolete.

Stk Call Control modified Video DIAL request to Video DIAL request.

CodeDialVideoModifiedToSs
Obsolete.

Stk Call Control modified Video DIAL request to SS request.

CodeDialVideoModifiedToUssd
Obsolete.

Stk Call Control modified Video DIAL request to USSD request.

CodeEcbmNotSupported
Obsolete.

Emergency callback mode is not supported.

CodeEmergencyPermFailure
Obsolete.

Emergency call failed in the modem with a permanent fail cause and should not be redialed on this slot.

CodeEmergencyTempFailure
Obsolete.

Emergency call failed in the modem with a temporary fail cause and should be redialed on this slot.

CodeEpdgTunnelEstablishFailure
Obsolete.

Establishment of the ePDG Tunnel Failed.

CodeEpdgTunnelLostConnection
Obsolete.

Connection to the packet gateway is lost.

CodeEpdgTunnelRekeyFailure
Obsolete.

Re-keying of the ePDG Tunnel Failed; may not always result in teardown.

CodeFdnBlocked
Obsolete.

The operation is restricted to fixed dialing numbers only.

CodeIkev2AuthFailure
Obsolete.

Indicates the registration attempt on IWLAN failed due to IKEv2 authetication failure during tunnel establishment.

CodeImeiNotAccepted
Obsolete.

Network rejected the emergency call request because IMEI was used as identification and this capability is not supported by the network.

CodeIwlanDpdFailure
Obsolete.

DPD Procedure received no response or send failed.

CodeLocalCallBusy
Obsolete.

The call is busy.

CodeLocalCallCsRetryRequired
Obsolete.

VoLTE service can't be provided by the network or remote end, retry the call.

CodeLocalCallDecline
Obsolete.

The Call has been declined locally on this device.

CodeLocalCallExceeded
Obsolete.

Maximum number of simultaneous calls exceeded

CodeLocalCallResourceReservationFailed
Obsolete.

Can not complete call; resource reservation is failed (QoS precondition)

CodeLocalCallTerminated
Obsolete.

IMS call is already terminated (in TERMINATED state).

CodeLocalCallVccOnProgressing
Obsolete.

Can not complete call; an SRVCC is in progress.

CodeLocalCallVolteRetryRequired
Obsolete.

VoLTE service can't be provided by the network temporarily, retry the call.

CodeLocalEndedByConferenceMerge
Obsolete.

IMS Call ended during conference merge process

CodeLocalHoNotFeasible
Obsolete.

Call was disconnected because a handover is not feasible due to network conditions.

CodeLocalIllegalArgument
Obsolete.

The passed argument is invalid.

CodeLocalIllegalState
Obsolete.

The operation was invoked while in an invalid call state.

CodeLocalImsServiceDown
Obsolete.

ImsService has crashed (service connection is lost).

CodeLocalInternalError
Obsolete.

IMS service internal error

CodeLocalLowBattery
Obsolete.

Service unavailable; low battery

CodeLocalNetworkIpChanged
Obsolete.

Service unavailable; IP changed

CodeLocalNetworkNoLteCoverage
Obsolete.

Service unavailable; no LTE coverage (VoLTE is not supported even though IMS is registered)

CodeLocalNetworkNoService
Obsolete.

Service unavailable; out of service (data service state)

CodeLocalNetworkRoaming
Obsolete.

Service unavailable; located in roaming area

CodeLocalNoPendingCall
Obsolete.

No pending incoming call exists

CodeLocalNotRegistered
Obsolete.

Service unavailable; IMS is not registered

CodeLocalPowerOff
Obsolete.

Service unavailable; radio power off

CodeLocalServiceUnavailable
Obsolete.

Service unavailable; for an unspecified reason

CodeLowBattery
Obsolete.

Device declined/ended a call due to a low battery condition.

CodeMaximumNumberOfCallsReached
Obsolete.

The maximum number of calls allowed has been reached.

CodeMediaInitFailed
Obsolete.

Media resource initialization failed

CodeMediaNoData
Obsolete.

RTP timeout (no audio / video traffic in the session)

CodeMediaNotAcceptable
Obsolete.

Media is not supported; so dropped the call

CodeMediaUnspecified
Obsolete.

Unspecified media related error.

CodeMultiendpointNotSupported
Obsolete.

Fail code used to indicate that Multi-endpoint is not supported by the IMS framework.

CodeNetworkCongestion
Obsolete.

Call failed because of network congestion, resource is not available, or no circuit or channel available, etc.

CodeNetworkDetach
Obsolete.

Call/IMS registration is failed/dropped because of a network detach

CodeNetworkReject
Obsolete.

The failure is due to explicit reject from network

CodeNetworkRespTimeout
Obsolete.

The failure is due to UE timer expired while waiting for a response from network

CodeNoCsfbInCsRoam
Obsolete.

Call failed because WiFi call could not complete and circuit switch silent redial is not allowed while roaming on another network.

CodeNoValidSim
Obsolete.

The call cannot be established because of no valid SIM

CodeOemCause1
Obsolete.

Supplementary services (HOLD/RESUME) failure error codes.

CodeOemCause10
CodeOemCause11
CodeOemCause12
CodeOemCause13
CodeOemCause14
CodeOemCause15
CodeOemCause2
CodeOemCause3
CodeOemCause4
CodeOemCause5
CodeOemCause6
CodeOemCause7
CodeOemCause8
CodeOemCause9
CodeRadioAccessFailure
Obsolete.

The failure is due to radio access failure.

CodeRadioInternalError
Obsolete.

The failure is due internal error at modem

CodeRadioLinkFailure
Obsolete.

Call/IMS registration failed/dropped because of a RLF

CodeRadioLinkLost
Obsolete.

Call/IMS registration failed/dropped because of radio link lost

CodeRadioOff
Obsolete.

The call cannot be established because RADIO is OFF

CodeRadioReleaseAbnormal
Obsolete.

Call failed/dropped because of RRC abnormally released by modem/network

CodeRadioReleaseNormal
Obsolete.

Call failed/dropped because of RRC connection release from NW

CodeRadioSetupFailure
Obsolete.

Call failed because of a RRC connection setup failure

CodeRadioUplinkFailure
Obsolete.

The call Call/IMS registration failed because of a radio uplink issue

CodeRegistrationError
Obsolete.

IMS Registration error code

CodeReject1xCollision
Obsolete.

CDMA call collision.

CodeRejectCallOnOtherSub
Obsolete.

A call is ongoing on another sub.

CodeRejectCallTypeNotAllowed
Obsolete.

The call type is not allowed on the current RAT.

CodeRejectConferenceTtyNotAllowed
Obsolete.

Call from conference server, when TTY mode is ON.

CodeRejectedElsewhere
Obsolete.

For MultiEndPoint - Call was rejected elsewhere

CodeRejectInternalError
Obsolete.

An internal error occured while processing the call.

CodeRejectMaxCallLimitReached
Obsolete.

Maximum number of allowed calls are already in progress.

CodeRejectOngoingCallSetup
Obsolete.

Another call is in the process of being establilshed.

CodeRejectOngoingCallTransfer
Obsolete.

A call transfer is in progress.

CodeRejectOngoingCallUpgrade
Obsolete.

A call upgrade is in progress.

CodeRejectOngoingCallWaitingDisabled
Obsolete.

Ongoing call, and call waiting is disabled.

CodeRejectOngoingConferenceCall
Obsolete.

A conference call is ongoing.

CodeRejectOngoingCsCall
Obsolete.

A CS call is ongoing.

CodeRejectOngoingE911Call
Obsolete.

And emergency call is ongoing.

CodeRejectOngoingEncryptedCall
Obsolete.

And encrypted call is ongoing; other calls not supported.

CodeRejectOngoingHandover
Obsolete.

A call handover is in progress.

CodeRejectQosFailure
Obsolete.

Call failure due to lack of dedicated bearer.

CodeRejectServiceNotRegistered
Obsolete.

IMS is not registered for service yet.

CodeRejectUnknown
Obsolete.

The rejection cause is not known.

CodeRejectUnsupportedSdpHeaders
Obsolete.

Invalid/unsupported SDP headers received.

CodeRejectUnsupportedSipHeaders
Obsolete.

Invalid/unsupported SIP headers received.

CodeRejectVtAvpfNotAllowed
Obsolete.

A video call with AVPF is not supported.

CodeRejectVtTtyNotAllowed
Obsolete.

Video calling not supported with TTY.

CodeRemoteCallDecline
Obsolete.

Similar to #CODE_LOCAL_CALL_DECLINE, except indicates that a remote device has declined the call.

CodeSessionModificationFailed
Obsolete.

UPGRADE DOWNGRADE operation failed This can happen due to failure from SIP/RTP/SDP generation or a Call end is triggered/received while Reinvite is in progress.

CodeSipAlternateEmergencyCall
Obsolete.

Call failed due to SIP code 380 (Alternative Service response) while dialing an "undetected emergency number".

CodeSipAmbiguous
Obsolete.

SIP Response : 485 Request-URI is ambiguous

CodeSipBadAddress
Obsolete.

SIP response 484 : Address Incomplete

CodeSipBadRequest
Obsolete.

Sip 400 response : Bad Request

CodeSipBusy
Obsolete.

Returned a busy response, may be one of the following: SIP response 486 : Busy Here, SIP response 600 : Busy Everywhere

CodeSipCallOrTransDoesNotExist
Obsolete.

SIP Response : 481 Request received by the server does not match any dialog or transaction

CodeSipClientError
Obsolete.

Received another unspecified error SIP response from the client.

CodeSipExtensionRequired
Obsolete.

SIP Response : 421 Specific extension is required, which is not present in the HEADER

CodeSipForbidden
Obsolete.

Sip 403 response : Forbidden

CodeSipGlobalError
Obsolete.

Unspecified 6xx error.

CodeSipIntervalTooBrief
Obsolete.

SIP Response : 422 The session expiration field too small

CodeSipLoopDetected
Obsolete.

SIP Response : 482 Server has detected a loop

CodeSipMethodNotAllowed
Obsolete.

SIP Response : 405 Method not allowed for the address in the Request URI

CodeSipNotAcceptable
Obsolete.

Received a not acceptable response, will be one of the following: SIP response 406 : Not Acceptable SIP response 488 : Not Acceptable Here SIP response 606 : Not Acceptable

CodeSipNotFound
Obsolete.

Sip 404 response : Not Found

CodeSipNotReachable
Obsolete.

Received a not acceptable response, will be one of the following: SIP response 410 : Gone SIP response 604 : Does Not Exist Anywhere

CodeSipNotSupported
Obsolete.

Not supported, because of one of the following: SIP response 415 : Unsupported Media Type, SIP response 416 : Unsupported URI Scheme, SIP response 420 : Bad Extension

CodeSipProxyAuthenticationRequired
Obsolete.

SIP Response : 407 The request requires user authentication

CodeSipRedirected
Obsolete.

SIP 3xx response: SIP request is redirected

CodeSipRequestCancelled
Obsolete.

SIP response 487 : Request Terminated

CodeSipRequestEntityTooLarge
Obsolete.

SIP Response : 413 Request body too large

CodeSipRequestPending
Obsolete.

SIP Response : 491 Server has pending request for same dialog

CodeSipRequestTimeout
Obsolete.

SIP response 408 : Request Timeout.

CodeSipRequestUriTooLarge
Obsolete.

SIP Response : 414 Request-URI too large

CodeSipServerError
Obsolete.

Received an unspecified SIP server error response.

CodeSipServerInternalError
Obsolete.

SIP response 501 : Server Internal Error

CodeSipServerTimeout
Obsolete.

SIP response 504 : Server Time-out

CodeSipServiceUnavailable
Obsolete.

SIP response 503 : Service Unavailable

CodeSipTemprarilyUnavailable
Obsolete.

SIP response 480 : Temporarily Unavailable

CodeSipTooManyHops
Obsolete.

SIP Response : 483 Max-Forwards value reached

CodeSipTransactionDoesNotExist
Obsolete.

SIP response 481: Transaction Does Not Exist

CodeSipUndecipherable
Obsolete.

SIP Response : 493 The request cannot be decrypted by recipient

CodeSipUserMarkedUnwanted
Obsolete.

Call failure code during hangup/reject if user marked the call as unwanted.

CodeSipUserRejected
Obsolete.

603 : Decline

CodeSuppSvcCancelled
Obsolete.

Supplementary Services (HOLD/RESUME) - the command was cancelled.

CodeSuppSvcFailed
Obsolete.

Supplementary Services (HOLD/RESUME) - the command failed.

CodeSuppSvcReinviteCollision
Obsolete.

Supplementary Services (HOLD/RESUME) - the command resulted in a re-invite collision.

CodeTimeout1xxWaiting
Obsolete.

1xx waiting timer is expired after sending INVITE request (MO calls only)

CodeTimeoutNoAnswer
Obsolete.

User didn't answer during call setup operation (MO/MT) MO : 200 OK to INVITE request is not received, MT : No action from user after alerting the call

CodeTimeoutNoAnswerCallUpdate
Obsolete.

User no answer during call update operation (MO/MT) MO : 200 OK to re-INVITE request is not received, MT : No action from user after alerting the call

CodeUnspecified
Obsolete.

The Reason is unspecified.

CodeUserCancelledSessionModification
Obsolete.

Upgrade Downgrade request cancelled by the user who initiated it

CodeUserDecline
Obsolete.

User declined an incoming call.

CodeUserIgnore
Obsolete.

User ignored an incoming call.

CodeUserNoanswer
Obsolete.

No action was taken while an incoming call was ringing.

CodeUserRejectedSessionModification
Obsolete.

Upgrade Downgrade request rejected by Remote user if the request is MO initiated Local user if the request is MT initiated

CodeUserTerminated
Obsolete.

User triggers the call to be terminated.

CodeUserTerminatedByRemote
Obsolete.

The call has been terminated by the network or remote user.

CodeUtCbPasswordMismatch
Obsolete.

The password entered for UT operations does not match the stored password.

CodeUtNetworkError
Obsolete.

The UT request resulted in a network error.

CodeUtNotSupported
Obsolete.

UT is currently not supported on this device.

CodeUtOperationNotAllowed
Obsolete.

The requested UT operation is not allowed.

CodeUtServiceUnavailable
Obsolete.

UT services are currently not available on this device.

CodeUtSsModifiedToDial
Obsolete.

Sim Toolkit Call Control modified the UT operation to a dial command.

CodeUtSsModifiedToDialVideo
Obsolete.

Sim Toolkit Call Control modified the UT operation to a video call dial command.

CodeUtSsModifiedToSs
Obsolete.

Sim Toolkit Call Control modified the UT operation to another supplementary service command.

CodeUtSsModifiedToUssd
Obsolete.

Sim Toolkit Call Control modified the UT operation to a USSD command.

CodeWifiLost
Obsolete.

Indicates a call was disconnected due to loss of wifi signal.

ExtraCodeCallRetryBySettings
Obsolete.

An extra that may be populated when the #CODE_LOCAL_CALL_CS_RETRY_REQUIRED result has been returned.

ExtraCodeCallRetryEmergency
Obsolete.

An extra that may be populated when the #CODE_LOCAL_CALL_CS_RETRY_REQUIRED result has been returned.

ExtraCodeCallRetryNormal
Obsolete.

An extra that may be populated when the #CODE_LOCAL_CALL_CS_RETRY_REQUIRED result has been returned.

ExtraCodeCallRetrySilentRedial
Obsolete.

An extra that may be populated when the #CODE_LOCAL_CALL_CS_RETRY_REQUIRED result has been returned.

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
Code
Creator
ExtraCode
ExtraMessage
Handle

The handle to the underlying Android instance.

(Inherited from Object)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
PeerReference (Inherited from Object)
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)

Methods

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
DescribeContents()
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
WriteToParcel(Parcel, ParcelableWriteFlags)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to