×
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)

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
Compatibility
Platform(s): S60 3rd Edition FP1, FP2
S60 3rd Edition FP2
S60 3rd Edition FP1
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.

This page was last modified on 20 June 2012, at 13:52.
45 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.

×