Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor Blkangel's Avatar
    Join Date
    Aug 2003
    Posts
    86
    From my reading of the forums I have seen a lot of people asking about how to make a call and stuff. But i couldn't find an answer to my problem. I would like to have the ability to sort of watch if the user is calling someone (making an outgoing call) the thing is is there some class or API that monitors the lines. I know that i will connect RTelServer but after that RLine is what i will be watching but i am not trying to create a line i want to see if the user makes an outgoing call. So the instance of RLine is not created within my domain so how can i watch whether the user is making an outgoing call or not.

  2. #2
    Registered User awasthi_vivek's Avatar
    Join Date
    Oct 2003
    Posts
    30
    Hi,

    if I understood ur question i think u can do this...

    After u connect to RTelServer...Open the Phone Line and can use the NotifyCallAdded() or NotifyStatusChange() Method of RLine Class...

    Vivek.

  3. #3
    Registered User cars2003's Avatar
    Join Date
    Jul 2003
    Posts
    37
    Hi,
    I'm interesting in this topic too. I tried to build an app that can detect outgoing call. As Vivek wrote, I used NotifyCallAdded() to detect outgoing call. I can work. But when I try to close the outgoing call event, my app hang. I tried use DialCancel() method to close outgoing call. I had try to use HangUp() method too, but it can't solve the problem. Does anyone could help me? To Blkangel, have you found the answer?
    This is how I reject the outgoing call:

    // There's an outgoing call!
    iCallActive = ETrue;
    iCall.OpenNewCall(iLine, iName);
    /*
    _LIT(MyNum1, "outgoing");
    CAknInformationNote *notify=new (ELeave) CAknInformationNote;
    notify->ExecuteLD(MyNum1);*/

    iCall.DialCancel ();
    // I have try to use HangUp() too
    // iCall.HangUp();
    iCall.NotifyStatusChange(iStatus, iCallStatus);

  4. #4
    Registered User MuSymbian's Avatar
    Join Date
    May 2004
    Posts
    39
    cars


    I think you might need a call to OpenExistingCall() not new call

    new call is to use when you are going to use Dial()

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved