CEND

Материал из Call Office Wiki
Перейти к: навигация, поиск

Флаг окончания звонка: ^CEND

Синтаксис

Возможные ответы:

  <CR><LF>^CEND:<call_x>,<duration>,<end_status>[,<cc_cause>]<CR><LF>

Описание

После завершения звонка модем возвращает значения:

  • идентификатор звонка (<call_x>). Возможные значения от 0 до 6;
  • длительность соединения в секундах (<duration>);
  • статус завершения разговора (<end_status>). Возможные значения от 0 до 266;
  • код завершения звонка (<cc_cause>)

Описание значений

Название константы Значение Описание
<end_status>. Причина окончания соединения. Возможные значения от 0 до 266. Call ending cause. The value of EC is 255.
CM_CALL_END_OFFLINE 0 The board is offline
CM_CALL_END_NO_SRV 21 Board is out of service.
CM_CALL_END_FADE 22 Call is ended normally.
CM_CALL_END_INTERCEPT 23 Call is interrupted by BS.
CM_CALL_END_REORDER 24 BS record is received during a call.
CM_CALL_END_REL_NORMAL 25 BS releases a call.
CM_CALL_END_REL_SO_REJ 26 BS rejects the current SO service.
CM_CALL_END_INCOM_CALL 27 There is incoming BS call.
CM_CALL_END_ALERT_STOP 28 received alert stop from BS.
CM_CALL_END_CLIENT_END 29 Call is ended normally by the client end.
CM_CALL_END_ACTIVATION 30 received end activation - OTASP call.
CM_CALL_END_MC_ABORT 31 MC ends call initiation or call.
CM_CALL_END_RUIM_NOT_PRESENT 34 RUIM is not available.
CM_CALL_END_NDSS_FAIL 99 NDSS error.
CM_CALL_END_LL_CAUSE 100 rxd a reason from lower layer,look in cc_cause
CM_CALL_END_CONF_FAILED 101 After a MS initiates a call, the network fails to respond.
CM_CALL_END_INCOM_REJ 102 MS rejects an incoming call.
CM_CALL_END_SETUP_REJ 103 A call is rejected during the put-through process.
CM_CALL_END_NETWORK_END 104 The release is from the network. For details, check
CM_CALL_END_NO_FUNDS 105 The phone fee is used up.
CM_CALL_END_NO_GW_SRV 106 The MS is out of the service area.
<cc_cause>. Call control message. The value of EC is 255.
UNASSIGNED_CAUSE 1
NO_ROUTE_TO_DEST 3
CHANNEL_UNACCEPTABLE 6
OPERATOR_DETERMINED_BARRING 8
NORMAL_CALL_CLEARING 16
USER_BUSY 17
NO_USER_RESPONDING 18
USER_ALERTING_NO_ANSWER 19
CALL_REJECTED 21
NUMBER_CHANGED 22
NON_SELECTED_USER_CLEARING 26
DESTINATION_OUT_OF_ORDER 27
INVALID_NUMBER_FORMAT 28
FACILITY_REJECTED 29
RESPONSE_TO_STATUS_ENQUIRY 30
NORMAL_UNSPECIFIED 31
NO_CIRCUIT_CHANNEL_AVAILABLE 34
NETWORK_OUT_OF_ORDER 38
TEMPORARY_FAILURE 41
SWITCHING_EQUIPMENT_CONGESTION 42
ACCESS_INFORMATION_DISCARDED 43
REQUESTED_CIRCUIT_CHANNEL_NOT_AVAILABLE 44
RESOURCES_UNAVAILABLE_UNSPECIFIED 47
QUALITY_OF_SERVICE_UNAVAILABLE 49
REQUESTED_FACILITY_NOT_SUBSCRIBED 50
INCOMING_CALL_BARRED_WITHIN_CUG 55
BEARER_CAPABILITY_NOT_AUTHORISED 57
BEARER_CAPABILITY_NOT_PRESENTLY_AVAILABLE 58
SERVICE_OR_OPTION_NOT_AVAILABLE 63
BEARER_SERVICE_NOT_IMPLEMENTED 65
ACM_GEQ_ACMMAX 68
REQUESTED_FACILITY_NOT_IMPLEMENTED 69
ONLY_RESTRICTED_DIGITAL_INFO_BC_AVAILABLE 70
SERVICE_OR_OPTION_NOT_IMPLEMENTED 79
INVALID_TRANSACTION_ID_VALUE 81
USER_NOT_MEMBER_OF_CUG 87
INCOMPATIBLE_DESTINATION 88
INVALID_TRANSIT_NETWORK_SELECTION 91
SEMANTICALLY_INCORRECT_MESSAGE 95
INVALID_MANDATORY_INFORMATION 96
MESSAGE_TYPE_NON_EXISTENT 97
MESSAGE_TYPE_NOT_COMPATIBLE_WITH_PROT_STATE 98
IE_NON_EXISTENT_OR_NOT_IMPLEMENTED 99
CONDITIONAL_IE_ERROR 100
MESSAGE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE 101
RECOVERY_ON_TIMER_EXPIRY 102
PROTOCOL_ERROR_UNSPECIFIED 111
INTERWORKING_UNSPECIFIED 127
REJ_UNSPECIFIED 160
AS_REJ_RR_REL_IND 161
AS_REJ_RR_RANDOM_ACCESS_FAILURE 162
AS_REJ_RRC_REL_IND 163
AS_REJ_RRC_CLOSE_SESSION_IND 164
AS_REJ_RRC_OPEN_SESSION_FAILURE 165
AS_REJ_LOW_LEVEL_FAIL 166
AS_REJ_LOW_LEVEL_FAIL_REDIAL_NOT_ALLOWD 167
MM_REJ_INVALID_SIM 168
MM_REJ_NO_SERVICE 169
MM_REJ_TIMER_T3230_EXP 170
MM_REJ_NO_CELL_AVAILABLE 171
MM_REJ_WRONG_STATE 172
MM_REJ_ACCESS_CLASS_BLOCKED 173
ABORT_MSG_RECEIVED 174
OTHER_CAUSE 175
CNM_REJ_TIMER_T303_EXP 176
CNM_REJ_NO_RESOURCES 177
CNM_MM_REL_PENDING 178
CNM_INVALID_USER_DATA 179
   Note: <cc_cause> is reported only when a call is initiated by the network.
   If MS does not receive response from the network after initiating a call and the call is ended, <cc_cause> is not reported.