simpleengine/siputils/src/simplesipconnection.cpp
branchRCL_3
changeset 25 e53c01f160bc
parent 14 de84881f4ac3
child 34 2669f8761a99
equal deleted inserted replaced
19:10246e066a50 25:e53c01f160bc
  2626 void CSimpleSipConnection::RecognizeSipState( 
  2626 void CSimpleSipConnection::RecognizeSipState( 
  2627     TSimpleSipState aState )
  2627     TSimpleSipState aState )
  2628     {
  2628     {
  2629     if ( aState == ESimpleSipActive )
  2629     if ( aState == ESimpleSipActive )
  2630         {
  2630         {
  2631         // Check that both SIP Profile and SIP connection are ready.
  2631         // Check that SIP Profile is ready.
  2632         // iProfileObserver is created in ConstructL.
  2632         // iProfileObserver is created in ConstructL.
  2633         if ( iProfileObserver->IsProfileActive() && 
  2633         if ( iProfileObserver->IsProfileActive() )
  2634              iSipConnection &&
       
  2635              iSipConnection->State() == CSIPConnection::EActive )
       
  2636             {
  2634             {
  2637             SetSipState( aState );            
  2635             SetSipState( aState );            
  2638             }
  2636             }
  2639         }
  2637         }
  2640     else
  2638     else