sipvoipprovider/svphold/src/svpholdcontroller.cpp
branchRCL_3
changeset 20 65a3ef1d5bd0
parent 0 a4daefaec16c
equal deleted inserted replaced
18:8c9c07ad8b6b 20:65a3ef1d5bd0
     1 /*
     1 /*
     2 * Copyright (c) 2006-2008 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   369             {
   369             {
   370             // Second 491; hold/resume request failed
   370             // Second 491; hold/resume request failed
   371             iReinviteCrossover = EFalse;
   371             iReinviteCrossover = EFalse;
   372             iContext->CrossOver( EFalse );
   372             iContext->CrossOver( EFalse );
   373             }
   373             }
       
   374         }
       
   375     
       
   376     if ( 0 == aStatusCode && ESVPEstablishing == HoldState() )
       
   377         {
       
   378         SVPDEBUG1( "CSVPHoldController::RequestFailed - status 0 received" )
       
   379         
       
   380         iReinviteCrossover = EFalse;
       
   381         iContext->CrossOver( EFalse );
       
   382         
       
   383         SVPDEBUG1( "CSVPHoldController::RequestFailed - set status code 400" )
       
   384         aStatusCode = KSVPBadRequestVal;
   374         }
   385         }
   375 
   386 
   376     TInt err = KErrNone;
   387     TInt err = KErrNone;
   377     if ( iReinviteCrossover )
   388     if ( iReinviteCrossover )
   378         {
   389         {