Commit 0e2c52e8 authored by Pekka Pessi's avatar Pekka Pessi

nua: do not Require: timer unless it is absolutely needed

parent ebf0f1c6
......@@ -4463,7 +4463,8 @@ session_timer_add_headers(struct session_timer *t,
/* Min-SE: 0 is optional with initial INVITE */
|| !initial,
SIPTAG_MIN_SE(min_se)),
TAG_IF(refresher == nua_remote_refresher && expires != 0,
TAG_IF(!t->local.supported &&
refresher == nua_remote_refresher && expires != 0,
SIPTAG_REQUIRE_STR("timer")),
TAG_END());
......
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