I think, may be there are some confusion in our understanding, Sorry for not posting proper description from my side.
There may be 5 cases for monitoring call:
1. Receive incoming call for some time.
2. Receive a call and end it immediate (duration approx 0 Sec).
3. Make an outgoing call.
4. Missed call.
5. Cut/Reject incoming call.
First 4 cases are working fine, and i m setting iIsConnected=ETrue; in CTelephony::EStatusConnected:
But when we disconnect the call for 5th case then control goes to :
it found missed call even if we have rejected incoming call.
//Set the call direction
//Failed: Set direction=missed call if user rejected the incoming call,
//else working fine.
if((callInfoPkg().iDuration.Int()==0) && (!iIsConnected))
iCallLogEntry->iCallDirection = CMyCallLogEntry::ECallMissed;
iCallLogEntry->iCallDirection = CMyCallLogEntry::ECallIn;
iCallLogEntry->iCallDirection = CMyCallLogEntry::ECallOut;
I hope this time I am able to describe my problem...