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

darcs-hash:20090625172646-db55f-02b737a753296f3c4e94df4474bfb75a79513747.gz
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