Commit 1c3774e4 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

nua_session.c: fixed call state reporting from failed INVITE

If INVITE was returned a failure response, and session was being terminated
(like BYE was sent while INVITE transaction was on-going), Sofia reported
session as already terminated.

parent b2f62de2
......@@ -3932,6 +3932,8 @@ static void signal_call_state_change(nua_handle_t *nh,
ss->ss_state = next_state;
else if (ss->ss_state == nua_callstate_ready)
next_state = ss->ss_state;
else if (ss->ss_state == nua_callstate_terminating)
ss->ss_state = next_state = nua_callstate_terminated;
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