|
1 /* |
|
2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Common error etc defenitions for CCP plug-ins and CCE, PE and other phone components. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CCPDEFS_H |
|
20 #define CCPDEFS_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32base.h> |
|
24 |
|
25 /* |
|
26 Some error defines derived exterror.h. |
|
27 Abbreviations below: |
|
28 CC = Call Control |
|
29 MM = Mobility Management |
|
30 RR = Radio Resource |
|
31 SS - Supplementary Services |
|
32 General TE-TA Errors - 0707 |
|
33 SMS - SMS |
|
34 **/ |
|
35 |
|
36 const TUint KCCPPhoneSerialNumberSize = 50; // |
|
37 const TUint KCCPSysUtilVersionTextLength = 64; // from sysutil.h |
|
38 const TUint KCCPPhoneModelIdSize = 50; // from RMobilePhone::KPhoneModelIdSize |
|
39 const TUint KCCPPhoneManufacturerIdSize = 50; // fromRMobilePhone::KPhoneManufacturerIdSize |
|
40 const TUint KCCPUUSIdSize = 129; // etelmm.h, as KMaxUUISize |
|
41 |
|
42 |
|
43 /** |
|
44 * CS specific information. Fetched from CS-plugin via CCE. |
|
45 * No other plug-ins use this information. |
|
46 * Used by CConvergedCallProvider::GetCSInfo. |
|
47 */ |
|
48 typedef class |
|
49 { |
|
50 public: |
|
51 // Serial number |
|
52 TBuf<KCCPPhoneSerialNumberSize> iSerialNumber; |
|
53 |
|
54 // sw version |
|
55 TBuf<KCCPSysUtilVersionTextLength> iSWVersion; |
|
56 |
|
57 // PhoneModel |
|
58 TBuf<KCCPPhoneModelIdSize> iPhoneModel; |
|
59 |
|
60 // Manufacturer name |
|
61 TBuf<KCCPPhoneManufacturerIdSize> iManufacturerIdSize; |
|
62 } CSInfo; |
|
63 |
|
64 |
|
65 |
|
66 /** |
|
67 * Same as in RMmCustomAPI.h. No default ctor though. |
|
68 */ |
|
69 class TCCPLifeTimeData |
|
70 { |
|
71 public: // definitions |
|
72 |
|
73 enum TCCPLifeTimeDataCaps |
|
74 { |
|
75 ECCPLifeTimeDataCapsUnknown = 0x00000000, |
|
76 ECCPLifeTimeDataCapsLifeTime = 0x00000001, |
|
77 ECCPLifeTimeDataCapsManufacturerDate = 0x00000002 |
|
78 }; |
|
79 |
|
80 public: // internal attributes |
|
81 |
|
82 TUint32 iCaps; |
|
83 TUint32 iHours; // range 0-999999 |
|
84 TUint8 iMinutes; // range 0-59 |
|
85 TDateTime iManufacturingDate; |
|
86 }; |
|
87 |
|
88 typedef TPckg<TCCPLifeTimeData> TCCPLifeTimeDataPckg; |
|
89 |
|
90 namespace CCPCall |
|
91 { |
|
92 |
|
93 /** Call states */ |
|
94 enum TCallState |
|
95 { |
|
96 /** Indicates initial call state after call creation. Basic state. */ |
|
97 EStateIdle, |
|
98 /** Indicates that the MT call is ringing but not answered yet by the local user. Basic state.*/ |
|
99 EStateRinging, |
|
100 /** MO Call: the network notifies to the MS that the remote party is now ringing. Basic state.*/ |
|
101 EStateConnecting, |
|
102 /** Indicates that call is connected and active. Basic state.*/ |
|
103 EStateConnected, |
|
104 /** Indicates that call is disconnecting. Basic state.*/ |
|
105 EStateDisconnecting, |
|
106 /** Indicates that the call is connected but on hold. Basic state.*/ |
|
107 EStateHold, |
|
108 |
|
109 /** Call is transfering. Optional state.*/ |
|
110 EStateTransferring, |
|
111 /** MO call is being forwarded at receiver end. Optional state. */ |
|
112 EStateForwarding, |
|
113 /** Call is queued locally. Optional state. */ |
|
114 EStateQueued, |
|
115 |
|
116 /** Indicates that the local user has answered the MT call but the network has not |
|
117 acknowledged the call connection yet. Must be sent after MCCPCall::Answer method has been completed. */ |
|
118 EStateAnswering, |
|
119 |
|
120 /** Indicates that the call is dialing. Must be sent after MCCPCall::Dial method has been completed. */ |
|
121 EStateDialling, |
|
122 }; |
|
123 |
|
124 enum TCallType |
|
125 { |
|
126 /** CS voice call */ |
|
127 ECallTypeCSVoice = 0, |
|
128 /** Video call.*/ |
|
129 ECallTypeVideo, |
|
130 /** VoIP (or any other than CS) call.*/ |
|
131 ECallTypePS |
|
132 }; |
|
133 |
|
134 enum TCallDirection |
|
135 { |
|
136 /** The direction of the call is unknown. */ |
|
137 EDirectionUnknown, |
|
138 /** The call was originated by this phone, i.e. it is an outgoing call. */ |
|
139 EMobileOriginated, |
|
140 /** The call was terminated by this phone, i.e. it is an incoming call. */ |
|
141 EMobileTerminated |
|
142 }; |
|
143 } |
|
144 |
|
145 |
|
146 /** |
|
147 * CCP error and general value defenitions used for plug-ins, CCE and phone. |
|
148 * |
|
149 * @since S60 3.2 |
|
150 */ |
|
151 |
|
152 /** Conference call errors. */ |
|
153 enum TCCPConferenceCallError |
|
154 { |
|
155 /** Adding call to conference failed. */ |
|
156 ECCPConferenceErrorAddCall = -1, |
|
157 /** Removing call from conference failed. */ |
|
158 ECCPConferenceErrorRemoveCall = -2, |
|
159 /** Swap failed for conference. */ |
|
160 ECCPConferenceErrorSwap = -3, |
|
161 /** Hold failed for conference. */ |
|
162 ECCPConferenceErrorHold = -4, |
|
163 /** Resume failed for conference. */ |
|
164 ECCPConferenceErrorResume = -5, |
|
165 /** One to one for specific call failed. */ |
|
166 ECCPConferenceErrorGoOneToOne = -6, |
|
167 /** Adding current calls to conference failed. */ |
|
168 ECCPConferenceErrorCurrentCallsToConference = -7, |
|
169 /** HangUp failed. */ |
|
170 ECCPConferenceErrorHangUp = -8 |
|
171 }; |
|
172 |
|
173 |
|
174 /** Inband tone mappings */ |
|
175 enum TCCPTone |
|
176 { |
|
177 /** |
|
178 KErrGsmCCUserBusy - 1 TCCPErrorBusy |
|
179 inBandTone = EUserBusy; |
|
180 */ |
|
181 ECCPToneUserBusy, |
|
182 |
|
183 /** |
|
184 KErrGsmCCNumberChanged - 1 TCCPErrorMovedPermanently |
|
185 KErrGsmCCResponseToStatusEnquiry - 0 |
|
186 KErrGsmCCNormalUnspecified - 1 TCCPErrorNoAnswerForVideo |
|
187 inBandTone = ERadioPathNotAvailable; |
|
188 */ |
|
189 ECCPToneRadioPathNotAvailable, |
|
190 |
|
191 /** |
|
192 KErrGsmCCNoChannelAvailable - 1 TCCPErrorNetworkBusy |
|
193 KErrGsmCCTemporaryFailure - 1 TCCPErrorNetworkBusy |
|
194 KErrGsmCCSwitchingEquipmentCongestion - 1 TCCPErrorNetworkBusy |
|
195 KErrGsmCCRequestedChannelNotAvailable - 1 TCCPErrorNetworkBusy |
|
196 KErrGsmCCQualityOfServiceNotAvailable -1 TCCPErrorQualityOfServiceNotAvailable |
|
197 KErrGsmCCBearerCapabilityNotCurrentlyAvailable - 0 |
|
198 inBandTone = ECongestion; |
|
199 */ |
|
200 ECCPToneCongestion, |
|
201 |
|
202 /** |
|
203 KErrGsmCCUnassignedNumber -1 TCCPErrorNotReached |
|
204 KErrGsmCCNoRouteToDestination -1 TCCPErrorConnectionErrorRedial |
|
205 KErrGsmCCChannelUnacceptable -1 TCCPErrorUnacceptableChannel |
|
206 KErrGsmCCOperatorDeterminedBarring -1 TCCPErrorNumberBarred |
|
207 KErrGsmCCUserNotResponding - 1 TCCPErrorNotResponding |
|
208 KErrGsmCCUserAlertingNoAnswer -1 TCCPErrorNotResponding |
|
209 KErrGsmCCCallRejected - 1 TCCPErrorNotAllowed |
|
210 KErrGsmCCNonSelectedUserClearing - 0 |
|
211 KErrGsmCCDestinationOutOfOrder -1 TCCPErrorConnectionErrorRedial |
|
212 KErrGsmCCInvalidNumberFormat -1 TCCPErrorInvalidURI |
|
213 KErrGsmCCFacilityRejected -1 TCCPErrorRejected |
|
214 KErrGsmCCNetworkOutOfOrder -1 TCCPErrorNetworkOutOfOrder |
|
215 KErrGsmCCAccessInformationDiscarded -1 TCCPErrorAccessInformationDiscarded |
|
216 KErrGsmCCResourceNotAvailable -1 TCCPErrorConnectionErrorRedial |
|
217 KErrGsmCCRequestedFacilityNotSubscribed - 0 |
|
218 KErrGsmCCIncomingCallsBarredInCug -1 TCCPErrorNumberBarred |
|
219 KErrGsmCCBearerCapabilityNotAuthorised - 0 |
|
220 KErrGsmCCServiceNotAvailable - 0 |
|
221 KErrGsmCCBearerServiceNotImplemented - 0 |
|
222 KErrGsmCCChannelTypeNotImplemented - 0 |
|
223 KErrGsmCCAcmGreaterThanAcmMax - 0 |
|
224 KErrGsmCCRequestedFacilityNotImplemented - 1 TCCPErrorServiceSettingError |
|
225 KErrGsmCCOnlyRestrictedDigitalInformationBCAvailable - 0 |
|
226 KErrGsmCCServiceNotImplemented - 0 |
|
227 KErrGsmCCInvalidCallReferenceValue - 0 TCCPErrorInvalidCallReferenceValue |
|
228 KErrGsmCCChannelDoesNotExist - 0 |
|
229 KErrGsmCCSuspendedCallExistsButCallIdentityDoesNotWork -0 |
|
230 KErrGsmCCCallIdentityInUse - 0 |
|
231 KErrGsmCCNoCallSuspended - 0 |
|
232 KErrGsmCCRequestedCallIdentityAlreadyCleared -0 |
|
233 KErrGsmCCUserNotInCug -0 |
|
234 KErrGsmCCIncompatibleDestination - 2 TCCPErrorConnectionError TCCPErrorBadRequest |
|
235 KErrGsmCCInvalidTransitNetworkSelection - 1 TCCPErrorConnectionErrorRedial |
|
236 KErrGsmCCIncompatibleSegmentedMessage - 0 |
|
237 KErrGsmCCSemanticallyIncorrectMessage - 1 TCCPErrorConnectionErrorRedial |
|
238 KErrGsmCCInvalidMandatoryInformation - 0 |
|
239 KErrGsmCCNonExistentMessageType - 0 |
|
240 KErrGsmCCIncompatibleMessageInProtocolState - 1 TCCPErrorConnectionErrorRedial |
|
241 KErrGsmCCNonExistentInformationElement - 0 |
|
242 KErrGsmCCConditionalIEError -1 TCCPErrorConnectionError |
|
243 KErrGsmCCIncompatibleMessageInCallState - 0 |
|
244 KErrGsmCCRecoveryOnTimerExpiry - 0 |
|
245 KErrGsmCCUnspecifiedProtocolError - 1 TCCPErrorConnectionError |
|
246 KErrGsmCCUnspecifiedInterworkingError -0 |
|
247 inBandTone = ESpecialInformation; |
|
248 */ |
|
249 ECCPToneSpecialInformation, |
|
250 |
|
251 /** |
|
252 */ |
|
253 ECCPReorder, |
|
254 |
|
255 /** |
|
256 */ |
|
257 ECCPRemoteAlerting, |
|
258 |
|
259 /** |
|
260 */ |
|
261 ECCPDataCallTone, |
|
262 |
|
263 /** |
|
264 */ |
|
265 ECCPNoSoundSequence, |
|
266 |
|
267 /** |
|
268 */ |
|
269 ECCPBeepSequence, |
|
270 |
|
271 /** |
|
272 */ |
|
273 ECCPCallWaiting |
|
274 }; |
|
275 |
|
276 |
|
277 /** |
|
278 Generally defined common errors for plug-ins to notify errors to phone engine. |
|
279 */ |
|
280 enum TCCPError |
|
281 { |
|
282 /** |
|
283 General: KErrNone |
|
284 */ |
|
285 ECCPErrorNone = 0, |
|
286 |
|
287 /** |
|
288 General: KErrNotFound |
|
289 */ |
|
290 ECCPErrorNotFound = -1, |
|
291 |
|
292 /** |
|
293 General: KErrGeneral |
|
294 */ |
|
295 ECCPErrorGeneral = -2, |
|
296 |
|
297 /** |
|
298 General: KErrCancel |
|
299 */ |
|
300 ECCPErrorCancel = -3, |
|
301 |
|
302 /** |
|
303 General: KErrNoMemory |
|
304 */ |
|
305 ECCPErrorNoMemory = -4, |
|
306 |
|
307 /** |
|
308 General: KErrNotSupported |
|
309 */ |
|
310 ECCPErrorNotSupported = -5, |
|
311 |
|
312 /** |
|
313 General: : KErrArgument |
|
314 */ |
|
315 ECCPErrorArgument = -6, |
|
316 |
|
317 /** |
|
318 General: KErrBadHandle |
|
319 */ |
|
320 ECCPErrorBadHandle = -8, |
|
321 |
|
322 /** |
|
323 General: KErrOverflow |
|
324 */ |
|
325 ECCPErrorOverflow = -9, |
|
326 |
|
327 /** |
|
328 General: KErrAlreadyExists |
|
329 */ |
|
330 ECCPErrorAlreadyExists = -11, |
|
331 |
|
332 /** |
|
333 General: KErrDied |
|
334 */ |
|
335 ECCPErrorDied = -13, |
|
336 |
|
337 /** |
|
338 General: KErrInUse |
|
339 */ |
|
340 ECCPErrorAlreadyInUse = -14, |
|
341 |
|
342 /** |
|
343 General: KErrServerTerminated |
|
344 */ |
|
345 ECCPErrorServerTerminated = -15, |
|
346 |
|
347 /** |
|
348 General: KErrServerBusy |
|
349 */ |
|
350 ECCPErrorServerBusy = -16, |
|
351 |
|
352 /** |
|
353 General: KErrNotReady |
|
354 */ |
|
355 ECCPErrorNotReady = -18, |
|
356 |
|
357 /** |
|
358 General: KErrUnknown |
|
359 */ |
|
360 ECCPErrorUnknown = -19, |
|
361 |
|
362 /** |
|
363 General: KErrLocked |
|
364 */ |
|
365 ECCPErrorLocked = -22, |
|
366 |
|
367 /** |
|
368 General: KErrAbort |
|
369 */ |
|
370 ECCPErrorAbort = -39, |
|
371 |
|
372 /** |
|
373 General: KErrTooBig |
|
374 */ |
|
375 ECCPErrorTooBig = -40, |
|
376 |
|
377 /** |
|
378 General: KErrPermissionDenied |
|
379 */ |
|
380 ECCPErrorPermissionDenied = -46, |
|
381 |
|
382 /** |
|
383 KErrGsmCallServerFail |
|
384 KErrGsm0707NotFound |
|
385 */ |
|
386 ECCPErrorRejected = -101, |
|
387 |
|
388 /** |
|
389 KErrGsmCCUnassignedNumber |
|
390 SIP: 305 (Use Proxy) |
|
391 SIP: 380 (Alternative Service) |
|
392 SIP: 3xx |
|
393 |
|
394 */ |
|
395 ECCPErrorNotReached = -102, |
|
396 |
|
397 /** KErrGsmCCNumberChanged |
|
398 SIP: 301 (Moved Permanently) |
|
399 SIP: 410 (Gone) |
|
400 SIP: 604 (Does Not Exist Anywhere) |
|
401 */ |
|
402 ECCPErrorMovedPermanently = -103, |
|
403 |
|
404 /** |
|
405 KErrGsmCCInvalidNumberFormat |
|
406 SIP: 414 (Request-URI Too Large) |
|
407 SIP: 416 (Unsupported URI Scheme) |
|
408 SIP: 484 (Address Incomplete) |
|
409 SIP: 485 (Ambiguous) |
|
410 */ |
|
411 ECCPErrorInvalidURI = -104, |
|
412 |
|
413 /** |
|
414 KErrGsmCCNetworkOutOfOrder |
|
415 SIP: 500 (Internal Server Error) |
|
416 SIP: 501 (Not Implemented) |
|
417 SIP: 502 (Bad Gateway) |
|
418 SIP: 503 (Service Unavailable) |
|
419 SIP: 504 (Server Time-out) |
|
420 SIP: 505 (Version not supported) |
|
421 SIP: 513 (Message Too Large) |
|
422 SIP: 580 (Precondition Failure) |
|
423 SIP: 482 (Loop Detected) |
|
424 SIP: 483 (Too Many Hops) |
|
425 SIP: 5xx |
|
426 */ |
|
427 ECCPErrorNetworkOutOfOrder = -105, |
|
428 |
|
429 /** |
|
430 KErrGsmCCUserBusy |
|
431 SIP: 486 (Busy Here) |
|
432 SIP: 600 (Busy Everywhere) |
|
433 SIP: 603 (Decline) |
|
434 */ |
|
435 ECCPErrorBusy = -106, |
|
436 |
|
437 /** |
|
438 SIP: 404 (Not Found) |
|
439 SIP: 480 (Temporarily Unavailable) |
|
440 SIP: 487 (Request Terminated) |
|
441 */ |
|
442 ECCPErrorNotResponding = -107, |
|
443 |
|
444 /** |
|
445 KErrGsmCCTemporaryFailure |
|
446 KErrGsmCCSwitchingEquipmentCongestion |
|
447 KErrGsmCCRequestedChannelNotAvailable |
|
448 */ |
|
449 ECCPErrorNetworkBusy = -108, |
|
450 |
|
451 /** |
|
452 SIP: 408 (Request Timeout) |
|
453 */ |
|
454 ECCPErrorConnectionErrorRedial = -109, |
|
455 |
|
456 /** |
|
457 KErrArgument |
|
458 */ |
|
459 ECCPErrorInvalidPhoneNumber = -110, |
|
460 |
|
461 /** |
|
462 KErrGsmNoService |
|
463 SIP: 401 (Unauthorized) |
|
464 SIP: 402 (Payment Required) |
|
465 SIP: 403 (Forbidden) |
|
466 SIP: 407 (Proxy Authentication Required) |
|
467 SIP: 423 (Interval Too Brief) |
|
468 SIP: 489 (Bad Event) |
|
469 SIP: 494 (Security Agreement Required) |
|
470 |
|
471 */ |
|
472 ECCPErrorNoService = -111, |
|
473 |
|
474 /** |
|
475 KErrGsmNoNumber |
|
476 */ |
|
477 ECCPErrorInvalidPhoneNumberCancelRedial = -112, |
|
478 |
|
479 /** |
|
480 KErrGsmReleaseByUser |
|
481 */ |
|
482 ECCPErrorReleaseByUserForCancelRedial = -113, |
|
483 |
|
484 /** |
|
485 KErrGsmCCRequestedFacilityNotImplemented |
|
486 */ |
|
487 ECCPErrorServiceSettingError = -114, |
|
488 |
|
489 /** |
|
490 KErrGsm0707SimNotInserted |
|
491 KErrGsm0707SIMPuk1Required |
|
492 KErrGsm0707SimPin1Required |
|
493 KErrGsm0707SimPin2Required |
|
494 KErrGsm0707SimFailure |
|
495 KErrGsm0707PhoneToSimLockRequired |
|
496 KErrGsm0707SimWrong |
|
497 */ |
|
498 ECCPErrorAuthenticationFailed = -115, |
|
499 |
|
500 /** |
|
501 KErrGsmOfflineOpNotAllowed |
|
502 */ |
|
503 ECCPErrorNotAllowedInOfflineMode = -116, |
|
504 |
|
505 /** |
|
506 KErrMMEtelCallForbidden |
|
507 KErrGsmCallInProgress |
|
508 KErrGsmNumberBarred |
|
509 KErrGsmNotAllowed |
|
510 KErrEtelCallNotActive |
|
511 KErrEtelCallAlreadyActive |
|
512 */ |
|
513 ECCPErrorNotAllowed = -117, |
|
514 |
|
515 /** |
|
516 KErrTimedOut |
|
517 */ |
|
518 ECCPErrorTimedOut = -118, |
|
519 |
|
520 /** |
|
521 KErrGsmInvalidFdn |
|
522 */ |
|
523 ECCPErrorInvalidFDN = -119, |
|
524 |
|
525 /** |
|
526 KErrGsmCCChannelUnacceptable |
|
527 */ |
|
528 ECCPErrorUnacceptableChannel = -120, |
|
529 |
|
530 /** |
|
531 KErrGsmCCAccessInformationDiscarded |
|
532 */ |
|
533 ECCPErrorAccessInformationDiscarded = -121, |
|
534 |
|
535 /** |
|
536 KErrGsmCCQualityOfServiceNotAvailable |
|
537 */ |
|
538 ECCPErrorQualityOfServiceNotAvailable = -122, |
|
539 |
|
540 /** |
|
541 KErrGsmCCInvalidCallReferenceValue |
|
542 */ |
|
543 ECCPErrorInvalidCallReferenceValue = -123, |
|
544 |
|
545 /** |
|
546 KErrGsmCCSemanticallyIncorrectMessage |
|
547 KErrGsmCCConditionalIEError |
|
548 KErrGsmCCUnspecifiedProtocolError |
|
549 */ |
|
550 ECCPErrorConnectionError = -124, |
|
551 |
|
552 /** |
|
553 KErrGsmCCIncompatibleDestination |
|
554 */ |
|
555 ECCPErrorBadRequest = -125, |
|
556 |
|
557 /** |
|
558 KErrGsmCCOperatorDeterminedBarring |
|
559 */ |
|
560 ECCPErrorNumberBarred = -126, |
|
561 |
|
562 /** |
|
563 KErrGsmCCNormalUnspecified |
|
564 */ |
|
565 ECCPErrorNoAnswerForVideo = -127, |
|
566 |
|
567 /** |
|
568 KErrPhoneEngineNoWcdmaNetwork |
|
569 */ |
|
570 ECCPErrorVideoCallNotSupportedByNetwork = -128, |
|
571 |
|
572 /** |
|
573 KErrPhoneEngineVideoCallNotAllowedDuringRestore |
|
574 */ |
|
575 ECCPErrorVideoCallNotAllowedDuringRestore = -129, |
|
576 |
|
577 /** |
|
578 KErrPhoneEngineVideoCallSetupFailed |
|
579 */ |
|
580 ECCPErrorVideoCallSetupFailed = -130, |
|
581 |
|
582 /** |
|
583 KErrDiagnosticInfoBarredWithCUG |
|
584 */ |
|
585 ECCPErrorCUGOutgoingCallsBarred = -131, |
|
586 |
|
587 /** |
|
588 KErrDiagnosticInfoBarredNoCUG |
|
589 */ |
|
590 ECCPErrorCUGNotSelected = -132, |
|
591 |
|
592 /** |
|
593 KErrDiagnosticInfoBarredUnknownCUG |
|
594 */ |
|
595 ECCPErrorCUGIndexUnknown = -133, |
|
596 |
|
597 /** |
|
598 KErrDiagnosticInfoBarredIncompatibleCUG |
|
599 */ |
|
600 ECCPErrorCUGIndexIncompatible = -134, |
|
601 |
|
602 /** |
|
603 KErrDiagnosticInfoBarredFailureCUG |
|
604 */ |
|
605 ECCPErrorCUGCallsFailure = -135, |
|
606 |
|
607 /** |
|
608 KErrDiagnosticInfoBarredClirNotSubscribed |
|
609 */ |
|
610 ECCPErrorCLIRNotSubscribed = -136, |
|
611 |
|
612 /** |
|
613 KErrDiagnosticInfoBarredCCBSPossible |
|
614 */ |
|
615 ECCPErrorCCBSPossible = -137, |
|
616 |
|
617 /** |
|
618 KErrDiagnosticInfoBarredCCBSNotPossible |
|
619 */ |
|
620 ECCPErrorCCBSNotPossible = -138, |
|
621 |
|
622 /** |
|
623 Secure call failed. |
|
624 */ |
|
625 ECCPSecureCallFailed = -139, |
|
626 |
|
627 /** |
|
628 Emergency call failed. |
|
629 */ |
|
630 ECCPEmergencyFailed = -140, |
|
631 |
|
632 /** |
|
633 Transfer failed. |
|
634 */ |
|
635 ECCPTransferFailed = -141, |
|
636 |
|
637 /** |
|
638 Local hold failed. |
|
639 */ |
|
640 ECCPLocalHoldFail = -142, |
|
641 |
|
642 /** |
|
643 Local resume failed. |
|
644 */ |
|
645 ECCPLocalResumeFail = -143, |
|
646 |
|
647 /** |
|
648 TODO: old mapping, When none of other errors map and received a 3XX response. |
|
649 */ |
|
650 ECCPRedirection = -144, |
|
651 |
|
652 /** |
|
653 TODO: old mapping,When none of other errors map and received a 4XX response. |
|
654 */ |
|
655 ECCPRequestFailure = -145, |
|
656 |
|
657 /** |
|
658 TODO: old mapping,When none of other errors map and received a 5XX response. |
|
659 |
|
660 */ |
|
661 ECCPServerFailure = -146, |
|
662 |
|
663 /** |
|
664 TODO: old mapping,When none of other errors map and received a 6XX response. |
|
665 */ |
|
666 ECCPGlobalFailure = -147, |
|
667 |
|
668 /** Rtp detection media error. */ |
|
669 ECCPErrorMedia = -148, |
|
670 |
|
671 /** User not in Gug. Used also in place of ECCPErrorCCUserNotInCug */ |
|
672 ECCPErrorUserNotInCug= -149, |
|
673 |
|
674 /** |
|
675 SIP: 400 (Bad Request) Unable to call due to recipient’s restrictions |
|
676 SIP: 405 (Method Not Allowed) Unable to call due to recipient’s restrictions |
|
677 SIP: 406 (Not Acceptable) Unable to call due to recipient’s restrictions |
|
678 SIP: 415 (Unsupported Media Type) In Unable to call due to recipient’s restrictions |
|
679 SIP: 413 (Request Entity Too Large) Unable to call due to recipient’s restrictions |
|
680 SIP: 420 (Bad Extension) Unable to call due to recipient’s restrictions |
|
681 SIP: 421 (Extension Required) In Unable to call due to recipient’s restrictions |
|
682 SIP: 481 (Call/Transaction Does Not Exist) Unable to call due to recipient’s restrictions |
|
683 |
|
684 SIP: 488 (Not Acceptable Here) Unable to call due to recipient’s restrictions |
|
685 |
|
686 SIP: 4xx Unable to call due to recipient’s restrictions |
|
687 |
|
688 */ |
|
689 ECCPErrorNotAcceptable = -150, |
|
690 |
|
691 /** Access denied error */ |
|
692 ECCPErrorAccessDenied = -151, |
|
693 |
|
694 |
|
695 /** |
|
696 Change ECCPError to KErrGsm, for original source error. (3GPP GSM 04.08) |
|
697 */ |
|
698 ECCPErrorCCNoRouteToDestination = -152, |
|
699 |
|
700 /** |
|
701 Change ECCPError to KErrGsm, for original source error. (3GPP GSM 04.08) |
|
702 */ |
|
703 ECCPErrorCCDestinationOutOfOrder = -153, |
|
704 |
|
705 /** |
|
706 Change ECCPError to KErrGsm, for original source error. (3GPP GSM 04.08) |
|
707 */ |
|
708 ECCPErrorCCResourceNotAvailable = -154, |
|
709 |
|
710 /** |
|
711 Change ECCPError to KErrGsm, for original source error. (3GPP GSM 04.08) |
|
712 */ |
|
713 ECCPErrorCCInvalidTransitNetworkSelection = -155, |
|
714 |
|
715 /** |
|
716 Change ECCPError to KErrGsm, for original source error. (3GPP GSM 04.08) |
|
717 */ |
|
718 ECCPErrorCCIncompatibleDestination = -156, |
|
719 |
|
720 /** |
|
721 Change ECCPError to KErrGsm, for original source error. (3GPP GSM 04.08) |
|
722 */ |
|
723 ECCPErrorCCIncompatibleMessageInCallState = -157, |
|
724 |
|
725 /** |
|
726 Change ECCPError to KErrGsm, for original source error. (3GPP GSM 04.08) |
|
727 */ |
|
728 ECCPErrorCCIncompatibleMessageInProtocolState = -158, |
|
729 |
|
730 /** |
|
731 Change ECCPError to KErrGsm, for original source error. (3GPP GSM 04.08) |
|
732 */ |
|
733 ECCPErrorCCNormalCallClearing = -159, |
|
734 |
|
735 /** |
|
736 Change ECCPError to KErrGsm, for original source error. (3GPP GSM 04.08) |
|
737 */ |
|
738 ECCPErrorCCUserAlertingNoAnswer = -160, |
|
739 |
|
740 /** |
|
741 Change ECCPError to KErrGsm, for original source error. (3GPP GSM 04.08) |
|
742 */ |
|
743 ECCPErrorCCUserNotResponding = -161, |
|
744 |
|
745 /** |
|
746 Change ECCPError to KErrGsm, for original source error. (3GPP GSM 04.08) |
|
747 */ |
|
748 ECCPErrorCCCallRejected = -162, |
|
749 |
|
750 /** |
|
751 Change ECCPError to KErrGsm, for original source error. (3GPP GSM 04.08) |
|
752 */ |
|
753 ECCPErrorCCPreemption = -163, |
|
754 |
|
755 /** |
|
756 Change ECCPError to KErrGsm, for original source error. (3GPP GSM 04.08) |
|
757 */ |
|
758 ECCPErrorCCFacilityRejected = -164, |
|
759 |
|
760 /** |
|
761 Change ECCPError to KErrGsm, for original source error. (3GPP GSM 04.08) |
|
762 */ |
|
763 ECCPErrorCCResponseToStatusEnquiry = -165, |
|
764 |
|
765 /** |
|
766 Change ECCPError to KErrGsm, for original source error. (3GPP GSM 04.08) |
|
767 */ |
|
768 ECCPErrorCCInvalidMandatoryInformation = -166, |
|
769 |
|
770 /** |
|
771 Change ECCPError to KErrGsm, for original source error. (3GPP GSM 04.08) |
|
772 */ |
|
773 ECCPErrorCCNonExistentMessageType = -167, |
|
774 |
|
775 /** |
|
776 Change ECCPError to KErrGsm, for original source error. (3GPP GSM 04.08) |
|
777 */ |
|
778 ECCPErrorCCNonExistentInformationElement = -168, |
|
779 |
|
780 /** |
|
781 Change ECCPError to KErrGsm, for original source error. (3GPP GSM 04.08) |
|
782 */ |
|
783 ECCPErrorCCNoChannelAvailable = -169, |
|
784 |
|
785 /** |
|
786 Change ECCPError to KErrGsm, for original source error. (3GPP GSM 04.08) |
|
787 */ |
|
788 ECCPErrorCCRequestedFacilityNotSubscribed = -170, |
|
789 |
|
790 /** |
|
791 Change ECCPError to KErrGsm, for original source error. (3GPP GSM 04.08) |
|
792 */ |
|
793 ECCPErrorCCIncomingCallsBarredInCug = -171, |
|
794 |
|
795 /** |
|
796 Change ECCPError to KErrGsm, for original source error. (3GPP GSM 04.08) |
|
797 */ |
|
798 ECCPErrorCCBearerCapabilityNotAuthorised = -172, |
|
799 |
|
800 /** |
|
801 Change ECCPError to KErrGsm, for original source error. (3GPP GSM 04.08) |
|
802 */ |
|
803 ECCPErrorCCBearerCapabilityNotCurrentlyAvailable = -173, |
|
804 |
|
805 /** |
|
806 Change ECCPError to KErrGsm, for original source error. (3GPP GSM 04.08) |
|
807 */ |
|
808 ECCPErrorCCServiceNotAvailable = -174, |
|
809 |
|
810 /** |
|
811 Change ECCPError to KErrGsm, for original source error. (3GPP GSM 04.08) |
|
812 */ |
|
813 ECCPErrorCCBearerServiceNotImplemented = -175, |
|
814 |
|
815 /** |
|
816 Change ECCPError to KErrGsm, for original source error. (3GPP GSM 04.08) |
|
817 */ |
|
818 ECCPErrorCCOnlyRestrictedDigitalInformationBCAvailable = -176, |
|
819 |
|
820 /** |
|
821 Change ECCPError to KErrGsm, for original source error. (3GPP GSM 04.08) |
|
822 */ |
|
823 ECCPErrorCCServiceNotImplemented = -177, |
|
824 |
|
825 /** |
|
826 Change ECCPError to KErrGsm, for original source error. (3GPP GSM 04.08) |
|
827 */ |
|
828 ECCPErrorCCUnspecifiedInterworkingError = -178, |
|
829 |
|
830 /** |
|
831 */ |
|
832 ECCPErrorCCRecoveryOnTimerExpiry = -179, |
|
833 |
|
834 /** |
|
835 The SAT call control error code can be received following Call Control. |
|
836 It is returned when the (U)SIM (or MO SM Control by (U)SIM) either bars |
|
837 or modifies the original action. (etelsat.h) |
|
838 */ |
|
839 ECCPErrorSatControl = -180 |
|
840 }; |
|
841 |
|
842 #endif // CCPDEFS_H |
|
843 |
|
844 // End of File |
|
845 |
|
846 |