Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Phone Client Dial API

From Wiki
Jump to: navigation, search
Article Metadata
Code ExampleArticle
Created: ltomuta (17 Jun 2007)
Last edited: hamishwillee (30 May 2013)

Note.pngNote: :This API is not part of the public SDK. It can be found in the SDK API Plug-in.


The main purpose of phone client dial API is to make a call which will be aware of the native phone application settings. It has been observed that when using the CTelephony class to make voice calls, the phone settings like setting “send my callerID” to “no” are not reflected in the call which is made, where as the calls made from phone client dial API will be aware of these phone settings.

Use cases

How to make a voice call using Phone client dial API?

To dial a string with pause characters

Example code

aNumber is a string containing the number including DTMF codes

The API needs resources loaded into CONE environment...

Nokia have not made the resource file API for this module public so you will need to roll your own

_LIT(KPhoneClientResourceFile, "z:\\resource\\PhoneClient.rsc");
TFileName resFile(KPhoneClientResourceFile);
BaflUtils::NearestLanguageFile(CCoeEnv::Static()->FsSession(), resFile);
TInt offset = CCoeEnv::Static()->AddResourceFileL(resFile);
TPhCltTelephoneNumber phoneNumber(aNumber);

As nokia have not made the API to remove invalid characters public you will need to roll your own code to remove the invalid characters

// Now set the fields
CPhCltDialer* dialer = CPhCltDialer::NewL();
TPhCltExtPhoneDialData& dialData = dialer->DialData();
// Now remove the resource file lock - NB could leak as noted above

Where to get the header files and libraries

SDK API Plug-in

VOIP Example



At least:
-Network Control  (Currently Manufacturer set!!!!)
-Network Services
-Read Device Data
-Read User Data
-Write Device Data
-Write User Data
-maybe more...
This page was last modified on 30 May 2013, at 04:35.
42 page views in the last 30 days.