equal
deleted
inserted
replaced
270 { |
270 { |
271 iObs.ProfileStateChanged( CSIPConnection::EInactive, KErrNone ); |
271 iObs.ProfileStateChanged( CSIPConnection::EInactive, KErrNone ); |
272 } |
272 } |
273 else if ( aEvent == EProfileUpdated ) |
273 else if ( aEvent == EProfileUpdated ) |
274 { |
274 { |
275 #ifdef _DEBUG |
275 iObs.ProfileStateChanged( CSIPConnection::EUnavailable, KErrNone ); |
276 TSimpleLogger::Log(_L("SipProfileObserver: EProfileUpdated - ProfileEnabled : %d" ), iRegistry->IsEnabled( *iProfile ) ); |
|
277 TSimpleLogger::Log(_L("SipProfileObserver: EProfileUpdated - Profile reg er : %d" ), iRegistry->LastRegistrationError( *iProfile ) ); |
|
278 TSimpleLogger::Log(_L("SipProfileObserver: EProfileUpdated - IsContextActive : %d" ), iProfile->IsContextActive() ); |
|
279 #endif |
|
280 |
|
281 // Notify observer to refresh SIP connection. |
|
282 iObs.ProfileUpdated(); |
|
283 } |
276 } |
284 else if ( aEvent == EProfileDestroyed ) |
277 else if ( aEvent == EProfileDestroyed ) |
285 { |
278 { |
286 iObs.ProfileStateChanged( CSIPConnection::EUnavailable, KErrNone ); |
279 iObs.ProfileStateChanged( CSIPConnection::EUnavailable, KErrNone ); |
287 } |
280 } |