Archived:Dialing a voice call using AIW fails in Nokia N95 8GB (Known Issue)

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}}.

When a phone call is dialed using the AIW APIs, it fails with error code -6(KErrArgument).

Article Metadata
Tested with
Devices(s): Nokia N95 8GB
Platform(s): S60 3rd Edition, FP1
S60 3rd Edition FP1
Created: User:Technical writer 1 (11 Feb 2008)
Last edited: hamishwillee (07 Sep 2012)

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


The following code can be used to dial VoIP, video, or voice calls using the AIW API:

TAiwDialDataV1 data;
TAiwDialDataV1Pckg dataPckg( data );
// CallType can be Voice, VoIP, or Video
TAiwCallType callType(EAiwVoice);
data.SetCallType( callType );
TAiwNameBuffer name(_L("Callee"));
data.SetWindowGroup( CCoeEnv::Static()->RootWin().Identifier() );
TPtrC8 ptr;
ptr.Set( dataPckg );
TAiwVariant variant( ptr );
TAiwGenericParam param( EGenericParamCallDialDataV1, variant );
CAiwGenericParamList& paramList = serviceHandler->InParamListL();
paramList.AppendL( param );
//Make call
serviceHandler->ExecuteServiceCmdL( KAiwCmdCall, paramList, serviceHandler->OutParamListL() );

This works fine in S60 3rd Edition and S60 3rd Edition, FP1 devices, such as the Nokia N95, but ExecuteServiceCmdL fails with error code -6 KErrArgument in the Nokia N95 8GB.


Use the 3rd Party Telephony API or Phone Client Dial APIs (part of API Plug-in package) instead of AIW (part of API Plug-in package) in the N95 8GB. This issue is expected to be fixed in future releases of the N95 8GB.

This page was last modified on 7 September 2012, at 06:56.
54 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.