提交 58c3c3a0 authored 作者: Anthony Minessale's avatar Anthony Minessale

comment out optional Require header from re-invites for the sake of interop with…

comment out optional Require header from re-invites for the sake of interop with testy t.38 terminals
上级 dc9bf683
Wed Nov 2 08:58:40 CDT 2011
Tue Nov 22 18:16:53 CST 2011
......@@ -4486,14 +4486,13 @@ session_timer_add_headers(struct session_timer *t,
return 1;
sip_add_tl(msg, sip,
TAG_IF(expires != 0, SIPTAG_SESSION_EXPIRES(x)),
TAG_IF(min != 0
/* Min-SE: 0 is optional with initial INVITE */
|| !initial,
SIPTAG_MIN_SE(min_se)),
TAG_IF(refresher == nua_remote_refresher && expires != 0,
SIPTAG_REQUIRE_STR("timer")),
TAG_END());
TAG_IF(expires != 0, SIPTAG_SESSION_EXPIRES(x)),
TAG_IF(min != 0
/* Min-SE: 0 is optional with initial INVITE */
|| !initial,
SIPTAG_MIN_SE(min_se)),
//TAG_IF(refresher == nua_remote_refresher && expires != 0, SIPTAG_REQUIRE_STR("timer")),
TAG_END());
return 1;
}
......
......@@ -5412,3 +5412,4 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_sofia_shutdown)
* For VIM:
* vim:set softtabstop=4 shiftwidth=4 tabstop=4:
*/
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论