|
1 /* |
|
2 * Copyright (c) 2003-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 "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: |
|
15 * Name : sipgendefs.h |
|
16 * Part of : sip profile fsm |
|
17 * Version : 1.0 |
|
18 * |
|
19 */ |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 /** |
|
25 @internalComponent |
|
26 */ |
|
27 |
|
28 _LIT8(KSIPauthheader, "Authorization"); |
|
29 _LIT8(KSIPauthForHeader, "Digest "); |
|
30 _LIT8(KSIPnonce, "nonce"); |
|
31 _LIT8(KSIPresponse, "response"); |
|
32 _LIT8(KSIPuri, "uri"); |
|
33 _LIT8(KSIPequals, "="); |
|
34 _LIT8(KSIPcomma, ","); |
|
35 _LIT8(KSIPschema, "sip:"); |
|
36 _LIT8(KSIPUsername, "username"); |
|
37 _LIT8(KSIPrealm, "realm"); |
|
38 _LIT8(KSIPServer, "server"); |
|
39 _LIT8(KSIPdigest, "digest"); |
|
40 _LIT8(KSIPuserid, "userid"); |
|
41 _LIT8(KSIPprotected, "protected"); |
|
42 _LIT8(KSIPpasswd, "passwd"); |
|
43 _LIT8(KSIPImcType,"ims"); |
|
44 _LIT8(KSIPpath, "path"); |
|
45 _LIT8(KSIPcomp, "comp"); |
|
46 _LIT8(KSIPsigcomp, "sigcomp"); |
|
47 _LIT8(KSIPIetfType,"IETF"); |
|
48 _LIT8(KSIPTcp,"TCP"); |
|
49 _LIT8(KSIPlocalhost, "sip:localhost"); |
|
50 |
|
51 const TText8 KSIPquot = '"'; |
|
52 const TUint KSIPquotneeded = 10; |
|
53 const TUint KSIPIetfExpiresValue = 3600; |
|
54 const TUint KSIPImsExpiresValue = 600000; |
|
55 const TUint KSIPImc1ExpiresValue = 600000; |
|
56 |
|
57 const TText8 KSIPtab = '\t'; |
|
58 const TUint KSIParrayGran = 5; |
|
59 const TUint K200Ok = 200; |
|
60 const TUint K300MultipleChoices = 300; |
|
61 const TUint K400BadRequest = 400; |
|
62 const TUint K405MethodNotAllowed = 405; |
|
63 const TUint K420BadExtension = 420; |
|
64 const TUint K481TransactionDoesNotExist = 481; |
|
65 const TUint K482LoopDetected = 482; |
|
66 const TUint K489BadEvent = 489; |
|
67 const TUint K503ServiceUnavailable = 503; |
|
68 const TUint K408TimeOut = 408; |
|
69 const TUint K480TemporarilyUnavailable = 480; |
|
70 const TUint K500ServerInternalError = 500; |
|
71 const TUint K504ServerTimeOut = 504; |