如果电话没有正常挂断,可以通过在Log中查找call failure case关键字来初步定位通话失败原因。
操作命令:
adb logcat -b radio | grep "call failure case"
正常挂断电话,一般会得到如下log:
E/RILQ (230):qcril_qmi_voice_all_call_status_ind_hdlr L4135:[0][event]call failure cause 0x91
如果call failure cause不是0x91则说明电话被非正常挂断,可以参考如下对照表,初步确定原因。
call failure cause值参考表
typedef enum { CALL_END_REASON_ENUM_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ CALL_END_CAUSE_OFFLINE_V02 = 0x00, CALL_END_CAUSE_CDMA_LOCK_V02 = 0x14, CALL_END_CAUSE_NO_SRV_V02 = 0x15, CALL_END_CAUSE_FADE_V02 = 0x16, CALL_END_CAUSE_INTERCEPT_V02 = 0x17, CALL_END_CAUSE_REORDER_V02 = 0x18, CALL_END_CAUSE_REL_NORMAL_V02 = 0x19, CALL_END_CAUSE_REL_SO_REJ_V02 = 0x1A, CALL_END_CAUSE_INCOM_CALL_V02 = 0x1B, CALL_END_CAUSE_ALERT_STOP_V02 = 0x1C, CALL_END_CAUSE_CLIENT_END_V02 = 0x1D, CALL_END_CAUSE_ACTIVATION_V02 = 0x1E, CALL_END_CAUSE_MC_ABORT_V02 = 0x1F, CALL_END_CAUSE_MAX_ACCESS_PROBE_V02 = 0x20, CALL_END_CAUSE_PSIST_N_V02 = 0x21, CALL_END_CAUSE_UIM_NOT_PRESENT_V02 = 0x22, CALL_END_CAUSE_ACC_IN_PROG_V02 = 0x23, CALL_END_CAUSE_ACC_FAIL_V02 = 0x24, CALL_END_CAUSE_RETRY_ORDER_V02 = 0x25, CALL_END_CAUSE_CCS_NOT_SUPPORTED_BY_BS_V02 = 0x26, CALL_END_CAUSE_NO_RESPONSE_FROM_BS_V02 = 0x27, CALL_END_CAUSE_REJECTED_BY_BS_V02 = 0x28, CALL_END_CAUSE_INCOMPATIBLE_V02 = 0x29, CALL_END_CAUSE_ACCESS_BLOCK_V02 = 0x2A, CALL_END_CAUSE_ALREADY_IN_TC_V02 = 0x2B, CALL_END_CAUSE_EMERGENCY_FLASHED_V02 = 0x2C, CALL_END_CAUSE_USER_CALL_ORIG_DURING_GPS_V02 = 0x2D, CALL_END_CAUSE_USER_CALL_ORIG_DURING_SMS_V02 = 0x2E, CALL_END_CAUSE_USER_CALL_ORIG_DURING_DATA_V02 = 0x2F, CALL_END_CAUSE_REDIR_OR_HANDOFF_V02 = 0x30, CALL_END_CAUSE_ACCESS_BLOCK_ALL_V02 = 0x31, CALL_END_CAUSE_OTASP_SPC_ERR_V02 = 0x32, CALL_END_CAUSE_IS707B_MAX_ACC_V02 = 0x33, CALL_END_CAUSE_ACC_FAIL_REJ_ORD_V02 = 0x34, CALL_END_CAUSE_ACC_FAIL_RETRY_ORD_V02 = 0x35, CALL_END_CAUSE_TIMEOUT_T42_V02 = 0x36, CALL_END_CAUSE_TIMEOUT_T40_V02 = 0x37, CALL_END_CAUSE_SRV_INIT_FAIL_V02 = 0x38, CALL_END_CAUSE_T50_EXP_V02 = 0x39, CALL_END_CAUSE_T51_EXP_V02 = 0x3A, CALL_END_CAUSE_RL_ACK_TIMEOUT_V02 = 0x3B, CALL_END_CAUSE_BAD_FL_V02 = 0x3C, CALL_END_CAUSE_TRM_REQ_FAIL_V02 = 0x3D, CALL_END_CAUSE_TIMEOUT_T41_V02 = 0x3E, CALL_END_CAUSE_INCOM_REJ_V02 = 0x66, CALL_END_CAUSE_SETUP_REJ_V02 = 0x67, CALL_END_CAUSE_NETWORK_END_V02 = 0x68, CALL_END_CAUSE_NO_FUNDS_V02 = 0x69, CALL_END_CAUSE_NO_GW_SRV_V02 = 0x6A, CALL_END_CAUSE_NO_CDMA_SRV_V02 = 0x6B, CALL_END_CAUSE_NO_FULL_SRV_V02 = 0x6C, CALL_END_CAUSE_MAX_PS_CALLS_V02 = 0x6D, CALL_END_CAUSE_UNKNOWN_SUBSCRIBER_V02 = 0x6E, CALL_END_CAUSE_ILLEGAL_SUBSCRIBER_V02 = 0x6F, CALL_END_CAUSE_BEARER_SERVICE_NOT_PROVISIONED_V02 = 0x70, CALL_END_CAUSE_TELE_SERVICE_NOT_PROVISIONED_V02 = 0x71, CALL_END_CAUSE_ILLEGAL_EQUIPMENT_V02 = 0x72, CALL_END_CAUSE_CALL_BARRED_V02 = 0x73, CALL_END_CAUSE_ILLEGAL_SS_OPERATION_V02 = 0x74, CALL_END_CAUSE_SS_ERROR_STATUS_V02 = 0x75, CALL_END_CAUSE_SS_NOT_AVAILABLE_V02 = 0x76, CALL_END_CAUSE_SS_SUBSCRIPTION_VIOLATION_V02 = 0x77, CALL_END_CAUSE_SS_INCOMPATIBILITY_V02 = 0x78, CALL_END_CAUSE_FACILITY_NOT_SUPPORTED_V02 = 0x79, CALL_END_CAUSE_ABSENT_SUBSCRIBER_V02 = 0x7A, CALL_END_CAUSE_SHORT_TERM_DENIAL_V02 = 0x7B, CALL_END_CAUSE_LONG_TERM_DENIAL_V02 = 0x7C, CALL_END_CAUSE_SYSTEM_FAILURE_V02 = 0x7D, CALL_END_CAUSE_DATA_MISSING_V02 = 0x7E, CALL_END_CAUSE_UNEXPECTED_DATA_VALUE_V02 = 0x7F, CALL_END_CAUSE_PWD_REGISTRATION_FAILURE_V02 = 0x80, CALL_END_CAUSE_NEGATIVE_PWD_CHECK_V02 = 0x81, CALL_END_CAUSE_NUM_OF_PWD_ATTEMPTS_VIOLATION_V02 = 0x82, CALL_END_CAUSE_POSITION_METHOD_FAILURE_V02 = 0x83, CALL_END_CAUSE_UNKNOWN_ALPHABET_V02 = 0x84, CALL_END_CAUSE_USSD_BUSY_V02 = 0x85, CALL_END_CAUSE_REJECTED_BY_USER_V02 = 0x86, CALL_END_CAUSE_REJECTED_BY_NETWORK_V02 = 0x87, CALL_END_CAUSE_DEFLECTION_TO_SERVED_SUBSCRIBER_V02 = 0x88, CALL_END_CAUSE_SPECIAL_SERVICE_CODE_V02 = 0x89, CALL_END_CAUSE_INVALID_DEFLECTED_TO_NUMBER_V02 = 0x8A, CALL_END_CAUSE_MPTY_PARTICIPANTS_EXCEEDED_V02 = 0x8B, CALL_END_CAUSE_RESOURCES_NOT_AVAILABLE_V02 = 0x8C, CALL_END_CAUSE_UNASSIGNED_NUMBER_V02 = 0x8D, CALL_END_CAUSE_NO_ROUTE_TO_DESTINATION_V02 = 0x8E, CALL_END_CAUSE_CHANNEL_UNACCEPTABLE_V02 = 0x8F, CALL_END_CAUSE_OPERATOR_DETERMINED_BARRING_V02 = 0x90, CALL_END_CAUSE_NORMAL_CALL_CLEARING_V02 = 0x91, CALL_END_CAUSE_USER_BUSY_V02 = 0x92, CALL_END_CAUSE_NO_USER_RESPONDING_V02 = 0x93, CALL_END_CAUSE_USER_ALERTING_NO_ANSWER_V02 = 0x94, CALL_END_CAUSE_CALL_REJECTED_V02 = 0x95, CALL_END_CAUSE_NUMBER_CHANGED_V02 = 0x96, CALL_END_CAUSE_PREEMPTION_V02 = 0x97, CALL_END_CAUSE_DESTINATION_OUT_OF_ORDER_V02 = 0x98, CALL_END_CAUSE_INVALID_NUMBER_FORMAT_V02 = 0x99, CALL_END_CAUSE_FACILITY_REJECTED_V02 = 0x9A, CALL_END_CAUSE_RESP_TO_STATUS_ENQUIRY_V02 = 0x9B, CALL_END_CAUSE_NORMAL_UNSPECIFIED_V02 = 0x9C, CALL_END_CAUSE_NO_CIRCUIT_OR_CHANNEL_AVAILABLE_V02 = 0x9D, CALL_END_CAUSE_NETWORK_OUT_OF_ORDER_V02 = 0x9E, CALL_END_CAUSE_TEMPORARY_FAILURE_V02 = 0x9F, CALL_END_CAUSE_SWITCHING_EQUIPMENT_CONGESTION_V02 = 0xA0, CALL_END_CAUSE_ACCESS_INFORMATION_DISCARDED_V02 = 0xA1, CALL_END_CAUSE_REQUESTED_CIRCUIT_OR_CHANNEL_NOT_AVAILABLE_V02 = 0xA2, CALL_END_CAUSE_RESOURCES_UNAVAILABLE_OR_UNSPECIFIED_V02 = 0xA3, CALL_END_CAUSE_QOS_UNAVAILABLE_V02 = 0xA4, CALL_END_CAUSE_REQUESTED_FACILITY_NOT_SUBSCRIBED_V02 = 0xA5, CALL_END_CAUSE_INCOMING_CALLS_BARRED_WITHIN_CUG_V02 = 0xA6, CALL_END_CAUSE_BEARER_CAPABILITY_NOT_AUTH_V02 = 0xA7, CALL_END_CAUSE_BEARER_CAPABILITY_UNAVAILABLE_V02 = 0xA8, CALL_END_CAUSE_SERVICE_OPTION_NOT_AVAILABLE_V02 = 0xA9, CALL_END_CAUSE_ACM_LIMIT_EXCEEDED_V02 = 0xAA, CALL_END_CAUSE_BEARER_SERVICE_NOT_IMPLEMENTED_V02 = 0xAB, CALL_END_CAUSE_REQUESTED_FACILITY_NOT_IMPLEMENTED_V02 = 0xAC, CALL_END_CAUSE_ONLY_DIGITAL_INFORMATION_BEARER_AVAILABLE_V02 = 0xAD, CALL_END_CAUSE_SERVICE_OR_OPTION_NOT_IMPLEMENTED_V02 = 0xAE, CALL_END_CAUSE_INVALID_TRANSACTION_IDENTIFIER_V02 = 0xAF, CALL_END_CAUSE_USER_NOT_MEMBER_OF_CUG_V02 = 0xB0, CALL_END_CAUSE_INCOMPATIBLE_DESTINATION_V02 = 0xB1, CALL_END_CAUSE_INVALID_TRANSIT_NW_SELECTION_V02 = 0xB2, CALL_END_CAUSE_SEMANTICALLY_INCORRECT_MESSAGE_V02 = 0xB3, CALL_END_CAUSE_INVALID_MANDATORY_INFORMATION_V02 = 0xB4, CALL_END_CAUSE_MESSAGE_TYPE_NON_IMPLEMENTED_V02 = 0xB5, CALL_END_CAUSE_MESSAGE_TYPE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE_V02 = 0xB6, CALL_END_CAUSE_INFORMATION_ELEMENT_NON_EXISTENT_V02 = 0xB7, CALL_END_CAUSE_CONDITONAL_IE_ERROR_V02 = 0xB8, CALL_END_CAUSE_MESSAGE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE_V02 = 0xB9, CALL_END_CAUSE_RECOVERY_ON_TIMER_EXPIRED_V02 = 0xBA, CALL_END_CAUSE_PROTOCOL_ERROR_UNSPECIFIED_V02 = 0xBB, CALL_END_CAUSE_INTERWORKING_UNSPECIFIED_V02 = 0xBC, CALL_END_CAUSE_OUTGOING_CALLS_BARRED_WITHIN_CUG_V02 = 0xBD, CALL_END_CAUSE_NO_CUG_SELECTION_V02 = 0xBE, CALL_END_CAUSE_UNKNOWN_CUG_INDEX_V02 = 0xBF, CALL_END_CAUSE_CUG_INDEX_INCOMPATIBLE_V02 = 0xC0, CALL_END_CAUSE_CUG_CALL_FAILURE_UNSPECIFIED_V02 = 0xC1, CALL_END_CAUSE_CLIR_NOT_SUBSCRIBED_V02 = 0xC2, CALL_END_CAUSE_CCBS_POSSIBLE_V02 = 0xC3, CALL_END_CAUSE_CCBS_NOT_POSSIBLE_V02 = 0xC4, CALL_END_CAUSE_IMSI_UNKNOWN_IN_HLR_V02 = 0xC5, CALL_END_CAUSE_ILLEGAL_MS_V02 = 0xC6, CALL_END_CAUSE_IMSI_UNKNOWN_IN_VLR_V02 = 0xC7, CALL_END_CAUSE_IMEI_NOT_ACCEPTED_V02 = 0xC8, CALL_END_CAUSE_ILLEGAL_ME_V02 = 0xC9, CALL_END_CAUSE_PLMN_NOT_ALLOWED_V02 = 0xCA, CALL_END_CAUSE_LOCATION_AREA_NOT_ALLOWED_V02 = 0xCB, CALL_END_CAUSE_ROAMING_NOT_ALLOWED_IN_THIS_LOCATION_AREA_V02 = 0xCC, CALL_END_CAUSE_NO_SUITABLE_CELLS_IN_LOCATION_AREA_V02 = 0xCD, CALL_END_CAUSE_NETWORK_FAILURE_V02 = 0xCE, CALL_END_CAUSE_MAC_FAILURE_V02 = 0xCF, CALL_END_CAUSE_SYNCH_FAILURE_V02 = 0xD0, CALL_END_CAUSE_NETWORK_CONGESTION_V02 = 0xD1, CALL_END_CAUSE_GSM_AUTHENTICATION_UNACCEPTABLE_V02 = 0xD2, CALL_END_CAUSE_SERVICE_NOT_SUBSCRIBED_V02 = 0xD3, CALL_END_CAUSE_SERVICE_TEMPORARILY_OUT_OF_ORDER_V02 = 0xD4, CALL_END_CAUSE_CALL_CANNOT_BE_IDENTIFIED_V02 = 0xD5, CALL_END_CAUSE_INCORRECT_SEMANTICS_IN_MESSAGE_V02 = 0xD6, CALL_END_CAUSE_MANDATORY_INFORMATION_INVALID_V02 = 0xD7, CALL_END_CAUSE_ACCESS_STRATUM_FAILURE_V02 = 0xD8, CALL_END_CAUSE_INVALID_SIM_V02 = 0xD9, CALL_END_CAUSE_WRONG_STATE_V02 = 0xDA, CALL_END_CAUSE_ACCESS_CLASS_BLOCKED_V02 = 0xDB, CALL_END_CAUSE_NO_RESOURCES_V02 = 0xDC, CALL_END_CAUSE_INVALID_USER_DATA_V02 = 0xDD, CALL_END_CAUSE_TIMER_T3230_EXPIRED_V02 = 0xDE, CALL_END_CAUSE_NO_CELL_AVAILABLE_V02 = 0xDF, CALL_END_CAUSE_ABORT_MSG_RECEIVED_V02 = 0xE0, CALL_END_CAUSE_RADIO_LINK_LOST_V02 = 0xE1, CALL_END_CAUSE_TIMER_T303_EXPIRED_V02 = 0xE2, CALL_END_CAUSE_CNM_MM_REL_PENDING_V02 = 0xE3, CALL_END_CAUSE_ACCESS_STRATUM_REJ_RR_REL_IND_V02 = 0xE4, CALL_END_CAUSE_ACCESS_STRATUM_REJ_RR_RANDOM_ACCESS_FAILURE_V02 = 0xE5, CALL_END_CAUSE_ACCESS_STRATUM_REJ_RRC_REL_IND_V02 = 0xE6, CALL_END_CAUSE_ACCESS_STRATUM_REJ_RRC_CLOSE_SESSION_IND_V02 = 0xE7, CALL_END_CAUSE_ACCESS_STRATUM_REJ_RRC_OPEN_SESSION_FAILURE_V02 = 0xE8, CALL_END_CAUSE_ACCESS_STRATUM_REJ_LOW_LEVEL_FAIL_V02 = 0xE9, CALL_END_CAUSE_ACCESS_STRATUM_REJ_LOW_LEVEL_FAIL_REDIAL_NOT_ALLOWED_V02 = 0xEA, CALL_END_CAUSE_ACCESS_STRATUM_REJ_LOW_LEVEL_IMMED_RETRY_V02 = 0xEB, CALL_END_CAUSE_ACCESS_STRATUM_REJ_ABORT_RADIO_UNAVAILABLE_V02 = 0xEC, CALL_END_CAUSE_SERVICE_OPTION_NOT_SUPPORTED_V02 = 0xED, CALL_END_CAUSE_BAD_REQ_WAIT_INVITE_V02 = 0x12C, CALL_END_CAUSE_BAD_REQ_WAIT_REINVITE_V02 = 0x12D, CALL_END_CAUSE_INVALID_REMOTE_URI_V02 = 0x12E, CALL_END_CAUSE_REMOTE_UNSUPP_MEDIA_TYPE_V02 = 0x12F, CALL_END_CAUSE_PEER_NOT_REACHABLE_V02 = 0x130, CALL_END_CAUSE_NETWORK_NO_RESP_TIME_OUT_V02 = 0x131, CALL_END_CAUSE_NETWORK_NO_RESP_HOLD_FAIL_V02 = 0x132, CALL_END_CAUSE_DATA_CONNECTION_LOST_V02 = 0x133, CALL_END_CAUSE_UPGRADE_DOWNGRADE_REJ_V02 = 0x134, CALL_END_CAUSE_SIP_403_FORBIDDEN_V02 = 0x135, CALL_END_CAUSE_NO_NETWORK_RESP_V02 = 0x136, CALL_END_CAUSE_UPGRADE_DOWNGRADE_FAILED_V02 = 0x137, CALL_END_CAUSE_UPGRADE_DOWNGRADE_CANCELLED_V02 = 0x138, CALL_END_CAUSE_SSAC_REJECT_V02 = 0x139, CALL_END_CAUSE_THERMAL_EMERGENCY_V02 = 0x13A, CALL_END_CAUSE_1XCSFB_SOFT_FAILURE_V02 = 0x13B, CALL_END_CAUSE_1XCSFB_HARD_FAILURE_V02 = 0x13C, CALL_END_CAUSE_CONNECTION_EST_FAILURE_V02 = 0x13D, CALL_END_CAUSE_CONNECTION_FAILURE_V02 = 0x13E, CALL_END_CAUSE_RRC_CONN_REL_NO_MT_SETUP_V02 = 0x13F, CALL_END_CAUSE_ESR_FAILURE_V02 = 0x140, CALL_END_CAUSE_MT_CSFB_NO_RESPONSE_FROM_NW_V02 = 0x141, CALL_END_CAUSE_BUSY_EVERYWHERE_V02 = 0x142, CALL_END_CAUSE_ANSWERED_ELSEWHERE_V02 = 0x143, CALL_END_CAUSE_RLF_DURING_CC_DISCONNECT_V02 = 0x144, CALL_END_CAUSE_TEMP_REDIAL_ALLOWED_V02 = 0x145, CALL_END_CAUSE_PERM_REDIAL_NOT_NEEDED_V02 = 0x146, CALL_END_CAUSE_MERGED_TO_CONFERENCE_V02 = 0x147, CALL_END_CAUSE_LOW_BATTERY_V02 = 0x148, CALL_END_REASON_ENUM_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }call_end_reason_enum_v02;
时间: 2024-10-11 16:27:42