| ID | KIS001476 | Creation date | November 2, 2009 |
| Platform | S60 3rd Edition FP1, FP2 | Devices | Tested on: Nokia N95, N96 |
| Category | Symbian C++ | Subcategory | Telephony |
| Keywords (APIs, classes, methods, functions): CTelephony, DialNewCall |
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.
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;
The CTelephony::Hangup() method must be called to terminate the call.
No related wiki articles found