Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.
CTelephony error while disconnecting when the remote user terminates the call (Known Issue)
S60 3rd Edition FP2
TCallInfoV1::iExitCode, which returns the reason for the termination of a call, returns the value -42870002 while using CTelephony (Etel3rdparty) APIs when the remote user terminates the call.
When the CTelephony APIs are used to make and check the status of calls, TCallInfoV1::iExitCode returns the value -42870002 when the remote user terminates the call and when the line status is CTelephony::EStatusDisconnecting. The Etel Code here is KErrGeneral(-2) and the network code is KErrGsmCCNormalUnspecified(-4287). Therefore, the CTelephony APIs cannot be used to check whether the remote party has terminated the call, but EtelMM APIs can be used instead to check the status.
Use the EtelMM APIs to dial and check whether the remote party terminated the call.