Hello, So are you saying a bug was fixed in which version? Also, I noticed if I set SIPTAG_UNSUPPORTED_STR("timer, 100rel") in the nua_handle() call just prior to nua_invite() (or nua_register()), the outgoing INVITE (or REGISTER) message has both "Supported: timer, 100rel" and "Unsupported: timer, 100rel".
Jerry -----Original Message----- From: Pekka Pessi [mailto:[EMAIL PROTECTED] Sent: Monday, February 25, 2008 7:01 AM To: Jerry Richards Cc: sofia-sip-devel@lists.sourceforge.net Subject: Re: [Sofia-sip-devel] Supported and Required Headers 2008/2/21, Jerry Richards <[EMAIL PROTECTED]>: > Is the sofia-sip default set to "Supported: timer 100rel"? I don't > think I specify this, but the stack is including this header in > outgoing INVITE messages. Yes, that is the default. > Also, if I want to control this header (and also use the "Required: > timer, 100rel, ..." header), then do you agree I should use the following tags: > > - SIPTAG_SUPPORTED_STR("timer, 100rel") > - SIPTAG_UNSUPPORTED_STR("timer, 100rel") > - SIPTAG_REQUIRE_STR("timer, 100rel") > - NUTAG_SESSION_TIMER(3600) You should use SIPTAG_REQUIRE_STR("timer, 100rel"), NUTAG_SESSION_TIMER(3600) > Also, would I only specify these when calling nua_invite()? That depends. I guess you should set NUTAG_SESSION_TIMER(3600) nua-wide, but you can use SIPTAG_REQUIRE_STR("timer, 100rel") only with nua_invite() (and SIPTAG_UNSUPPORTED_STR() only with nua_respond()). In other words, they are ignored with nua_set_params() or nua_set_hparams(). I guess that is what you meant that they "do not work". A feature tag in Require header implies that it is Supported, but the feature tags listed with SIPTAG_REQUIRE or SIPTAG_REQUIRE_STR are not added to the list of Supported features stored in the handle. I guess this could be considered as a bug and fixed... -- Pekka.Pessi mail at nokia.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel