realtimenetprots/sipfw/ProfileAgent/IETF_Agent/src/Sipietfprofilecontext.cpp
branchRCL_3
changeset 26 822e1f077722
parent 14 532ef74cdfa0
child 39 7cdef8deefa0
child 41 f54bfd820e04
equal deleted inserted replaced
20:a7d1e54a7332 26:822e1f077722
   492 TBool CSIPIetfProfileContext::ShouldRetryRegistration( TInt aError )
   492 TBool CSIPIetfProfileContext::ShouldRetryRegistration( TInt aError )
   493 	{
   493 	{
   494 	return (aError == K503ServiceUnavailable || 
   494 	return (aError == K503ServiceUnavailable || 
   495 	        aError == K408TimeOut ||
   495 	        aError == K408TimeOut ||
   496 	        aError == K500ServerInternalError ||
   496 	        aError == K500ServerInternalError ||
   497 		    aError == KErrSIPOutboundProxyNotResponding || 
       
   498 		    aError == KErrTimedOut ||
   497 		    aError == KErrTimedOut ||
   499 		    ((aError == KErrSIPResolvingFailure || 
   498 		    ((aError == KErrSIPResolvingFailure || 
   500 		      aError == KErrSIPTransportFailure ||
   499 		      aError == KErrSIPTransportFailure ||
   501 		      aError == KErrSIPICMPFailure) && 
   500 		      aError == KErrSIPICMPFailure ||
       
   501 		      aError == KErrSIPOutboundProxyNotResponding ) && 
   502 			 iConnection.State() != CSIPConnection::ESuspended));
   502 			 iConnection.State() != CSIPConnection::ESuspended));
   503 	}
   503 	}
   504 
   504 
   505 // -----------------------------------------------------------------------------
   505 // -----------------------------------------------------------------------------
   506 // CSIPIetfProfileContext::InitializeRetryTimerValue
   506 // CSIPIetfProfileContext::InitializeRetryTimerValue