2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
20 /// Enumeration for call end cause.
22 public enum CallEndCause
29 /// Unassigned Number.
33 /// No Route to Destination.
37 /// Channel Unacceptable.
41 /// Operator Determined Barring.
45 /// Normal Call Clearing.
53 /// No user responding.
57 /// User Alerting no Answer.
69 /// Non Selected User Clearing.
71 NonSelectUserClearing,
73 /// Destination out of Order.
75 DestinationOutOfOrder,
77 /// Invalid Number Format.
81 /// Facility Rejected.
85 /// Response to Status Enquiry.
87 ResponseStatusEnquiry,
89 /// Normal Unspecified.
93 /// No Circuit Channel Available.
97 /// Network out of Order.
101 /// Temporary Failure.
105 /// Switching Equipment Congestion.
107 SwitchEquipmentCongestion,
109 /// Access Information Discarded.
113 /// Requested Circuit channel not available.
115 NotAvailableRequestedChannel,
117 /// Resources unavailable and unspecified.
119 ResourceUnavailableUnspecified,
121 /// Quality of service unavailable.
123 ServiceQualityUnavailable,
125 /// Requested facility not subscribed.
127 NotSubscribedRequestedFacility,
129 /// Incoming call barred within CUG.
131 IncomingCallBarredWithinCug,
133 /// Bearer capability not Authorised.
135 BearerCapabilityUnauthorised,
137 /// Bearer capability not presently Available.
139 BearerCapabilityNotAvailable,
141 /// Service or Option not available.
143 ServiceOptionNotAvailable,
145 /// Service not implemented.
147 BearerServiceNotImplemented,
153 /// Requested facility not implemented.
155 RequestedFacilityNotImplemented,
157 /// Restricted digital info BC not available
159 OnlyRestrictedDigitalBcInfoAvailable,
161 /// Service or Option not Implemented.
163 ServiceOptionNotImplemented,
165 /// Transaction ID value.
169 /// Not a member of CUG.
173 /// Incompatible Destination.
175 IncompatibleDestination,
177 /// Transit Network selection.
179 TransitNetworkSelect,
181 /// Semantically Incorrect message.
183 SemanticIncorrectMessage,
185 /// Invalid Mandatory Message.
187 InvalidMandatoryInfo,
189 /// Message Type Non Existent.
193 /// Message type not compatible with Prot state.
195 MessageTypeNotCompatibleWithProtState,
197 /// IE non exitent or not implemented.
199 IeNotExistOrNotImplemented,
201 /// Conditional IE error.
205 /// Not Compatible with protocol state.
207 NotCompatibleWithProtocolState,
209 /// Recovery on timer expiry.
211 RecoveryOnTimeExpiry,
213 /// Protocol error unspecified.
215 ProtocolErrorUnspecified,
217 /// Interworking unspecified.
219 InterworkingUnspecified,
227 EndUnspecified = 128,
229 /// IMSI unknown in HLR.
231 RejectCauseImsiUnknownInHlr,
235 RejectCauseIllegalMs,
237 /// IMSI unknown in VLR.
239 RejectCauseImsiUnknownInVlr,
241 /// IMEI not accepted.
243 RejectCauseImeiNotAccepted,
247 RejectCauseIllegalMe,
249 /// GPRS service not allowed.
251 RejectCauseGprsServiceNotAllowed,
253 /// GPRS services and Non-GPRS services not allowed.
255 RejectCauseGprsAndNonGprsServiceNotAllowed,
257 /// MS device cannot be derived by the network.
259 RejectCauseMsIdentityNotDerivedByNetwork,
261 /// Implicitly detached.
263 RejectCauseImplicitlyDetached,
265 /// PLMN not allowed.
267 RejectCausePlmnNotAllowed,
271 RejectCauseLaNotAllowed,
273 /// National roaming not allowed.
275 RejectCauseNationalRoamingNotAllowed,
277 /// GPRS services not allowed in this PLMN.
279 RejectCauseGprsServiceNotAllowedInPlmn,
281 /// No suitable cells in the LA.
283 RejectCauseNoSuitableCellsInLa,
285 /// MSC temporarily not reachable.
287 RejectCauseMscTempNotReachable,
289 /// Network unavailable.
291 RejectCauseNetworkFailure,
295 RejectCauseMacFailure,
299 RejectCauseSynchFailure,
303 RejectCauseCongestion,
305 /// GSM Auth unaccepted.
307 RejectCauseGsmAuthUnaccepted,
309 /// Service option not supported.
311 RejectCauseServiceOptionNotSupported,
313 /// REQ_SERV option not suscribed.
315 RejectCauseReqServOptionNotSubscribed,
317 /// Service OPT out of order.
319 RejectCauseServiceOptOutOfOrder,
321 /// Call cannot be identified.
323 RejectCauseCallUnidentified,
325 /// No PDP context Activated.
327 RejectCauseNoPdpContextActivated,
329 /// Retry upon entry into a new call min value.
331 RejectCauseRetryUponEntryToNewCallMinValue,
333 /// Retry upon entry into a new call max value.
335 RejectCauseRetryUponEntryToNewCallMaxValue,
337 /// Semantically incorret message.
339 RejectCauseSemanticIncorrectMessage,
341 /// Invalid mandatory information.
343 RejectCauseInvalidMandatoryInfo,
345 /// Message type non-existant.
347 RejectCauseMessageTypeNotExist,
349 /// Message type not COMP PRT ST.
351 RejectCauseMessageTypeNotCompPrtSt,
355 RejectCauseIeNotExist,
357 /// MSG not compatible protocol state.
359 RejectCauseMessageNotCompatibleProtocolState,
363 RejectCauseUnspecified,
365 /// RR release indication.
367 RejectCauseRrReleaseInd,
369 /// Random Access Failure.
371 RejectCauseRandomAccessFailure,
373 /// RRC release indication.
375 RejectCauseRrcReleaseInd,
377 /// RRC close session indication.
379 RejectCasueRrcCloseInd,
381 /// RRC open session failure.
383 RejectCauseRrcOpenSessionFailure,
385 /// Low level failure.
387 RejectCauseLowLevelFail,
389 /// Low level failure redial not alowed.
391 RejectCauseLowLevelFailRedialNotAllowed,
393 /// Low level immediate retry.
395 RejectCauseLowLevelRetry,
399 RejectCauseInvalidSim,
403 RejectCauseNoService,
405 /// Timer T3230 expiry.
407 RejectCauseTimerT3230Expiry,
409 /// No cell available.
411 RejectCauseNoCellAvailable,
415 RejectCauseWrongState,
417 /// Access class blocked.
419 RejectCauseAccessClassBlocked,
421 /// Abort Message received.
423 RejectCauseAbortMessageReceived,
429 /// Timer T303 expiry.
431 RejectCauseTimerT303Expiry,
433 /// Rejected due to unavailibilty of resources.
435 RejectCauseNoResources,
437 /// MM release pending.
439 RejectCauseMmReleasePending,
441 /// Invalid user data.
443 RejectCauseInvalidUserData,
445 /// Maximum End Cause limit for GSM/WCDMA.
449 /// Call Released by User.
451 CdmaEndCauseReleasedByUser = 0x1001,
453 /// Call Released by Network.
455 CdmaEndCauseReleasedByNet,
457 /// Call Released because the network is busy.
459 CdmaEndCauseNetworkBusy,
461 /// Call Released because of No Service area.
463 CdmaEndCauseNoService,
465 /// Call Released because of Fading.
469 /// Call Released because of reorder.
471 CdmaEndCauseReleaseByReorder,
473 /// Call Released because of intercept.
475 CdmaEndCauseReleaseByIntercept,
477 /// Call Released because of silent zone retry.
479 CdmaEndCauseSilentZoneRetry,
481 /// Call Released because of OTA call failure.
483 CdmaEndCauseOtaCallFail,
485 /// Call Released because phone is offline.
487 CdmaEndCausePhoneOffline,
489 /// Call Released because CDMA is locked.
491 CdmaEndCauseCdmaLocked,
493 /// Call Released because of the flash-is-in-progress error.
495 CdmaEndCauseFlashInProgressError,
497 /// Call Released because of the e911 mode.
499 CdmaEndCauseE911ModeError,
501 /// Call Released by Others.
505 /// Maximum End Cause limit for CDMA.
511 /// Enumeration for call type to be used by applications.
520 /// Data call type - (for modem, fax, packet, and other such calls).
524 /// Emergency call type.
530 /// Enumeration for the call name mode.
532 public enum CallNameMode
535 /// This identifier refers to presenting the calling party's name identity to the called party.
539 /// This identifier refers to restricting the name identity of the calling party from being presented to the called party.
543 /// This identifier refers to the unavailability of the calling party's name identity from being offered to the called party.
547 /// This identifier refers to offering the calling party's name identity to the called party with which the presentation restriction is overridden.
553 /// Enumeration for the "Cli mode" value.
555 public enum CallCliMode
558 /// Presentation Allowed.
560 PresentationAvailable,
562 /// Presentation Restricted.
564 PresentationRestricted,
566 /// Number not available.
570 /// Presentation default.
576 /// Enumeration for "No Cli cause" value.
578 public enum CallNoCliCause
589 /// Rejected by user.
595 InteractionOtherServices = 0x02,
599 CoinLinePayPhone = 0x03
603 /// Enumeration for call active line(IN GSM ONLY: call identification number).
605 public enum CallActiveLine
618 /// Enumeration for the call record info type.
620 public enum CallRecordType
631 /// Line control type.
637 /// Enumeration for the voice privacy option mode. (CDMA only).
639 public enum CallPrivacyMode
652 /// Enumeration for the OTASP Status. (CDMA only)
654 public enum CallOtaspStatus
659 SplUnlockedOk = 0x01,
677 /// IMSI download ok.
709 /// SPC excess failure.
713 /// Lock code password set.
719 /// Enumeration for the OTAPA status. (CDMA only)
721 public enum CallOtapaStatus
734 /// Enumeration for call sound path.
736 public enum SoundPath
739 /// Audio path is handset.
743 /// Audio path is handset.
747 /// Audio path is Handsfree.
751 /// Audio path is bluetooth.
755 /// Audio path is stereo bluetooth.
757 StereoBluetooth = 0x05,
759 /// Audio path is speaker phone.
763 /// Audio path is headset_3_5PI.
767 /// Audio path Bluetooth NSEC is off.
769 BluetoothNsecOff = 0x08,
771 /// Audio path Mic one.
775 /// Audio path Bluetooth Mic two.
779 /// Audio path is Bluetooth WB.
783 /// Audio path is BT nsec off WB.
785 BluetoothNsecOffWb = 0x0C,
787 /// Audio path is headset HAC.
791 /// Audio path is Bikemode Near.
795 /// Audio path is Bikemode Far.
799 /// Audio path is VoLTE handset.
803 /// Audio path is VoLTE headset.
807 /// Audio path is VoLTE Handsfree.
811 /// Audio path is VoLTE bluetooth.
813 VolteBluetooth = 0x22,
815 /// Audio path is VoLTE stereo bluetooth.
817 VolteStereoBluetooth = 0x23,
819 /// Audio path is VoLTE speaker phone.
821 VolteHeadPhone = 0x24,
823 /// Audio path is VoLTE headset_3_5PI.
825 VolteHeadset35Pi = 0x25,
827 /// Audio path VoLTE Bluetooth NSEC is off.
829 VolteBluetoothNsecOff = 0x26,
831 /// Audio path is VoLTE Bluetooth WB.
833 VolteBluetoothWb = 0x27,
835 /// Audio path is VoLTE BT nsec off WB.
837 VolteBluetoothNsecOffWb = 0x28,
839 /// Audio path is VoLTE handset HAC.
841 VolteHandsetHac = 0x29,
843 /// Audio path is call forwarding.
847 /// Audio path is Loopback Mic1+Ear.
851 /// Audio path is Loopback Mic2+Ear.
855 /// Audio path is Loopback Mic3+Ear.
861 /// Enumeration for the Alert Signal Type. (CDMA only)
863 public enum CallAlertSignal
884 /// Enumeration for the Alert Pitch Type. (CDMA only)
886 public enum CallAlertPitch
889 /// Alert Pitch Medium.
893 /// Alert Pitch High.
907 /// Enumeration for the signals specific to the alert signal type. (CDMA only)
909 public enum CallToneSignal
916 /// Ringback Tone ON.
920 /// Intercept Tone ON.
924 /// Abbreviation Tone.
928 /// Network Congestion Tone ON.
930 NetworkCongestionToneOn,
932 /// Abbreviation Network Congestion.
934 AbbreviationNetworkCongestion,
948 /// Call Waiting Tone ON.
962 /// Enumeration for the call ISDN Alert signal. (CDMA only)
964 public enum CallIsdnAlertSignal
975 /// Special Priority.
1005 /// Enumeration for the call IS54B Alert signal types.
1007 public enum CallIs54bAlertSignal
1022 /// Short Short Long.
1030 /// Short Long Short.
1034 /// Short Short Short Short.
1036 ShortShortShortShort,
1042 /// PBX(Private Branch Exchange) Short Short.
1046 /// PBX Short Short Long.
1050 /// PBX Short Long Short.
1054 /// PBX Short Short Short Short.
1056 PbxShortShortShortShort,
1058 /// PIP PIP PIP PIP.
1064 /// Enumeration for call sound ringback tone notification data.
1066 public enum CallSoundRingbackNoti
1069 /// Ringback Tone End.
1073 /// Ringback Tone Start.
1079 /// Enumeration for call sound WBAMR notification data.
1081 public enum CallSoundWbamrNoti
1102 /// Enumeration for call sound noise reduction.
1104 public enum CallSoundNoiseReduction
1107 /// Sound noise reduction off.
1111 /// Sound noise reduction on.
1117 /// Enumeration for call preferred voice subscription.
1119 public enum CallPreferredVoiceSubscription
1126 /// Current network.
1144 /// Enumeration for specifying type for call upgrade/downgrade.
1146 public enum CallConfigType
1149 /// Call type is invalid.
1153 /// Call type is Audio.
1157 /// Call type is Video Share TX.
1161 /// Call type is Video Share RX.
1165 /// Call type is Inbound Video Call.
1167 InboundVideoCall = 5,
1169 /// Call type is HD Video.
1173 /// Call type is Video Conference.
1175 VideoConference = 7,
1177 /// Call type is QCIF Video Conference.
1179 QcifVideoConference = 8,
1181 /// Call type is QVGA.
1185 /// Call type is QCIF Video.
1189 /// Call type is tty Full.
1193 /// Call type is tty HCO.
1197 /// Call type is tty VCO.
1205 /// Call type is HDVideo Land.
1209 /// Call type is E911 - Emergency Call.
1213 /// Call type is Audio conference.
1215 AudioConference = 21,
1217 /// Call type is E911 Emergency video call.
1221 /// Call type is E911 Emergency video call HD.
1225 /// Call type is E911 Emergency video call HD Land.
1227 E911VideoHdLand = 24,
1229 /// Call type is E911 Emergency video call Land.
1233 /// Call type is E911 Emergency video call HD QVGA Land.
1235 E911VideoHdQvgaLand = 26,
1237 /// Call type is CIF Video Call.
1241 /// Call type is HD 720 video call.
1245 /// Call type is E911 video hold call.
1249 /// Call type is switch VOIP to VT call.
1251 VoipToVtInProgress = 30
1255 /// Enumeration for the emergency call category type.
1257 public enum EmergencyType
1264 /// Police emergency
1268 /// Ambulance emergency
1272 /// Firebrigade emergency
1276 /// Marineguard emergency
1280 /// Mountain rescue emergency
1282 MountainRescue = 0x10,
1284 /// Manual emergency call
1288 /// Automatic emergency call
1292 /// Unspecified emergency
1298 /// Enumeration for the call answer type.
1300 public enum CallAnswerType
1303 /// Answer an incoming call when there are no current active calls.
1307 /// Reject the incoming call.
1311 /// Release current active call and accept the waiting call.
1315 /// Hold the current active call, and accept the waiting call.
1321 /// Enumeration for the call end type.
1323 public enum CallEndType
1326 /// End specific call.
1334 /// End all active calls.
1338 /// End all held calls.
1344 /// Enumeration for the onlength to send DTMF.
1346 public enum CallDtmfPulseWidth
1379 /// Enumeration for the offlength to send DTMF.
1381 public enum CallDtmfDigitInterval
1402 /// Enumeration for call states.
1404 public enum CallState
1407 /// Idle state - i.e. no call.
1411 /// Connected and conversation state.
1431 /// Answered state, and waiting for connected indication event.
1441 /// Enumeration for call sound device type.
1443 public enum SoundDevice
1446 /// Device type receiver.
1450 /// Device type speaker.
1454 /// Device type handsfree.
1458 /// Device type headset.
1462 /// Device type bluetooth.
1466 /// Device type external.
1472 /// Enumeration for call sound type.
1474 public enum SoundType
1477 /// Sound type voice.
1481 /// Sound type keytone.
1485 /// Sound type bell.
1489 /// Sound type message
1493 /// Sound type alarm
1497 /// Sound type PDA miscellaneous.
1503 /// Enumeration for call sound volume level.
1505 public enum SoundVolume
1512 /// Volume level is 1.
1516 /// Volume level is 2.
1520 /// Volume level is 3.
1524 /// Volume level is 4.
1528 /// Volume level is 5.
1532 /// Volume level is 6.
1536 /// Volume level is 7.
1540 /// Volume level is 8.
1544 /// Volume level is 9.
1550 /// Enumeration for call extra volume.
1552 public enum ExtraVolume
1565 /// Enumeration for call sound mute status.
1567 public enum SoundMuteStatus
1580 /// Enumeration for call sound mute path.
1582 public enum SoundMutePath