equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006-2008 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
111 HBufC8* uri = CompleteUriL( aRecipient, |
111 HBufC8* uri = CompleteUriL( aRecipient, |
112 *profile, |
112 *profile, |
113 aSecurityStatus, |
113 aSecurityStatus, |
114 userEqphone ); |
114 userEqphone ); |
115 CleanupStack::PushL( uri ); |
115 CleanupStack::PushL( uri ); |
|
116 |
|
117 // Add P-Preferred-Identity header if CLIR is on |
|
118 if ( iSVPUtility.IsCLIROnL() ) |
|
119 { |
|
120 const TDesC8* userAor = NULL; |
|
121 TInt err = profile->GetParameter( KSIPUserAor, userAor ); |
|
122 |
|
123 if ( !err ) |
|
124 { |
|
125 iSVPUtility.AddPPreferredIdentityToUserHeadersL( |
|
126 *aUserHeaders, *userAor ); |
|
127 } |
|
128 } |
116 |
129 |
117 // create Mce out session |
130 // create Mce out session |
118 if ( KSVPStatusNonSecure == aSecurityStatus ) |
131 if ( KSVPStatusNonSecure == aSecurityStatus ) |
119 { |
132 { |
120 // create non-secure session |
133 // create non-secure session |