×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Apr 2006
    Location
    Romania, Cluj-Napoca
    Posts
    82

    Question CTelephony + DialNewCall error

    Hey!

    I have a strange problem using CTelephony:
    I make a call using CTelephony:ialNewCall
    The call is made, but no popup with the number and status is show (I am reffering to the one that is show in case of manually making a call)
    After the call ends, the RunL is called, and the status is -2 (KErrGeneral).
    Any hints?

    void CCallDialer::ConstructL(const TDesC& aNumber)
    {
    iTelephony = CTelephony::NewL();
    CTelephony::TTelNumber telNumber(aNumber);

    iCallParams.iIdRestrict = CTelephony::ESendMyId;

    iTelephony->DialNewCall(iStatus, iCallParamsPckg, telNumber, iCallId);
    SetActive();
    }


    void CCallDialer::RunL()
    {
    iObserver.CallDialedL(iStatus.Int());
    }


    CallDialedL is called with -2.....
    This means applications can make, so called, silent calls? Without the user can see it?
    If yes, it can has some very strange effects, like calling to numbers with special costs.....
    I am missing something?


    Br,
    Gr3go

    LE: i am testing on e52...
    Last edited by Gr3go; 2010-11-24 at 20:03.

  2. #2
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,035

    Re: CTelephony + DialNewCall error

    It happens soemtime while dialing a number, may be due to some devices being slower. May be this may help:

    http://discussion.forum.nokia.com/fo...t-KErrNoMemory

    follow post #8

  3. #3
    Regular Contributor
    Join Date
    Apr 2006
    Location
    Romania, Cluj-Napoca
    Posts
    82

    Re: CTelephony + DialNewCall error

    Hmmm,
    I'll give it a try....

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: CTelephony + DialNewCall error

    also the iIdRestrict could cause problems on some networks, where the service is actually a paid service, thus use the default one there instead.

Similar Threads

  1. Replies: 9
    Last Post: 2010-07-12, 13:25
  2. CTelephony::DialNewCall problem
    By gpalvia in forum Symbian
    Replies: 0
    Last Post: 2010-04-15, 14:41
  3. Help for CTelephony::DialNewCall()
    By priteshgajjar in forum Symbian Networking & Messaging (Closed)
    Replies: 5
    Last Post: 2009-04-23, 11:34
  4. Problem using CTelephony::DialNewCall.
    By seemaK in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2008-06-28, 14:19
  5. Issue with CTelephony::DialNewCall()
    By Catalytic in forum Symbian
    Replies: 3
    Last Post: 2007-10-14, 12:57

Posting Permissions

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