From f211fc30d5fa097d2f30d88f8242736ba36ea54c Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Thu, 4 May 2017 17:19:07 +0200 Subject: [PATCH] only mark as missed incoming calls. --- coreapi/linphonecall.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c index 2d90b81e8..2aa0a76bf 100644 --- a/coreapi/linphonecall.c +++ b/coreapi/linphonecall.c @@ -1817,7 +1817,9 @@ void linphone_call_set_state(LinphoneCall *call, LinphoneCallState cstate, const call->log->status=LinphoneCallDeclined; break; case LinphoneReasonNotAnswered: - call->log->status=LinphoneCallMissed; + if (call->log->dir == LinphoneCallIncoming){ + call->log->status=LinphoneCallMissed; + } break; default: break;