voipplugins/sipconnectionprovider/src/scpservicehandlerbase.cpp
branchRCL_3
changeset 14 be41ab7b952f
parent 12 876a3df1f464
child 15 43658d24f35d
equal deleted inserted replaced
12:876a3df1f464 14:be41ab7b952f
   195 // CScpServiceHandlerBase::HandleSipProfileForcedDisable
   195 // CScpServiceHandlerBase::HandleSipProfileForcedDisable
   196 // -----------------------------------------------------------------------------
   196 // -----------------------------------------------------------------------------
   197 //
   197 //
   198 void CScpServiceHandlerBase::HandleSipProfileForcedDisable()
   198 void CScpServiceHandlerBase::HandleSipProfileForcedDisable()
   199     {
   199     {
   200     SCPLOGSTRING2( "CScpServiceHandlerBase[0x%x]::HandleSipProfileForcedDisable",
   200     SCPLOGSTRING2( 
   201                    this );
   201         "CScpServiceHandlerBase[0x%x]::HandleSipProfileForcedDisable", this );
   202 
   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     
       
   213     HandleSipConnectionEvent( iSubService.SipProfileId(), EScpDeregistered );
   203     HandleSipConnectionEvent( iSubService.SipProfileId(), EScpDeregistered );
   214     }
   204     }
   215 
   205 
   216 // -----------------------------------------------------------------------------
   206 // -----------------------------------------------------------------------------
   217 // CScpServiceHandlerBase::ForceSipProfileDisable
   207 // CScpServiceHandlerBase::ForceSipProfileDisable