1 /* 2 * Copyright (C) 2006 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package com.android.internal.telephony; 18 19 /** 20 * Call fail causes from TS 24.008 . 21 * These are mostly the cause codes we need to distinguish for the UI. 22 * See 22.001 Annex F.4 for mapping of cause codes to local tones. 23 * 24 * CDMA call failure reasons are derived from the possible call failure scenarios described 25 * in "CDMA IS2000 - Release A (C.S0005-A v6.0)" standard. 26 * 27 * {@hide} 28 * 29 */ 30 public interface CallFailCause { 31 // Unassigned/Unobtainable number 32 int UNOBTAINABLE_NUMBER = 1; 33 34 int OPERATOR_DETERMINED_BARRING = 8; 35 int NORMAL_CLEARING = 16; 36 // Busy Tone 37 int USER_BUSY = 17; 38 39 // No Tone 40 int NUMBER_CHANGED = 22; 41 int STATUS_ENQUIRY = 30; 42 int NORMAL_UNSPECIFIED = 31; 43 44 // Congestion Tone 45 int NO_CIRCUIT_AVAIL = 34; 46 int TEMPORARY_FAILURE = 41; 47 int SWITCHING_CONGESTION = 42; 48 int CHANNEL_NOT_AVAIL = 44; 49 int QOS_NOT_AVAIL = 49; 50 int BEARER_NOT_AVAIL = 58; 51 52 // others 53 int ACM_LIMIT_EXCEEDED = 68; 54 int CALL_BARRED = 240; 55 int FDN_BLOCKED = 241; 56 int IMEI_NOT_ACCEPTED = 243; 57 58 // Stk Call Control 59 int DIAL_MODIFIED_TO_USSD = 244; 60 int DIAL_MODIFIED_TO_SS = 245; 61 int DIAL_MODIFIED_TO_DIAL = 246; 62 63 int CDMA_LOCKED_UNTIL_POWER_CYCLE = 1000; 64 int CDMA_DROP = 1001; 65 int CDMA_INTERCEPT = 1002; 66 int CDMA_REORDER = 1003; 67 int CDMA_SO_REJECT = 1004; 68 int CDMA_RETRY_ORDER = 1005; 69 int CDMA_ACCESS_FAILURE = 1006; 70 int CDMA_PREEMPTED = 1007; 71 72 // For non-emergency number dialed while in emergency callback mode. 73 int CDMA_NOT_EMERGENCY = 1008; 74 75 // Access Blocked by CDMA Network. 76 int CDMA_ACCESS_BLOCKED = 1009; 77 78 int ERROR_UNSPECIFIED = 0xffff; 79 80 } 81