equal
deleted
inserted
replaced
143 { |
143 { |
144 profileHandler.CancelRegistration( sipProfileId ); |
144 profileHandler.CancelRegistration( sipProfileId ); |
145 } |
145 } |
146 else |
146 else |
147 { |
147 { |
148 profileHandler.UnregisterProfile( sipProfileId ); |
148 error = profileHandler.UnregisterProfile( sipProfileId ); |
|
149 if ( KErrNotFound == error ) |
|
150 { |
|
151 SCPLOGSTRING3( |
|
152 "CScpServiceHandlerBase[0x%x]::DeregisterProfile - No profile with ID: %d", |
|
153 this, |
|
154 sipProfileId ); |
|
155 } |
149 } |
156 } |
150 } |
157 } |
151 |
158 |
152 StartForcedDisableTimer( CScpServiceHandlerBase::ForceSipProfileDisable ); |
159 StartForcedDisableTimer( CScpServiceHandlerBase::ForceSipProfileDisable ); |
153 } |
160 } |
191 void CScpServiceHandlerBase::HandleSipProfileForcedDisable() |
198 void CScpServiceHandlerBase::HandleSipProfileForcedDisable() |
192 { |
199 { |
193 SCPLOGSTRING2( "CScpServiceHandlerBase[0x%x]::HandleSipProfileForcedDisable", |
200 SCPLOGSTRING2( "CScpServiceHandlerBase[0x%x]::HandleSipProfileForcedDisable", |
194 this ); |
201 this ); |
195 |
202 |
|
203 CScpProfileHandler& profileHandler = iSubService.ProfileHandler(); |
|
204 |
|
205 CScpSipConnection* sipConnection = |
|
206 profileHandler.GetSipConnection( iSubService.SipProfileId() ); |
|
207 |
|
208 if ( sipConnection ) |
|
209 { |
|
210 sipConnection->ForceDisable(); |
|
211 } |
|
212 |
196 HandleSipConnectionEvent( iSubService.SipProfileId(), EScpDeregistered ); |
213 HandleSipConnectionEvent( iSubService.SipProfileId(), EScpDeregistered ); |
197 } |
214 } |
198 |
215 |
199 // ----------------------------------------------------------------------------- |
216 // ----------------------------------------------------------------------------- |
200 // CScpServiceHandlerBase::ForceSipProfileDisable |
217 // CScpServiceHandlerBase::ForceSipProfileDisable |