isParticipantCallEnded = pTelManager->HandleParticipantEndedFromConference(callEndNotification.id, endConfCall);
}
}
+ else
+ {
+ AppLog("TAPI Failed - %d", callBackResult);
+ }
//Check if participant call or Conference call was not found, then show error
if (isParticipantCallEnded == false)
__pActiveCallList->Remove(confCallHandle);
__pActiveCallList->Add(pActiveCall->GetCallHandle()->ToLong(), *pActiveCall);
pActiveCall = null;
- //using the callConnected to switch to single active screen
- //or update multiple active call screen
- IListT<AppCallInfo>* pActiveCallList = __pActiveCallList->GetValuesN();
- __pEventListener->HandleCallConnected(*pActiveCallList);
- delete pActiveCallList;
- pActiveCallList = null;
+
+ //Check if there is no incoming or dialing call exist, then only notify to change screen, Else ignore
+ if (IsIncomingorDialingCallPresent() == false)
+ {
+ //using the callConnected to switch to single active screen
+ //or update multiple active call screen
+ IListT<AppCallInfo>* pActiveCallList = __pActiveCallList->GetValuesN();
+ __pEventListener->HandleCallConnected(*pActiveCallList);
+ delete pActiveCallList;
+ pActiveCallList = null;
+ }
}
else
{
void
TelephonyManager::OnTelephonyNetworkStatusChanged(const NetworkStatus& networkStatus)
{
-
if(networkStatus.IsCallServiceAvailable() == false)
{
EndAllCalls();
}
}
+
+bool
+TelephonyManager::IsIncomingorDialingCallPresent(void)
+{
+ //returns false, if incoming call or dialed call is present.
+ return ((__pIncomingCall != null) || (__pDialedCall != null));
+}