This page was last modified 15:21, 20 February 2008.
KIS000819 - Dialing a voice call using AIW fails in Nokia N95 8GB
From Forum Nokia Wiki
| ID | KIS000819 | Creation date | February 11, 2008 |
| Platform | S60 3rd Edition, FP1 | Devices | Nokia N95 8GB |
| Category | Symbian C++ | Subcategory | Telephony |
| Note! |
|---|
|
Overview
When a phone call is dialed using the AIW APIs, it fails with error code -6(KErrArgument).
Description
The following code can be used to dial VoIP, video, or voice calls using the AIW API:
TAiwDialDataV1 data;
TAiwDialDataV1Pckg dataPckg( data );
data.SetTelephoneNumber(telNumber);
// CallType can be Voice, VoIP, or Video
TAiwCallType callType(EAiwVoice);
data.SetCallType( callType );
TAiwNameBuffer name(_L("Callee"));
data.SetName(name);
data.SetWindowGroup( CCoeEnv::Static()->RootWin().Identifier() );
data.SetShowNumber(ETrue);
data.SetRemoveInvalidChars(EFalse);
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.
Solution
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.
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help for Voice | fathy el3ashery | General Symbian C++ | 0 | 2005-07-20 16:40 |
| [OGL S60 3rd Edition] White surfaces on example box | Guruma | Symbian Media (Graphics & Sounds) | 5 | 2008-03-07 12:57 |
| APS 2.4 recording issue | raj_rr7 | VoIP | 1 | 2008-01-10 17:43 |
| Price list of N95 8GB in EU | tony.cro | General Discussion | 3 | 2008-05-12 21:13 |
| Voice call with nokia 30 | hnereu | Nokia M2M | 1 | 2002-09-06 08:56 |

