--- a/realtimenetprots/sipfw/ProfileAgent/IETF_Agent/src/Sipietfprofilecontext.cpp Fri Aug 06 15:14:04 2010 +0300
+++ b/realtimenetprots/sipfw/ProfileAgent/IETF_Agent/src/Sipietfprofilecontext.cpp Mon Aug 23 17:50:26 2010 +0300
@@ -491,7 +491,9 @@
//
TBool CSIPIetfProfileContext::ShouldRetryRegistration( TInt aError )
{
- return (aError == K503ServiceUnavailable ||
+ return (iProfile &&
+ AgentObserver().ProceedRegistration(*iProfile, aError) &&
+ (aError == K503ServiceUnavailable ||
aError == K408TimeOut ||
aError == K500ServerInternalError ||
aError == KErrTimedOut ||
@@ -499,7 +501,7 @@
aError == KErrSIPTransportFailure ||
aError == KErrSIPICMPFailure ||
aError == KErrSIPOutboundProxyNotResponding ) &&
- iConnection.State() != CSIPConnection::ESuspended));
+ iConnection.State() != CSIPConnection::ESuspended)));
}
// -----------------------------------------------------------------------------