×

Discussion Board

Results 1 to 2 of 2

Hybrid View

  1. #1
    Regular Contributor
    Join Date
    Jan 2005
    Posts
    63

    Can not trap Outgoing call disconnection

    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();
    }

  2. #2
    Regular Contributor
    Join Date
    Jul 2005
    Location
    Mumbai
    Posts
    55

    Hi

    I also want to trap an outgoing call ,if you find a solution do post it on the forum.

    --Jitendra

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •