callcontinuity/vcc/src/cvccperformer.cpp
branchRCL_3
changeset 15 ed1e38b404e5
parent 0 a4daefaec16c
child 16 6134b5029079
equal deleted inserted replaced
11:bddb6d4447db 15:ed1e38b404e5
   671     RUBY_DEBUG_BLOCK( "CVccPerformer::HandoverReady" );    
   671     RUBY_DEBUG_BLOCK( "CVccPerformer::HandoverReady" );    
   672 	iSecondaryCall = NULL;
   672 	iSecondaryCall = NULL;
   673     ActivateTrigger( ETrue );
   673     ActivateTrigger( ETrue );
   674     //get new service id for voip call and set it to parameters
   674     //get new service id for voip call and set it to parameters
   675     //this is used later for loading correct CTI plugins
   675     //this is used later for loading correct CTI plugins
   676     TInt id = KErrNotFound;
   676     TInt VoIPServiceId(KErrNotFound);
   677     TRAP( id, VccSettingsReader::VoIPServiceIdL() );
   677     TRAP_IGNORE( VoIPServiceId = VccSettingsReader::VoIPServiceIdL() );
   678     RUBY_DEBUG1( "CVccPerformer::HandoverReady() -- new Service Id: %d", id );    
   678     RUBY_DEBUG1( "CVccPerformer::HandoverReady() -- new Service Id: %d", VoIPServiceId );
   679     CCCPCallParameters* params = NULL;
   679     CCCPCallParameters* params = NULL;
   680     //TRAP_IGNORE( CCCPCallParameters::NewL() );
       
   681     TRAP_IGNORE( params = iPrimaryCall->Parameters().CloneL() );
   680     TRAP_IGNORE( params = iPrimaryCall->Parameters().CloneL() );
   682     params->SetServiceId( id );  //iServiceId = id;
   681     params->SetServiceId( VoIPServiceId );
   683     iPrimaryCall->SetParameters( *params );
   682     iPrimaryCall->SetParameters( *params );
   684     //inform through phone engine to phone about call bubble update needs
   683     //inform through phone engine to phone about call bubble update needs
   685     MCCPCallObserver::TCCPCallEvent event = 
   684     MCCPCallObserver::TCCPCallEvent event = 
   686                               MCCPCallObserver::ECCPNotifyRemotePartyInfoChange;
   685                               MCCPCallObserver::ECCPNotifyRemotePartyInfoChange;
   687     iCallObs->CallEventOccurred( event, this );
   686     iCallObs->CallEventOccurred( event, this );