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

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: 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
Platform(s): S60 3rd Edition FP1, FP2
S60 3rd Edition FP2
S60 3rd Edition FP1
Keywords: CTelephony, DialNewCall
Created: User:Kbwiki (02 Nov 2009)
Last edited: hamishwillee (20 Jun 2012)


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 );
  2. End the call using the following code snippet:
     delete iDialer;
    iDialer = NULL;


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

This page was last modified on 20 June 2012, at 13:52.
51 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.