forked from mirrors/linphone-iphone
Fix Decline/Missed call log
This commit is contained in:
parent
771cff4252
commit
14fc5446d0
1 changed files with 2 additions and 1 deletions
|
|
@ -489,9 +489,10 @@ void linphone_call_set_state(LinphoneCall *call, LinphoneCallState cstate, const
|
|||
call->state=cstate;
|
||||
}
|
||||
if (cstate==LinphoneCallEnd || cstate==LinphoneCallError){
|
||||
switch(call->reason){
|
||||
switch(call->reason){
|
||||
case LinphoneReasonDeclined:
|
||||
call->log->status=LinphoneCallDeclined;
|
||||
break;
|
||||
case LinphoneReasonNotAnswered:
|
||||
call->log->status=LinphoneCallMissed;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue