author | William Roberts <williamr@symbian.org> |
Tue, 16 Mar 2010 16:12:26 +0000 | |
branch | Symbian2 |
changeset 2 | 2fe1408b6811 |
parent 0 | 061f57f2323e |
permissions | -rw-r--r-- |
williamr@2 | 1 |
/* |
williamr@2 | 2 |
* Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
williamr@2 | 3 |
* All rights reserved. |
williamr@2 | 4 |
* This component and the accompanying materials are made available |
williamr@2 | 5 |
* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
williamr@2 | 6 |
* which accompanies this distribution, and is available |
williamr@2 | 7 |
* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
williamr@2 | 8 |
* |
williamr@2 | 9 |
* Initial Contributors: |
williamr@2 | 10 |
* Nokia Corporation - initial contribution. |
williamr@2 | 11 |
* |
williamr@2 | 12 |
* Contributors: |
williamr@2 | 13 |
* |
williamr@2 | 14 |
* Description: |
williamr@2 | 15 |
* Name : siperr.h |
williamr@2 | 16 |
* Part of : SIP Client API |
williamr@2 | 17 |
* Interface : SDK, SIP Client API |
williamr@2 | 18 |
* Version : 1.0 |
williamr@2 | 19 |
* |
williamr@2 | 20 |
*/ |
williamr@2 | 21 |
|
williamr@2 | 22 |
|
williamr@2 | 23 |
|
williamr@2 | 24 |
#ifndef SIPERR_H |
williamr@2 | 25 |
#define SIPERR_H |
williamr@2 | 26 |
|
williamr@2 | 27 |
#include <e32base.h> |
williamr@2 | 28 |
|
williamr@2 | 29 |
/** @file |
williamr@2 | 30 |
* @publishedAll |
williamr@2 | 31 |
* @released |
williamr@2 | 32 |
*/ |
williamr@2 | 33 |
|
williamr@2 | 34 |
/** SIP message was malformed */ |
williamr@2 | 35 |
const TInt KErrSIPMalformedMessage = -17700; |
williamr@2 | 36 |
|
williamr@2 | 37 |
/** Invalid SIP response received from registrar*/ |
williamr@2 | 38 |
const TInt KErrSIPInvalidRegistrarResponse = -17701; |
williamr@2 | 39 |
|
williamr@2 | 40 |
/** SIP Request pending */ |
williamr@2 | 41 |
const TInt KErrSIPRequestPending = -17702; |
williamr@2 | 42 |
|
williamr@2 | 43 |
/** The action cannot be performed in the current transaction state */ |
williamr@2 | 44 |
const TInt KErrSIPInvalidTransactionState = -17703; |
williamr@2 | 45 |
|
williamr@2 | 46 |
/** Not allowed in dialogs current state */ |
williamr@2 | 47 |
const TInt KErrSIPInvalidDialogState = -17704; |
williamr@2 | 48 |
|
williamr@2 | 49 |
/** Invalid request in SIP dialog */ |
williamr@2 | 50 |
const TInt KErrSIPInvalidDialogRequest = -17705; |
williamr@2 | 51 |
|
williamr@2 | 52 |
/** Invalid response in SIP dialog */ |
williamr@2 | 53 |
const TInt KErrSIPInvalidDialogResponse = -17706; |
williamr@2 | 54 |
|
williamr@2 | 55 |
/** Sending a SIP message failed. For example ICMP error occured */ |
williamr@2 | 56 |
const TInt KErrSIPTransportFailure = -17707; |
williamr@2 | 57 |
|
williamr@2 | 58 |
/** No ACK was received after sending a 2xx response */ |
williamr@2 | 59 |
const TInt KErrSIPNoAckReceived = -17708; |
williamr@2 | 60 |
|
williamr@2 | 61 |
/** Not allowed in registration's current state */ |
williamr@2 | 62 |
const TInt KErrSIPInvalidRegistrationState = -17709; |
williamr@2 | 63 |
|
williamr@2 | 64 |
/** The contact given did not contain user part */ |
williamr@2 | 65 |
const TInt KErrSIPInvalidContact = -17710; |
williamr@2 | 66 |
|
williamr@2 | 67 |
/** Object can't access a resource, since that has been deleted by user. |
williamr@2 | 68 |
The user is expected to delete this object as it can no longer be used. */ |
williamr@2 | 69 |
const TInt KErrSIPResourceNotAvailable = -17711; |
williamr@2 | 70 |
|
williamr@2 | 71 |
/** DNS query for the remote address failed */ |
williamr@2 | 72 |
const TInt KErrSIPResolvingFailure = -17712; |
williamr@2 | 73 |
|
williamr@2 | 74 |
/** Authentication with a server failed */ |
williamr@2 | 75 |
const TInt KErrSIPForbidden = -17713; |
williamr@2 | 76 |
|
williamr@2 | 77 |
/** Maximum number of allowed SigComp compartments exceeded */ |
williamr@2 | 78 |
const TInt KErrSIPMaxCompartmentsInUse = -17714; |
williamr@2 | 79 |
|
williamr@2 | 80 |
/** Refresh initiated client transaction was terminated with |
williamr@2 | 81 |
a 3xx, 4xx, 5xx or 6xx response.*/ |
williamr@2 | 82 |
const TInt KErrSIPTerminatedWithResponse = -17715; |
williamr@2 | 83 |
|
williamr@2 | 84 |
/** Provided SIP outbound proxy is not responding*/ |
williamr@2 | 85 |
const TInt KErrSIPOutboundProxyNotResponding = -17716; |
williamr@2 | 86 |
|
williamr@2 | 87 |
/** The URI type is not allowed in some field of the particular SIP message. |
williamr@2 | 88 |
Note that this does not mean that the URI type is forbidden in general. |
williamr@2 | 89 |
For example Contact-header of an INVITE must always contain a SIP-URI. |
williamr@2 | 90 |
Any other types are rejected with this error code. */ |
williamr@2 | 91 |
const TInt KErrSIPInvalidURIType = -17717; |
williamr@2 | 92 |
|
williamr@2 | 93 |
/** ICMP error has occured */ |
williamr@2 | 94 |
const TInt KErrSIPICMPFailure = -17718; |
williamr@2 | 95 |
|
williamr@2 | 96 |
#endif //SIPERR_H |