phoneengine/loghandling/src/cpeloghandling.cpp
changeset 21 92ab7f8d0eab
parent 0 5f000ab63145
child 51 f39ed5e045e0
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
   184     TInt errorCode( KErrArgument );
   184     TInt errorCode( KErrArgument );
   185     if ( CallIdCheck::IsVoice( aCallId ) || 
   185     if ( CallIdCheck::IsVoice( aCallId ) || 
   186          CallIdCheck::IsVideo( aCallId )
   186          CallIdCheck::IsVideo( aCallId )
   187        ) 
   187        ) 
   188         {
   188         {
   189 		CPELogInfo* logInfo( NULL );
   189         CPELogInfo* logInfo( NULL );
   190         TRAP( errorCode, logInfo = CPELogInfo::NewL(); );
   190         TRAP( errorCode, logInfo = CPELogInfo::NewL(); );
   191             
   191             
   192         if ( logInfo )
   192         if ( logInfo )
   193             {
   193             {
   194             // continue gathering log data
   194             // continue gathering log data
   195             
   195             
   196 		    // set phonenumber and/or voip address
   196             // set phonenumber and/or voip address
   197 			SetRemoteContact( aCallId, *logInfo );
   197             SetRemoteContact( aCallId, *logInfo );
   198             logInfo->SetEventData( aCallId, iDataStore ); 
   198             logInfo->SetEventData( aCallId, iDataStore ); 
   199             TRAP_IGNORE( 
   199             TRAP_IGNORE( 
   200                 // Contact link can be big, not critical for basic functionality.
   200                 // Contact link can be big, not critical for basic functionality.
   201                 if ( &iDataStore.ContactId( aCallId ) )
   201                 if ( &iDataStore.ContactId( aCallId ) )
   202                     {
   202                     {