From b214e21ffe8af08a57f983acad9100ded900f6f8 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Tue, 1 Jul 2014 22:49:51 +0200 Subject: [PATCH] prevent receiving an incoming call when another is in the IncomingEarlyMedia state. --- coreapi/callbacks.c | 1 + 1 file changed, 1 insertion(+) diff --git a/coreapi/callbacks.c b/coreapi/callbacks.c index 121291a00..c64a5d7e3 100644 --- a/coreapi/callbacks.c +++ b/coreapi/callbacks.c @@ -220,6 +220,7 @@ static bool_t already_a_call_pending(LinphoneCore *lc){ for(elem=lc->calls;elem!=NULL;elem=elem->next){ LinphoneCall *call=(LinphoneCall*)elem->data; if (call->state==LinphoneCallIncomingReceived + || call->state==LinphoneCallIncomingEarlyMedia || call->state==LinphoneCallOutgoingInit || call->state==LinphoneCallOutgoingProgress || call->state==LinphoneCallOutgoingEarlyMedia