realtimenetprots/sipfw/ProfileAgent/IETF_Agent/src/Sipietfprofilecontext.cpp
changeset 34 3c8db403127f
parent 17 bfe1f539b721
child 39 7cdef8deefa0
child 41 f54bfd820e04
equal deleted inserted replaced
27:740ceea8e153 34:3c8db403127f
   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