sipvoipprovider/src/svpsessionbase.cpp
branchRCL_3
changeset 33 2989b291cac7
parent 28 d38647835c2e
--- a/sipvoipprovider/src/svpsessionbase.cpp	Wed Sep 15 12:01:56 2010 +0300
+++ b/sipvoipprovider/src/svpsessionbase.cpp	Wed Oct 13 14:20:32 2010 +0300
@@ -1524,8 +1524,7 @@
     TBool bothStreamsDisabled ( ETrue );
     TRAP_IGNORE( bothStreamsDisabled = IsBothStreamsDisabledL() );
     if ( bothStreamsDisabled &&
-         CMceSession::EEstablished == aStream.Session()->State() && 
-         IsErrorInULandDLFirstTime() )
+         CMceSession::EEstablished == aStream.Session()->State() )
         {
         SetErrorInULandDLFirstTime( EFalse ); 
         TRAP_IGNORE( StartTimerL( KSVPICMPErrorTime, KSVPICMPErrorTimerExpired ) )
@@ -3104,15 +3103,6 @@
     SVPDEBUG1( "CSVPSessionBase::UpdateFailed In" )
     SVPDEBUG2( "CSVPSessionBase::UpdateFailed aStatusCode=%d", aStatusCode )
     
-    // Check if MCE Session has changed
-    if ( &Session() != &aSession )
-        {
-        // And if, then update to the current session
-        SVPDEBUG1( "CSVPSessionBase::UpdateFailed - update MCE Session" )
-        delete iSession;
-        iSession = &aSession;
-        }
-    
     if ( iHoldController )
         {
         iHoldController->RequestFailed( aSession, aStatusCode, *this );