Pekka, I commented out the entire if-statement below, and now I see the 180 Ringing get transmitted with the "Require: 100rel" header.
Are there any side-effects/pitfalls to doing this? Best Regards, Jerry -----Original Message----- From: Jerry Richards [mailto:jer...@tonecommander.com] Sent: Friday, May 15, 2009 12:36 PM To: 'Pekka Pessi' Cc: 'sofia-sip-devel@lists.sourceforge.net' Subject: RE: [Sofia-sip-devel] "Require: 100rel" in 180 Ringing Message I think this is a bug, because RFC 3262 says a provisional response can contain a "Require: 100rel", even if the request original request only indicates "Supported: 100rel"). However, in the function nua_invite_server_respond(), the following if-statement causes the function to exit with return value of 0 or -1 (because reliable=1 and sr->sr_status=180), and nua_base_server_respond() does not get called. if (reliable && sr->sr_status < 200) { ... if (...) { return -1; } ... return 0; } Any suggestions on how to fix this? Best Regards, Jerry -----Original Message----- From: Pekka Pessi [mailto:ppe...@gmail.com] Sent: Friday, May 15, 2009 9:29 AM To: Jerry Richards Cc: sofia-sip-devel@lists.sourceforge.net Subject: Re: [Sofia-sip-devel] "Require: 100rel" in 180 Ringing Message 2009/5/15 Jerry Richards <jer...@tonecommander.com>: > If I invoke nua_respond(nh, 180, "Ringing", > SIPTAG_REQUIRE_STR("100rel")) alone, then sofia doesn't send out the 180 Ringing message at all. Does your client indicate that it supports 100rel? If not, then Sofia eats your 180. -- Pekka.Pessi mail at nokia.com ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel