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 iObs.ProfileStateChanged( CSIPConnection::EUnavailable, KErrNone ); |
275 #ifdef _DEBUG |
|
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(); |
276 } |
283 } |
277 else if ( aEvent == EProfileDestroyed ) |
284 else if ( aEvent == EProfileDestroyed ) |
278 { |
285 { |
279 iObs.ProfileStateChanged( CSIPConnection::EUnavailable, KErrNone ); |
286 iObs.ProfileStateChanged( CSIPConnection::EUnavailable, KErrNone ); |
280 } |
287 } |