Hello,

i m facing a proble regarding outgoing call disconnection. i m creating this object in container's ConstructL().
My incoming call trapping is runnig well and it displaying all messages like (phone ringing, call coming, and phone idle).
But when i m doing a outgoind call it only displaying "Dialing a Call ...".
1. I want call disconnection after this message either i dissconect is directly or after attending the call. but it is not displyaing message.
2. If two incoming calls received one after another it is working. but when i dialed second number it even not displaing the message "Dialing a Call...".

Please tell me the problem i m sending Part of my code.
and if u have any suggetion then please let me knnw.

Thank you in advance.


void CMyEngine::ConstructL()
{
SetConnection();
CActiveScheduler::Add(this);
Test();
}
void CMyEngine::RunL()
{
if(iStatus.Int()!=KErrNone)
return;

switch(iCallStatus)
{
case RCall::EStatusConnected:
CEikonEnv::Static()->AlertWin(_L("A Call coming..."));
break;
case RCall::EStatusHangingUp:
CEikonEnv::Static()->AlertWin(_L("Call Disconnected"));
break;
case RCall::EStatusDialling:
CEikonEnv::Static()->AlertWin(_L("Dialling a Call..."));
break;
case RCall::EStatusRinging:
CEikonEnv::Static()->AlertWin(_L("Phone Ringing"));
break;
case RCall::EStatusIdle:
CEikonEnv::Static()->AlertWin(_L("Phone is Idle..."));
break;
case RCall::EStatusUnknown:
CEikonEnv::Static()->AlertWin(_L("Unknown Status..."));
break;
default:
break;
}

Test();
}
void CMyEngine::Test()
{
iLine.NotifyStatusChange(iStatus,iCallStatus);

SetActive();
}