realtimenetprots/sipfw/ProfileAgent/IMS_Agent/Src/Sipimsprofilecontext.cpp
changeset 33 b8a7e07b2677
parent 0 307788aac0a8
child 42 69df6ed78a6a
equal deleted inserted replaced
30:d7640adb246b 33:b8a7e07b2677
   747 		     aError == K408TimeOut ||
   747 		     aError == K408TimeOut ||
   748 			 aError == K480TemporarilyUnavailable || 
   748 			 aError == K480TemporarilyUnavailable || 
   749 			 aError == K500ServerInternalError || 
   749 			 aError == K500ServerInternalError || 
   750 			 aError == K504ServerTimeOut || 
   750 			 aError == K504ServerTimeOut || 
   751 			 aError == KErrTimedOut ||
   751 			 aError == KErrTimedOut ||
   752 			 aError == KErrSIPOutboundProxyNotResponding || 
   752 			 ((aError == KErrSIPOutboundProxyNotResponding || 
   753 			 aError == KErrSIPResolvingFailure ||
   753 			 aError == KErrSIPResolvingFailure ||
   754 			 aError == KErrSIPTransportFailure ||
   754 			 aError == KErrSIPTransportFailure ||
   755 			 aError == KErrSIPICMPFailure && 
   755 			 aError == KErrSIPICMPFailure  )&&
   756 			 iConnection.State() != CSIPConnection::ESuspended)
   756 			 iConnection.State() != CSIPConnection::ESuspended))
   757 			{
   757 			{
   758 			SetRetryPossible(ETrue);
   758 			SetRetryPossible(ETrue);
   759 			iRetriedRegister = ETrue;
   759 			iRetriedRegister = ETrue;
   760 			iRetryCounterSum++;
   760 			iRetryCounterSum++;
   761 			retry = ETrue;
   761 			retry = ETrue;
   783 	{
   783 	{
   784 	return (aError == K503ServiceUnavailable ||
   784 	return (aError == K503ServiceUnavailable ||
   785 	        aError == K408TimeOut ||
   785 	        aError == K408TimeOut ||
   786 	        aError == K480TemporarilyUnavailable ||
   786 	        aError == K480TemporarilyUnavailable ||
   787 	        aError == K500ServerInternalError ||
   787 	        aError == K500ServerInternalError ||
   788 	        aError == K504ServerTimeOut ||
   788 	        aError == K504ServerTimeOut || 
   789 		    aError == KErrSIPOutboundProxyNotResponding || 
       
   790 		    aError == KErrTimedOut ||
   789 		    aError == KErrTimedOut ||
   791 		    ((aError == KErrSIPResolvingFailure || 
   790 		    ((aError == KErrSIPResolvingFailure || 
   792 		      aError == KErrSIPTransportFailure ||
   791 		      aError == KErrSIPTransportFailure ||
   793 		      aError == KErrSIPICMPFailure) && 
   792 		      aError == KErrSIPICMPFailure ||
       
   793 		      aError == KErrSIPOutboundProxyNotResponding ) && 
   794 			 iConnection.State() != CSIPConnection::ESuspended));
   794 			 iConnection.State() != CSIPConnection::ESuspended));
   795 	}
   795 	}
   796 
   796 
   797 // -----------------------------------------------------------------------------
   797 // -----------------------------------------------------------------------------
   798 // CSIPIMSProfileContext::RetryAfterTimer
   798 // CSIPIMSProfileContext::RetryAfterTimer