forked from mirrors/linphone-iphone
prevent receiving an incoming call when another is in the IncomingEarlyMedia state.
This commit is contained in:
parent
a21d7d863d
commit
b214e21ffe
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue