2009/6/29 Jerry Richards <[email protected]>: > I noticed if I use SIPTAG_REQUIRE_STR("timer"), then the outbound INVITE > does NOT include a "Session-Expires" header. However, if I use > SIPTAG_SUPPORTED_STR("timer"), then the outbound INVITE does include a > "Session-Expires" header. Also by the way, in both cases I set > NUTAG_SESSION_TIMER(3600), NUTAG_MIN_SE(120), > NUTAG_SESSION_REFRESHER(nua_any_refresher), and NUTAG_UPDATE_REFRESH(0). > > Is this expected behavior? I would think sofia-sip would add the > "Session-Expires" header in both cases.
The session timers are hairy - this is as expected. The Require header is not considered when deciding if the "timer" feature is to be supported locally. RFC 4028 section 7.1 (UAC behavior): The Supported header field containing 'timer' MUST still be included, even if the Require or Proxy-Require header fields are present containing 'timer'. -- Pekka.Pessi mail at nokia.com ------------------------------------------------------------------------------ _______________________________________________ Sofia-sip-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
