Commit 3131fc4d authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Mark an incoming call as missed if it is cancelled with a Reason header containing cause=487.

parent 0d814b21
Pipeline #368 failed with stage
in 0 seconds
......@@ -104,6 +104,8 @@ void CallSessionPrivate::setState (CallSession::State newState, const string &me
int code = linphone_error_info_get_protocol_code(ei);
if ((code >= 200) && (code < 300))
log->status = LinphoneCallAcceptedElsewhere;
else if (code == 487)
log->status = LinphoneCallMissed;
}
}
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment