Revision as of 10:07, 14 June 2012 by hamishwillee (Talk | contribs)

Archived:Checking the type and status of an outgoing telephony call using Symbian C++

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
Platform(s): S60 3rd Edition
S60 3rd Edition, FP1
S60 3rd Edition FP1
S60 3rd Edition (initial release)
Created: User:Technical writer 2 (17 Aug 2007)
Last edited: hamishwillee (14 Jun 2012)


Checking the type and status of an outgoing telephony call


Using Publish & Subscribe keys it is possible to check the type of the outgoing call and also the call state. There are three PS keys which are used for attaching and getting the property values.
    const TUid    KPSUidTelephonyCallHandling = { 0x101f8787 };
    const TUint32 KTelephonyCallState         = 0x00000004;
    const TUint32 KTelephonyCallType          = 0x00000005;
To get the call type:
    RProperty iProperty;
    iProperty.Get(KPSUidTelephonyCallHandling, KTelephonyCallType, calltype);
Possible enumeration values for call type (TPSTelephonyCallType)
            EPSTelephonyCallTypeUninitialized = 0,
To get the call state information:
    iProperty.Get(KPSUidTelephonyCallHandling, KTelephonyCallState, callstate);
Possible enumeration values for call state (TPSTelephonyCallState)
            EPSTelephonyCallStateUninitialized = 0,
PS Keys for Call Status & Indicators API is not part of the official S60 SDK but can be found in the Extensions plug-in package for S60 3rd Edition SDK for Symbian OS, for C++, MR. Note that Nokia is not giving any binary compatibility promise for these APIs; neither between platform versions or within a platform version.

55 page views in the last 30 days.