1.1 --- a/epoc32/include/siperr.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/siperr.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,96 @@
1.4 -siperr.h
1.5 +/*
1.6 +* Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
1.7 +* All rights reserved.
1.8 +* This component and the accompanying materials are made available
1.9 +* 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
1.10 +* which accompanies this distribution, and is available
1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.12 +*
1.13 +* Initial Contributors:
1.14 +* Nokia Corporation - initial contribution.
1.15 +*
1.16 +* Contributors:
1.17 +*
1.18 +* Description:
1.19 +* Name : siperr.h
1.20 +* Part of : SIP Client API
1.21 +* Interface : SDK, SIP Client API
1.22 +* Version : 1.0
1.23 +*
1.24 +*/
1.25 +
1.26 +
1.27 +
1.28 +#ifndef SIPERR_H
1.29 +#define SIPERR_H
1.30 +
1.31 +#include <e32base.h>
1.32 +
1.33 +/** @file
1.34 +* @publishedAll
1.35 +* @released
1.36 +*/
1.37 +
1.38 +/** SIP message was malformed */
1.39 +const TInt KErrSIPMalformedMessage = -17700;
1.40 +
1.41 +/** Invalid SIP response received from registrar*/
1.42 +const TInt KErrSIPInvalidRegistrarResponse = -17701;
1.43 +
1.44 +/** SIP Request pending */
1.45 +const TInt KErrSIPRequestPending = -17702;
1.46 +
1.47 +/** The action cannot be performed in the current transaction state */
1.48 +const TInt KErrSIPInvalidTransactionState = -17703;
1.49 +
1.50 +/** Not allowed in dialogs current state */
1.51 +const TInt KErrSIPInvalidDialogState = -17704;
1.52 +
1.53 +/** Invalid request in SIP dialog */
1.54 +const TInt KErrSIPInvalidDialogRequest = -17705;
1.55 +
1.56 +/** Invalid response in SIP dialog */
1.57 +const TInt KErrSIPInvalidDialogResponse = -17706;
1.58 +
1.59 +/** Sending a SIP message failed. For example ICMP error occured */
1.60 +const TInt KErrSIPTransportFailure = -17707;
1.61 +
1.62 +/** No ACK was received after sending a 2xx response */
1.63 +const TInt KErrSIPNoAckReceived = -17708;
1.64 +
1.65 +/** Not allowed in registration's current state */
1.66 +const TInt KErrSIPInvalidRegistrationState = -17709;
1.67 +
1.68 +/** The contact given did not contain user part */
1.69 +const TInt KErrSIPInvalidContact = -17710;
1.70 +
1.71 +/** Object can't access a resource, since that has been deleted by user.
1.72 +The user is expected to delete this object as it can no longer be used. */
1.73 +const TInt KErrSIPResourceNotAvailable = -17711;
1.74 +
1.75 +/** DNS query for the remote address failed */
1.76 +const TInt KErrSIPResolvingFailure = -17712;
1.77 +
1.78 +/** Authentication with a server failed */
1.79 +const TInt KErrSIPForbidden = -17713;
1.80 +
1.81 +/** Maximum number of allowed SigComp compartments exceeded */
1.82 +const TInt KErrSIPMaxCompartmentsInUse = -17714;
1.83 +
1.84 +/** Refresh initiated client transaction was terminated with
1.85 +a 3xx, 4xx, 5xx or 6xx response.*/
1.86 +const TInt KErrSIPTerminatedWithResponse = -17715;
1.87 +
1.88 +/** Provided SIP outbound proxy is not responding*/
1.89 +const TInt KErrSIPOutboundProxyNotResponding = -17716;
1.90 +
1.91 +/** The URI type is not allowed in some field of the particular SIP message.
1.92 +Note that this does not mean that the URI type is forbidden in general.
1.93 +For example Contact-header of an INVITE must always contain a SIP-URI.
1.94 +Any other types are rejected with this error code. */
1.95 +const TInt KErrSIPInvalidURIType = -17717;
1.96 +
1.97 +/** ICMP error has occured */
1.98 +const TInt KErrSIPICMPFailure = -17718;
1.99 +
1.100 +#endif //SIPERR_H