realtimenetprots/sipfw/ProfileAgent/IMS_Agent/Src/Sipimsprofilecontext.cpp
changeset 33 b8a7e07b2677
parent 0 307788aac0a8
child 42 69df6ed78a6a
--- a/realtimenetprots/sipfw/ProfileAgent/IMS_Agent/Src/Sipimsprofilecontext.cpp	Mon Jun 28 19:10:29 2010 +0300
+++ b/realtimenetprots/sipfw/ProfileAgent/IMS_Agent/Src/Sipimsprofilecontext.cpp	Fri Jul 09 13:15:39 2010 +0300
@@ -749,11 +749,11 @@
 			 aError == K500ServerInternalError || 
 			 aError == K504ServerTimeOut || 
 			 aError == KErrTimedOut ||
-			 aError == KErrSIPOutboundProxyNotResponding || 
+			 ((aError == KErrSIPOutboundProxyNotResponding || 
 			 aError == KErrSIPResolvingFailure ||
 			 aError == KErrSIPTransportFailure ||
-			 aError == KErrSIPICMPFailure && 
-			 iConnection.State() != CSIPConnection::ESuspended)
+			 aError == KErrSIPICMPFailure  )&&
+			 iConnection.State() != CSIPConnection::ESuspended))
 			{
 			SetRetryPossible(ETrue);
 			iRetriedRegister = ETrue;
@@ -785,12 +785,12 @@
 	        aError == K408TimeOut ||
 	        aError == K480TemporarilyUnavailable ||
 	        aError == K500ServerInternalError ||
-	        aError == K504ServerTimeOut ||
-		    aError == KErrSIPOutboundProxyNotResponding || 
+	        aError == K504ServerTimeOut || 
 		    aError == KErrTimedOut ||
 		    ((aError == KErrSIPResolvingFailure || 
 		      aError == KErrSIPTransportFailure ||
-		      aError == KErrSIPICMPFailure) && 
+		      aError == KErrSIPICMPFailure ||
+		      aError == KErrSIPOutboundProxyNotResponding ) && 
 			 iConnection.State() != CSIPConnection::ESuspended));
 	}