This tutorial describes how to set the mobile call parameters in the Multimode telephony API.
The call parameters are stored in a RMobileCall::TMobileCallParamsV1 class. This inherits from RCall::TCallParams, and adds these parameters:
a setting to restrict the display of call ID
the Closed User Group (CUG) setting to be used in the GSM and WCDMA modes.
CUG is a supplementary service that allows a user to dial a defined closed group of users. The CUG is used to save the cost of the call.
a flag to specifiy if the call attempt is initiatied by the user or an automatic redial
The following code sets the call parameter to restrict the display of the caller's ID, and dials the specified number.
void CClientApp::DialRestrictID(RMobileCall& aCall, const RCall::TTelNumberC& aTelNumber, TRequestStatus& aStatus) { RMobileCall::TMobileCallParamsV1 callParams; RMobileCall::TMobileCallParamsV1Pckg callParamsPckg(callParams); callParams.iIdRestrict = RMobileCall::EDontSendMyId; aCall.Dial(aStatus, callParamsPckg, aTelNumber); }
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.