Commit 93b07331 authored by Pekka Pessi's avatar Pekka Pessi

nua_session.c: do not clear soa when an overlapping INVITE is received

darcs-hash:20080104203122-65a35-6dadf5380d5e451e0125ed371c7571e343e9e1d8.gz
parent c43deb39
......@@ -2018,7 +2018,8 @@ int nua_invite_server_respond(nua_server_request_t *sr, tagi_t const *tags)
reliable = 1, early_answer = 1;
}
else if (!nh->nh_soa || sr->sr_status >= 300) {
if (sr->sr_neutral)
return nua_base_server_respond(sr, tags);
}
else if (tags && 100 < sr->sr_status && sr->sr_status < 200 &&
!NHP_ISSET(nh->nh_prefs, early_answer)) {
......
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