Commit 4470dcf1 authored by Pekka Pessi's avatar Pekka Pessi

nua_session.c: if 100rel is not supported by nua, do not Require it in response

Ignore-this: 7af649ed7b063d3d90fc65d3643c4d39

Fixes SFSIP-125

parent f9a7ff3b
......@@ -2409,6 +2409,8 @@ int nua_invite_server_is_100rel(nua_server_request_t *sr, tagi_t const *tags)
if (require == NULL && supported == NULL)
return 0;
if (!sip_has_feature(NH_PGET(nh, supported), "100rel"))
return 0;
if (sip_has_feature(require, "100rel"))
return 1;
if (!sip_has_feature(supported, "100rel"))
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