simpleengine/siputils/src/simplesipprofileobserver.cpp
branchRCL_3
changeset 35 fbd2e7cec7ef
parent 34 2669f8761a99
--- a/simpleengine/siputils/src/simplesipprofileobserver.cpp	Tue Aug 31 15:35:50 2010 +0300
+++ b/simpleengine/siputils/src/simplesipprofileobserver.cpp	Wed Sep 01 12:23:14 2010 +0100
@@ -272,7 +272,14 @@
         }     
     else if ( aEvent == EProfileUpdated )
         {
-        iObs.ProfileStateChanged( CSIPConnection::EUnavailable, KErrNone );
+#ifdef _DEBUG
+        TSimpleLogger::Log(_L("SipProfileObserver: EProfileUpdated - ProfileEnabled : %d" ), iRegistry->IsEnabled( *iProfile ) );
+        TSimpleLogger::Log(_L("SipProfileObserver: EProfileUpdated - Profile reg er : %d" ), iRegistry->LastRegistrationError( *iProfile ) );
+        TSimpleLogger::Log(_L("SipProfileObserver: EProfileUpdated - IsContextActive : %d" ), iProfile->IsContextActive() );
+#endif
+
+        // Notify observer to refresh SIP connection.
+        iObs.ProfileUpdated();
         }           
     else if ( aEvent == EProfileDestroyed )
         {