cellular/telephonysettings/src/PSetCallDivertingBasicImpl.cpp
changeset 15 d7fc66ccd6fb
parent 13 e32024264ebb
child 45 61f927bc9441
equal deleted inserted replaced
13:e32024264ebb 15:d7fc66ccd6fb
   102    if ( IsActive() )
   102    if ( IsActive() )
   103        {
   103        {
   104        User::Leave( KErrInUse );
   104        User::Leave( KErrInUse );
   105        }
   105        }
   106    iBsc = aBsc;
   106    iBsc = aBsc;
       
   107    iRequestedServiceGroup = aDivert.iServiceGroup;
   107    
   108    
   108    CPsetTelephony::CheckLineModeL( aDivert.iServiceGroup, &iPhone, iLine );
   109    CPsetTelephony::CheckLineModeL( aDivert.iServiceGroup, &iPhone, iLine );
   109    if ( !iLine->SubSessionHandle() )
   110    if ( !iLine->SubSessionHandle() )
   110        {
   111        {
   111        User::Leave( KErrBadHandle );
   112        User::Leave( KErrBadHandle );
   203            //Notify Observer            
   204            //Notify Observer            
   204            iDivertStatus.iStatus = PSetUtility::GetChangeInfoStatus( iChangeInfo.iAction );
   205            iDivertStatus.iStatus = PSetUtility::GetChangeInfoStatus( iChangeInfo.iAction );
   205            iDivertStatus.iNumber = iChangeInfo.iNumber.iTelNumber;
   206            iDivertStatus.iNumber = iChangeInfo.iNumber.iTelNumber;
   206            iDivertStatus.iCondition = PSetUtility::GetDivertReason(iReason);
   207            iDivertStatus.iCondition = PSetUtility::GetDivertReason(iReason);
   207            iDivertStatus.iNoReplyTimer = iChangeInfo.iTimeout;
   208            iDivertStatus.iNoReplyTimer = iChangeInfo.iTimeout;
       
   209            iDivertStatus.iServiceGroup = iRequestedServiceGroup;
       
   210            
   208             // Check is done because of VOIP notification functionality(PSetNotesUI).
   211             // Check is done because of VOIP notification functionality(PSetNotesUI).
   209            if ( iVoiceDivert && !iVideoDivert )
   212            if ( iVoiceDivert && !iVideoDivert )
   210                {
   213                {
   211                iDivertStatus.iServiceGroup = EServiceGroupVoice;
   214                iDivertStatus.iServiceGroup = EServiceGroupVoice;
   212                }
   215                }