equal
deleted
inserted
replaced
1959 void CPEMessageHandler::HandleDialingStateL( |
1959 void CPEMessageHandler::HandleDialingStateL( |
1960 const TInt aCallId ) |
1960 const TInt aCallId ) |
1961 { |
1961 { |
1962 TEFLOGSTRING( KTAINT, "PE CPEMessageHandler::HandleDialingStateL <"); |
1962 TEFLOGSTRING( KTAINT, "PE CPEMessageHandler::HandleDialingStateL <"); |
1963 |
1963 |
1964 if( iCallHandling.GetNumberOfCalls() == 1 ) |
|
1965 { |
|
1966 // Check volume levels - zero level needs to be reset to default value |
|
1967 iGsmAudioData.SetDefaultVolume(); |
|
1968 } |
|
1969 // Save call direction to engine info. |
1964 // Save call direction to engine info. |
1970 iDataStore.SetCallDirection( RMobileCall::EMobileOriginated, aCallId ); |
1965 iDataStore.SetCallDirection( RMobileCall::EMobileOriginated, aCallId ); |
1971 |
1966 |
1972 // Log the call information. |
1967 // Log the call information. |
1973 User::LeaveIfError( HandleEngineInfo( aCallId ) ); |
1968 User::LeaveIfError( HandleEngineInfo( aCallId ) ); |
2018 "PE CPEMessageHandler::HandleIncomingCallL: Calling iGsmAudioData->PlayInbandTone() for call waiting tone"); |
2013 "PE CPEMessageHandler::HandleIncomingCallL: Calling iGsmAudioData->PlayInbandTone() for call waiting tone"); |
2019 iDataStore.SetInbandTone( ECCPCallWaiting ); |
2014 iDataStore.SetInbandTone( ECCPCallWaiting ); |
2020 iGsmAudioData.PlayInbandTone(); |
2015 iGsmAudioData.PlayInbandTone(); |
2021 iWaitingCallId = aCallId; |
2016 iWaitingCallId = aCallId; |
2022 } |
2017 } |
2023 else if( numberOfCalls == 1 ) |
2018 |
2024 { |
|
2025 // Check volume levels - zero level needs to be reset to default value |
|
2026 iGsmAudioData.SetDefaultVolume(); |
|
2027 } |
|
2028 if( AutomaticAnswer( aCallId ) ) |
2019 if( AutomaticAnswer( aCallId ) ) |
2029 { |
2020 { |
2030 TEFLOGSTRING( KTAINT, |
2021 TEFLOGSTRING( KTAINT, |
2031 "PE CPEMessageHandler::HandleIncomingCallL: iAutomaticAnswerTimer->StartTimer"); |
2022 "PE CPEMessageHandler::HandleIncomingCallL: iAutomaticAnswerTimer->StartTimer"); |
2032 iAutomaticAnswerTimer->StartTimer( KPEAutomaticAnswerTimeOut, MEngineMonitor::EPEMessageAnswer, aCallId ); |
2023 iAutomaticAnswerTimer->StartTimer( KPEAutomaticAnswerTimeOut, MEngineMonitor::EPEMessageAnswer, aCallId ); |