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 the SS class type.
29 /// Voice (Telephony).
33 /// All Data Teleservices.
45 /// Voice Group Call Service.
53 /// All teleservices except SMS.
55 AllTeleExceptSms = 0x19,
57 /// All Bearer services.
61 /// All Async services.
65 /// All Sync services.
69 /// All Circuit switched sync services.
73 /// All Circuit switched async services.
77 /// All Dedicated Packet Access.
79 AllDedicatedPacketAccess = 0x26,
81 /// All Dedicated PAD Access.
83 AllDedicatedPadAccess = 0x27,
89 /// All PLMN specific teleservices.
93 /// PLMN specific teleservice 1.
97 /// PLMN specific teleservice 2.
101 /// PLMN specific teleservice 3.
105 /// PLMN specific teleservice 4.
109 /// PLMN specific teleservice 5.
113 /// PLMN specific teleservice 6.
117 /// PLMN specific teleservice 7.
121 /// PLMN specific teleservice 8.
125 /// PLMN specific teleservice 9.
129 /// PLMN specific teleservice 10.
133 /// PLMN specific teleservice 11.
137 /// PLMN specific teleservice 12.
141 /// PLMN specific teleservice 13.
145 /// PLMN specific teleservice 14.
149 /// PLMN specific teleservice 15.
153 /// All PLMN specific bearer services.
157 /// PLMN specific bearer service 1.
161 /// PLMN specific bearer service 2.
165 /// PLMN specific bearer service 3.
169 /// PLMN specific bearer service 4.
173 /// PLMN specific bearer service 5.
177 /// PLMN specific bearer service 6.
181 /// PLMN specific bearer service 7.
185 /// PLMN specific bearer service 8.
189 /// PLMN specific bearer service 9.
193 /// PLMN specific bearer service 10.
197 /// PLMN specific bearer service 11.
201 /// PLMN specific bearer service 12.
205 /// PLMN specific bearer service 13.
209 /// PLMN specific bearer service 14.
213 /// PLMN specific bearer service 15.
217 /// Auxiliary Voice (Auxiliary telephony).
221 /// All GPRS bearer services.
223 AllGprsBearer = 0x99,
225 /// All tele and bearer services.
231 /// Enumeration for various types of call barring.
233 public enum SsBarringType
236 /// Barring All Outgoing Calls.
240 /// Barring Outgoing International Calls.
244 /// Barring Outgoing International Calls except Home Country.
248 /// Barring All Incoming Calls.
252 /// Barring Incoming Calls when roaming outside the Home Country.
256 /// All Barring Services.
260 /// All Outgoing Barring Services.
264 /// All Incoming Barring Services.
268 /// Barring Incoming Calls which is not stored in the SIM memory.
272 /// Maximum Barring type.
278 /// Enumeration for the CLI service type.
280 public enum SsCliType
283 /// Calling Line Identification Presentation.
287 /// Calling Line Identification Restriction.
291 /// Connected Line Identification Presentation. 3GPP(GSM/UMTS/LTE) Specific.
295 /// Connected Line Identification Restriction. 3GPP(GSM/UMTS/LTE) Specific.
299 /// Called Line Identification Presentation. 3GPP(GSM/UMTS/LTE) Specific.
303 /// Calling Name Presentation. 3GPP(GSM/UMTS/LTE) Specific.
309 /// Enumeration for the CLI service status.
311 public enum SsCliStatus
314 /// Service not provided by the service provider.
316 NotProvisioned = 0x01,
318 /// Service is provided by the service provider.
322 /// Service is activated at the network.
326 /// Service status is unknown.
330 /// Service is temporarily restricted.
334 /// Service is temporarily allowed.
340 /// Enumeration for the call forwarding condition.
342 public enum SsForwardCondition
345 /// Call Forwarding Unconditional.
347 Unconditional = 0x01,
349 /// Call Forwarding Mobile Busy.
353 /// Call Forwarding No Reply.
357 /// Call Forwarding Not Reachable.
361 /// All Call Forwarding.
365 /// All Conditional Call Forwarding.
375 /// Enumeration for the USSD type. Applicable to 3GPP(GSM/UMTS/LTE) only.
377 public enum SsUssdType
380 /// USSD request type - User Initiated.
384 /// USSD request type - User Response.
388 /// USSD request type - User Release.
394 /// Enumeration for the status of a supplementary service feature (e.g. call forwarding or call barring).
397 /// These enumerated values should be used as masks.
402 /// Provisioned & registered (but not active/active-quiescent).
406 /// Provisioned but not registered (or active/active-quiescent).
410 /// Provisioned & registered & active.
414 /// Provisioned & registered & active but quiescent.
424 /// Enumeration for no-reply time. Applicable to 3GPP(GSM/UMTS/LTE) only.
426 public enum SsNoReplyTime
429 /// Timer value set to 5secs.
433 /// Timer value set to 10secs.
437 /// Timer value set to 15secs.
441 /// Timer value set to 20secs.
445 /// Timer value set to 25secs.
449 /// Timer value set to 30secs.
455 /// Enumeration for the call forwarding type of number.
457 public enum SsForwardTypeOfNumber
464 /// International number.
472 /// Network specific number.
476 /// Subscriber number.
480 /// Alphanumeric, GSM 7-bit default alphabet.
484 /// Abbreviated number.
486 AbbreviatedNumber = 6,
488 /// Reserved for extension.
494 /// Enumeration for the call forward numbering plan identity.
496 public enum SsForwardNumberingPlanIdentity
503 /// ISDN/Telephone numbering plan.
507 /// Data numbering plan.
511 /// Telex numbering plan.
515 /// Service Center Specific plan.
517 ServiceCenterSpecificPlan = 5,
519 /// Service Center Specific plan2.
521 ServiceCenterSpecificPlan2 = 6,
523 /// National numbering plan.
527 /// Private numbering plan.
531 /// ERMES numbering plan.
535 /// Reserved for extension.
541 /// Enumeration for the supplementary service request results.
546 /// SS operation is successful.
550 /// SS error indicating unknown/illegal subscriber
552 UnknownSubscriber = 0x01,
554 /// This error is returned when illegality of the access has been established by use of an authentication procedure.
556 IllegalSubscriber = 0x09,
558 /// The network returns this error when it is requested to perform an operation on a supplementary service.
560 BearerServiceNotProvisioned = 0x0a,
562 /// The network returns this error when it is requested to perform an operation on a supplementary service.
564 TeleServiceNotProvisioned = 0x0b,
566 /// This error is returned when the IMEI check procedure has shown that the IMEI is blacklisted or it is not whitelisted.
568 IllegalEquipment = 0x0c,
570 /// This error is returned by the network to the MS when call independent subscriber control procedures are barred by the operator.
574 /// This error is returned by the network when it is requested to perform an illegal operation which is defined as not applicable for the relevant supplementary service.
576 IllegalSsOperation = 0x10,
578 /// This error is returned by the network when it is requested to perform an operation which is not compatible with the current status of the relevant supplementary service.
582 /// SS not available in the network.
586 /// SS service subscription violation.
588 SubscriptionViolation = 0x13,
590 /// This error is returned by the network when it is requested for a supplementary service operation that is incompatible with the status of another supplementary service or with the teleservice or bearer service for which the operation is requested.
592 Incompatibility = 0x14,
594 /// SS service facility not supported.
596 FacilityNotSupported = 0x15,
598 /// This error is returned when the subscriber has activated the detach service or the system detects the absence condition.
600 AbsentSubscriber = 0x1b,
602 /// This error is returned by the network, when it cannot perform an operation because of a failure in the network.
604 SystemFailure = 0x22,
606 /// This error is returned by the network when an optional parameter is missing in an invoke component or an inner data structure, while it is required by the context of the request.
610 /// SS error indicating an unexpected data value on the network side.
612 UnexpectedDataValue = 0x24,
614 /// SS error indicating a change password failure.
616 PasswordRegistrationFailure = 0x25,
618 /// SS error indicating a negative password check.
620 NegativePasswordCheck = 0x26,
622 /// SS error indicating violation in barring password attempts.
624 PasswordAttemptsViolation = 0x2b,
626 /// SS error indicating unknown SS data coding of an alphabet.
628 UnknownAlphabet = 0x47,
630 /// SS error indicating USSD Busy(Already SS / USSD is ongoing).
634 /// SS error indicating Dialing number is not FDN.
638 /// SS operation rejected by the user.
640 RejectedByUser = 0x79,
642 /// SS operation rejected by the network.
644 RejectedByNetwork = 0x7a,
646 /// This error is returned if a diversion to the served subscriber's number is requested.
648 DeflectionToServedSubscriber = 0x7b,
650 /// This error is returned if a diversion to a special service code is requested.
652 SpecialServiceCode = 0x7c,
654 /// SS error indicating invalid deflected to a number.
656 InvalidDeflectedToNumber = 0x7d,
658 /// SS error indicating Maximum MPTY is reached.
660 MaxMptyExceeded = 0x7e,
662 /// SS error indicating resources not available in the network.
664 ResourceUnavailable = 0x7f,
666 /// SS error indicating resources not available in the network.
668 RejectedByCallControl = 0x80,
670 /// SS operation timer expired on the network.
674 /// SS operation is not allowed by the network.
678 /// SS error indicating an unknown error.
682 /// If OEM does not support any SS requests, then this error will be returned.
688 /// Enumeration for SS info type.
690 public enum SsInfoType
719 /// Enumeration for the call barring operation mode.
721 public enum SsBarringMode
724 /// Activate call barring.
728 /// Deactivate call barring.
734 /// Enumeration for the forward mode.
736 public enum SsForwardMode
739 /// Deactivate call forwarding.
743 /// Activate call forwarding.
747 /// Register call forwarding.
751 /// Deregister call forwarding.
757 /// Enumeration for the call waiting mode.
759 public enum SsCallWaitingMode
762 /// Activate call waiting.
766 /// Deactivate call waiting.
772 /// Enumeration for the types of identity presentation / restriction services.
774 public enum SsLineIdentificationType
777 /// Identify the party calling this phone.
779 CallingLinePresentation = 0x01,
781 /// Hide the identity of this phone when calling others.
783 CallingLineRestriction,
785 /// Identify the party to whom the calling party (this phone) is connected. 3GPP(GSM/UMTS/LTE) Specific.
787 ConnectedLinePresentation,
789 /// Restrict yourself from being identified by incoming calls, such as forwarded calls. 3GPP(GSM/UMTS/LTE) Specific.
791 ConnectedLineRestriction,
793 /// Called line identity presentation. 3GPP(GSM/UMTS/LTE) Specific.
795 CalledLinePresentation,
797 /// Calling Name Presentation. 3GPP(GSM/UMTS/LTE) Specific.
799 CallingNamePresentation
803 /// Enumeration for the USSD indication type. Applicable to 3GPP(GSM/UMTS/LTE) only.
805 public enum SsUssdStatus
808 /// Notify : to display USSD data to the user.
812 /// No further user action required.
814 NoActionRequire = 0x01,
816 /// Further user action required.
818 ActionRequire = 0x02,
820 /// USSD terminated by the network.
822 TerminatedByNetwork = 0x03,
824 /// Other local client has responded.
828 /// Operation not supported.
832 /// Time out when there is no response from the network.