equal
deleted
inserted
replaced
3007 if ( mediatorUpdater ) |
3007 if ( mediatorUpdater ) |
3008 { |
3008 { |
3009 mediatorUpdater->UpdateRemotePartyInfo(); |
3009 mediatorUpdater->UpdateRemotePartyInfo(); |
3010 } |
3010 } |
3011 } |
3011 } |
3012 |
3012 |
|
3013 // ----------------------------------------------------------------------------- |
|
3014 // CPEMessageHandler::AddSIMRejectedMoCsCallToLog |
|
3015 // ----------------------------------------------------------------------------- |
|
3016 // |
|
3017 TInt CPEMessageHandler::AddSIMRejectedMoCsCallToLog( const TInt aCallId ) |
|
3018 { |
|
3019 TInt errorCode( ECCPErrorGeneral ); |
|
3020 |
|
3021 errorCode = iCallHandling.GetCallInfo( *iCallInfo, aCallId ); |
|
3022 |
|
3023 if ( errorCode == ECCPErrorNone ) |
|
3024 { |
|
3025 TPEState callState; |
|
3026 callState = iCallHandling.GetCallState( aCallId ); |
|
3027 TPECallType callType; |
|
3028 callType = iDataStore.CallType( aCallId ); |
|
3029 |
|
3030 errorCode = ECCPErrorNotFound; |
|
3031 |
|
3032 if ( EPEStateIdle == callState |
|
3033 && EPECallTypeCSVoice == callType ) |
|
3034 { |
|
3035 SetPhoneNumberForCallLogging( aCallId ); |
|
3036 |
|
3037 errorCode = UpdateClientInfo( aCallId ); |
|
3038 |
|
3039 // Calls have to log also without a contact (ECCPErrorNotFound). |
|
3040 if ( errorCode == ECCPErrorNone || errorCode == ECCPErrorNotFound ) |
|
3041 { |
|
3042 // Save the rest of information to EngineInfo. |
|
3043 SetLoggingInfo( aCallId, callState ); |
|
3044 errorCode = iLogHandling.SaveCallEntry( aCallId ); |
|
3045 } |
|
3046 } |
|
3047 } |
|
3048 return errorCode; |
|
3049 } |
3013 // End of File |
3050 // End of File |