[sofia-sip] fix 183 received right after 200 (#67)
This commit is contained in:
parent
13dc7629d6
commit
9248aa05ec
|
@ -1 +1 @@
|
||||||
Fri Nov 08 08:54:20 CDT 2019
|
Wed Dec 11 15:38:35 MST 2019
|
||||||
|
|
|
@ -1040,6 +1040,10 @@ int nua_client_response(nua_client_request_t *cr,
|
||||||
if (cr->cr_restarting)
|
if (cr->cr_restarting)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
if (cr->cr_status == 200 && status < 200) { // ignore 183 follows 200
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
nua_client_request_ref(cr);
|
nua_client_request_ref(cr);
|
||||||
|
|
||||||
cr->cr_status = status;
|
cr->cr_status = status;
|
||||||
|
|
Loading…
Reference in New Issue