diff -r 8517a9ac4a23 -r a7d1e54a7332 realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileStateUnregistered.cpp --- a/realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileStateUnregistered.cpp Tue May 11 16:32:45 2010 +0300 +++ b/realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileStateUnregistered.cpp Tue May 25 13:04:58 2010 +0300 @@ -114,7 +114,7 @@ TBool isVpnInUse = (FeatureManager::FeatureSupported( KFeatureIdFfImsDeregistrationInVpn ) && aItem.IsVpnInUse()); - if ( aItem.IsReferred() && !aItem.IsShutdownInitiated() && + if ( aItem.IsReferred() && !aItem.IsShutdownInitiated() && !aItem.IsOfflineInitiated() && !aItem.IsRfsInprogress() && !isVpnInUse) { aItem.ClearOldProfile();