This tutorial describes how to retrieve the call supplementary services capability of a device.
A number of supplementary services for call management like call forwarding and call barring are available in both GSM and CDMA networks.
The high level steps to retrievecall supplementary services are shown here:
Possible services are described in the RMobilePhone::TMobilePhoneCallServiceCaps enum.
The following code gets the supplementary call services capabilities and checks if notification of status changes of any call forwarding service is supported. The code assumes iMobilePhone is an RMobilePhone object.
TUint32 csCaps; User::LeaveIfError(iMobilePhone.GetCallServiceCaps(csCaps)); if (csCaps & RMobilePhone::KCapsNotifyCFStatus) { //do something }
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.