equal
deleted
inserted
replaced
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 |