realtimenetprots/sipfw/ProfileAgent/IETF_Agent/src/Sipietfprofilecontext.cpp
branchRCL_3
changeset 41 f54bfd820e04
parent 26 822e1f077722
child 43 b5e99d8877c7
equal deleted inserted replaced
40:654ed625511d 41:f54bfd820e04
   440 	    AgentObserver().ProceedRegistration(*iProfile, aError) &&
   440 	    AgentObserver().ProceedRegistration(*iProfile, aError) &&
   441 	    (CurrentState() == MSIPProfileContext::ERegistrationInProgress ||
   441 	    (CurrentState() == MSIPProfileContext::ERegistrationInProgress ||
   442 	     CurrentState() == MSIPProfileContext::ERegistered) &&
   442 	     CurrentState() == MSIPProfileContext::ERegistered) &&
   443 		(aError == K408TimeOut ||
   443 		(aError == K408TimeOut ||
   444 		 aError == K500ServerInternalError ||
   444 		 aError == K500ServerInternalError ||
   445 		 aError == KErrSIPOutboundProxyNotResponding || 
   445 		 aError == KErrTimedOut || 
       
   446 		 (( aError == KErrSIPOutboundProxyNotResponding || 
   446 		 aError == KErrSIPResolvingFailure || 
   447 		 aError == KErrSIPResolvingFailure || 
   447 		 aError == KErrTimedOut || 
       
   448 		 aError == KErrSIPTransportFailure ||
   448 		 aError == KErrSIPTransportFailure ||
   449 		 aError == KErrSIPICMPFailure  && 
   449 		 aError == KErrSIPICMPFailure ) && 
   450 		 iConnection.State() != CSIPConnection::ESuspended))		
   450 		 iConnection.State() != CSIPConnection::ESuspended)))		
   451 	    {
   451 	    {
   452 		if ( iRetryCounterSum + 1 < KMaxRetryForOneAddress &&
   452 		if ( iRetryCounterSum + 1 < KMaxRetryForOneAddress &&
   453 		     iRetryCounter < KMaxRetryForOneAddress )
   453 		     iRetryCounter < KMaxRetryForOneAddress )
   454 			{
   454 			{
   455 			retry = ETrue;
   455 			retry = ETrue;