Archived:The CTelephony::Hangup() method should be used to terminate a call properly (Known Issue)
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
- 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();
-
- End the call using the following code snippet:
-
delete iDialer;
iDialer = NULL;
-
Solution
The CTelephony::Hangup() method must be called to terminate the call.


(no comments yet)