mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-18 11:38:08 +00:00
Fix regretion on DTMF."DTMF sequence canceled if call state changed"
This commit is contained in:
parent
566df1413d
commit
d490d30787
1 changed files with 7 additions and 7 deletions
|
|
@ -1285,12 +1285,6 @@ void linphone_call_set_state(LinphoneCall *call, LinphoneCallState cstate, const
|
|||
call->log->status=LinphoneCallSuccess;
|
||||
call->log->connected_date_time=time(NULL);
|
||||
break;
|
||||
case LinphoneCallStreamsRunning:
|
||||
if (call->dtmfs_timer!=NULL){
|
||||
/*cancelling DTMF sequence, if any*/
|
||||
linphone_call_cancel_dtmfs(call);
|
||||
}
|
||||
break;
|
||||
case LinphoneCallReleased:
|
||||
#ifdef ANDROID
|
||||
ms_message("Call [%p] releases wifi/multicast lock",call);
|
||||
|
|
@ -1300,7 +1294,13 @@ void linphone_call_set_state(LinphoneCall *call, LinphoneCallState cstate, const
|
|||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
if(cstate!=LinphoneCallStreamsRunning) {
|
||||
if (call->dtmfs_timer!=NULL){
|
||||
/*cancelling DTMF sequence, if any*/
|
||||
linphone_call_cancel_dtmfs(call);
|
||||
}
|
||||
}
|
||||
linphone_core_notify_call_state_changed(lc,call,cstate,message);
|
||||
linphone_reporting_call_state_updated(call);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue