mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 20:18:09 +00:00
keep ringing in early media when declining one of many incoming calls if linphone_core_set_ring_during_incoming_early_media=true
This commit is contained in:
parent
84441343ad
commit
de154b5207
2 changed files with 2 additions and 2 deletions
|
|
@ -1016,7 +1016,7 @@ static void call_failure(SalOp *op){
|
|||
|
||||
/* Stop ringing */
|
||||
while(calls) {
|
||||
if (((LinphoneCall *)calls->data)->state == LinphoneCallIncomingReceived) {
|
||||
if (((LinphoneCall *)calls->data)->state == LinphoneCallIncomingReceived || (linphone_core_get_ring_during_incoming_early_media(lc) && ((LinphoneCall *)calls->data)->state == LinphoneCallIncomingEarlyMedia)) {
|
||||
stop_ringing = FALSE;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5260,7 +5260,7 @@ static void terminate_call(LinphoneCall *call) {
|
|||
|
||||
/* Stop ringing */
|
||||
while(calls) {
|
||||
if (((LinphoneCall *)calls->data)->state == LinphoneCallIncomingReceived) {
|
||||
if (((LinphoneCall *)calls->data)->state == LinphoneCallIncomingReceived || (linphone_core_get_ring_during_incoming_early_media(lc) && ((LinphoneCall *)calls->data)->state == LinphoneCallIncomingEarlyMedia)) {
|
||||
stop_ringing = FALSE;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue