Namespaces
Variants
Actions
Revision as of 13:52, 20 June 2012 by hamishwillee (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Archived:The CTelephony::Hangup() method should be used to terminate a call properly (Known Issue)

Jump to: navigation, search
Archived.png
Archived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Article Metadata

Tested with
Devices(s): Tested on: Nokia N95, N96

Compatibility
Platform(s): S60 3rd Edition FP1, FP2

Article
Keywords: CTelephony, DialNewCall
Created: User:Kbwiki (02 Nov 2009)
Last edited: hamishwillee (20 Jun 2012)

Description

The maximum number of phone calls that can be made using a CTelephony instance without calling the CTelephony::Hangup() method is 20. Any further calls will fail with the error KErrAccessDenied. This error occurs only when the calls are made by initialising a CTelephony object for making a call and deleting the object to end the call.

How to reproduce

  1. Make a call using the following code snippet:
     CTelephony iDialer = CTelephony::NewL();
    CTelephony::TTelNumber telNumber( aNumber );
    CTelephony::TCallParamsV1 iCallParams.iIdRestrict = CTelephony::ESendMyId;
    CTelephony::TCallParamsV1Pckg callParamsPckg( iCallParams );
    CTelephony::TCallId iCallId;
    iDialer->DialNewCall( iStatus, callParamsPckg, telNumber, iCallId );
    SetActive();
  2. End the call using the following code snippet:
     delete iDialer;
    iDialer = NULL;

Solution

The CTelephony::Hangup() method must be called to terminate the call.

179 page views in the last 30 days.
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