Commit 5eb72958 authored by Pekka Pessi's avatar Pekka Pessi

nua_session.c: using 100rel in responses by default if precondition is required

darcs-hash:20060524133257-65a35-07b2c3147c2fa5bb1d3d7742e47f73addffcb8d5.gz
parent 66346837
......@@ -1045,7 +1045,9 @@ void respond_to_invite(nua_t *nua, nua_handle_t *nh,
ds->ds_remote_ua->nr_require &&
sip_has_feature(ds->ds_remote_ua->nr_require, "100rel"))
|| (status > 100 && !NH_PGET(nh, only183_100rel) &&
NH_PGET(nh, early_media) &&
(NH_PGET(nh, early_media) ||
(ds->ds_remote_ua->nr_require &&
sip_has_feature(ds->ds_remote_ua->nr_require, "precondition"))) &&
ds->ds_remote_ua->nr_supported &&
sip_has_feature(ds->ds_remote_ua->nr_supported, "100rel"))
|| (status == 183 &&
......
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