--- a/sipvoipprovider/svptransfer/src/svptransferstatecontext.cpp Mon Jun 21 15:29:21 2010 +0300
+++ b/sipvoipprovider/svptransfer/src/svptransferstatecontext.cpp Thu Aug 19 09:45:22 2010 +0300
@@ -436,6 +436,16 @@
CleanupStack::Pop( 1 ); // string, ReAlloc possible
CleanupStack::PushL( string );
}
+ // Check "?X-Sipx-Authidentity=" and remove text after it if exists
+ position = CheckAuthidentity( *string );
+
+ if ( KErrNotFound != position )
+ {
+ // "?X-Sipx-Authidentity=" found
+ CutStringFromPosition( string, position );
+ CleanupStack::Pop( 1 ); // string, ReAlloc possible
+ CleanupStack::PushL( string );
+ }
// Check ">" and remove text after it if exists
position = CheckRightBracket( *string );
@@ -759,6 +769,11 @@
returnValue = aUri.Find( KSVPAuthidentity2 );
SVPDEBUG2( "CSVPTransferStateContext::CheckAuthidentity second return: %d", returnValue )
}
+ if ( returnValue == KErrNotFound )
+ {
+ returnValue = aUri.Find( KSVPAuthidentity3 );
+ SVPDEBUG2( "CSVPTransferStateContext::CheckAuthidentity third return: %d", returnValue )
+ }
return returnValue;
}