CTelephony error while disconnecting when the remote user terminates the call (Known Issue)
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.