×

Discussion Board

Results 1 to 14 of 14
  1. #1
    Registered User
    Join Date
    Sep 2009
    Posts
    278

    Post problem with answering call on symbian belle

    Hi experts,
    I want to programatically answer to incoming call before giving any ring. I have built this application in 3rd edition and its working fine for 3rd,5th edition, symbian^3 and Anna os.
    But on symbian Belle its giving one ring and then its answering to call.
    Is their any specific class to quickly answer call on Belle?
    Please somebody help me.

    thanks in advance.

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: problem with answering call on symbian belle

    Can you check what processing you are doing when detecting the icoming call and before answering it ? Basically most oftne the problem has been the processing before actually answering.

  3. #3
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: problem with answering call on symbian belle

    No direct api, just try to improve the performance of you application. If you have any delay and logs etc before answering the call, remove that.

  4. #4
    Registered User
    Join Date
    Sep 2009
    Posts
    278

    Re: problem with answering call on symbian belle

    Thank you guys for replying.
    KKrish i have no process before answering call. Its working fine for all phones.
    Only issue is with Belle OS phones.

  5. #5
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: problem with answering call on symbian belle

    Might be belle OS device will be bit slow. which API you have used for answering the call?

  6. #6
    Registered User
    Join Date
    Sep 2009
    Posts
    278

    Re: problem with answering call on symbian belle

    I have used AnswerIncomingCall() from CTelephony class.

  7. #7
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: problem with answering call on symbian belle

    And before you call that, how do you detect the incoming call & that it should be answered ?

  8. #8
    Registered User
    Join Date
    Sep 2009
    Posts
    278

    Re: problem with answering call on symbian belle

    Using following lines i will get mobile number.
    User::LeaveIfError(iTelephony->GetCallInfo(callSelectionV1Pckg,callInfoV1Pckg, remotePartyInfoV1Pckg));
    aContactNo.Copy(remotePartyInfoV1Pckg().iRemoteNumber.iTelNumber);

    Then i call AnswerIncomingCall() from CTelephony to answer call.

  9. #9
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: problem with answering call on symbian belle

    Ok, so you do have processing there before answering the call, even though you said you dont have.

    So lets check the details strait first, please answer each one of these:

    1. what API are you using for detecting the incoming call ?
    2. how are you using the API for detecting the incoming call ?
    3. What are you doing after you detect the call & before you answer the call
    4. What API and how are you using it for answering the call

  10. #10
    Registered User
    Join Date
    Sep 2009
    Posts
    278

    Re: problem with answering call on symbian belle

    1. I am using CTelephony to detect incoming call.

    2. I am using it with Active Object so i am getting Linestatus change event in RunL().

    3. Once i am getting ringing status in RunL() using line
    iLineStatus.iStatus == CTelephony::EStatusRinging

    I am retrieving remote party number using
    User::LeaveIfError(iTelephony->GetCallInfo(callSelectionV1Pckg,callInfoV1Pckg, remotePartyInfoV1Pckg));
    aContactNo.Copy(remotePartyInfoV1Pckg().iRemoteNumber.iTelNumber);

    Then I am checking for that number so that i can answer that call using
    if(aContact.Find(numberToAnserCall) >=0)
    {
    4. here i am calling AnswerIncomingCall() to answer call.
    For this method i have created separate CTelephony class.
    }

    If i am removing all of above steps and i am trying to directly answer call then also i am facing same problem.

  11. #11
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: problem with answering call on symbian belle

    If you may be having elet api e.g. RMobilePhone, RMobileCall .. then you may can achieve this but API's are not public to use.

    rest I am not sure you can further improve the performance.
    Last edited by kkrish; 2012-04-04 at 10:47. Reason: typo

  12. #12
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: problem with answering call on symbian belle

    Ok, if there is only one number to check that should not take too much time indeed, so then only real additional processing there is the construction of the new answering class, maybe you could try using the same Active object you are using for line monitoring for answering as well.

  13. #13
    Registered User
    Join Date
    Sep 2009
    Posts
    278

    Re: problem with answering call on symbian belle

    Hi yucca i have tried with your suggestion that using single telephony for monitoring and answering call.
    But still its same problem of ring before answering call.
    Is there any other way or solution or any API to do this.


    Regards,
    Prashant.

  14. #14
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: problem with answering call on symbian belle

    I would not have any alternative suggestions for this issue.

Similar Threads

  1. how to call phone (Symbian Belle) apps and functions i.e.. dialer?
    By planetLars in forum [Archived] Beginning Qt
    Replies: 10
    Last Post: 2012-02-18, 21:00
  2. problem with nokia 701 symbian belle ...
    By super_rider in forum General Development Questions
    Replies: 1
    Last Post: 2011-11-04, 17:45
  3. Call Handling problem (Answering Call in Game)
    By Reapertr in forum Mobile Java General
    Replies: 4
    Last Post: 2011-02-03, 20:35
  4. Replies: 8
    Last Post: 2009-08-28, 05:16
  5. Problem in Answering Incoming call
    By apus29 in forum Symbian
    Replies: 9
    Last Post: 2009-04-16, 08:27

Posting Permissions

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