Hi,
i have written this piece of code and it working fine , i can capture teh event on call ringing, but now i want to cancel the incoming call before hanging it . so please some one help me.
void CCallMonitor::RunL()
{
if( iLineStatus.iStatus == CTelephony::EStatusRinging ) // {
if(iLineStatus.iStatus != CTelephony::EStatusDialling)
{
if(DALExecutor::IsRestrictedTime())
{
Cancel();
}
}
}
}
while i written following code in DoCancel()
void CCallMonitor:oCancel()
{
iTelephony->CancelAsync( CTelephony::EVoiceLineStatusChangeCancel );
}
please help me
thanx in advance.

oCancel()





