realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileStateUnregistered.cpp
changeset 22 f1578314b8da
parent 15 8248b03a2669
equal deleted inserted replaced
17:bfe1f539b721 22:f1578314b8da
   112 		{
   112 		{
   113 		aItem.SendUnregisteredStatusEventL();
   113 		aItem.SendUnregisteredStatusEventL();
   114 		TBool isVpnInUse = (FeatureManager::FeatureSupported( KFeatureIdFfImsDeregistrationInVpn )
   114 		TBool isVpnInUse = (FeatureManager::FeatureSupported( KFeatureIdFfImsDeregistrationInVpn )
   115                                 && aItem.IsVpnInUse());
   115                                 && aItem.IsVpnInUse());
   116 		
   116 		
   117         if ( aItem.IsReferred() && !aItem.IsShutdownInitiated() &&
   117         if ( aItem.IsReferred() && !aItem.IsShutdownInitiated() && !aItem.IsOfflineInitiated() &&
   118                 !aItem.IsRfsInprogress() && !isVpnInUse)
   118                 !aItem.IsRfsInprogress() && !isVpnInUse)
   119             {
   119             {
   120             aItem.ClearOldProfile();
   120             aItem.ClearOldProfile();
   121             aItem.StartRegisterL(*iWaitForIAP, *iRegInProg, getIap);
   121             aItem.StartRegisterL(*iWaitForIAP, *iRegInProg, getIap);
   122             // CSIPProfileCacheItem::MonitorSnapL stops ALR monitor later if
   122             // CSIPProfileCacheItem::MonitorSnapL stops ALR monitor later if