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; |