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