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:[email protected]]
Sent: Friday, May 15, 2009 9:29 AM
To: Jerry Richards
Cc: [email protected]
Subject: Re: [Sofia-sip-devel] "Require: 100rel" in 180 Ringing Message
2009/5/15 Jerry Richards <[email protected]>:
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel