Hello, I am not an expert about conferencing using SIP. But here is what I think about your problem:
unfortunately, I have no good news... it won't be easy to implement this RFC using a JSR-116 SIP Servlet API 1.0 container. The next version of the SIP Servlet API (JSR-289) will enable such modifications. But I don't know any JSR-289 implementation for the moment... In fact, I think that modifying the Contact header is prohibited in the SIP Servlet API in most cases because it is a quite low level modification. It is used for subsequent requests, and thus if a bad thing was introduced in this header, subsequent request could fail. To be honest, I think that JSR-116 was not really mature when it was released. For the exceptions on the ability to modify the Contact headers, the creators of this specification probably had an idea for registrars, but they gave no generic spefication that could be used for general purpose. If you really want to be compliant with RFC 4579, don't use a SIP Servlet API 1.0 container. A more flexible API would be more accurate. You can use exosip stack, it's written in C. You can find the documentation of this stack here: http://www.antisip.com/documentation/eXosip2/ You can also wait for JSR-289 compliant containers releases, but I'm not sure it will statisfy your needs. Regards, john Le lundi 02 avril 2007 à 11:14 -0700, Janakiraman N a écrit : > Hi John Williams, > > Thanks for your response!!! > > We are following the below mentioned RFC to develop Tightly Coupled > Conference. > RFC 4579 Call Control - Conferencing for User Agents > In this RFC, they mentioned that "isfocus" parameter should be placed > in 200 OK Contact header. > > Please provide your valuable suggestion on this. > > Thanks in advance. > > Regards, > Janakiraman > > ----- Original Message ---- > From: John Williams <[EMAIL PROTECTED]> > To: Janakiraman N <[EMAIL PROTECTED]> > Sent: Friday, March 30, 2007 9:23:40 PM > Subject: Re: [Sip-implementors] How to alter the CONTACT header in 200 > OK response? > > Hello, > > Contact is a system header, it means that you cannot modify it. > Contact > is a particular header because sometimes it is considered as a system > header and sometimes it is not. > In Sip servlet specification 1.0, in chapter 6.4.2, system headers are > described. It is said that Contact header is a system header when it > is > not : > - in a REGISTER request, > - in a REGISTER response, > - in a 3xx response, > - in a 485 response. > In your case you are trying to modify the Contact header in an INVITE > 200 response. As said previously, in this case, the Contact header is > considered as a system header. Thus you cannot modify it. I think you > should put your parameter elsewhere. > > Which RFC are you using ? if it is RFC4240, it is said in chapter 5 > that > the isfocus parameter is to be appended to the request-URI, not the > Contact header. > > Regards, > > john > > Le vendredi 30 mars 2007 à 06:04 -0700, Janakiraman N a écrit : > > Hi, I am new member of this group, In our concern we are > developing conference service which supports Tightly Coupled > Conference. We are using BEA Weblogic SIP server (WLSS) 2.2.0 and JSR > 116 standards for SIP Servlet. > > Following steps are for creation of conference. > > 1) Conference server shall receive INVITE request from > user. > > 2) Create 200 OK response message with: > > a) Unique Conference-Id > > b) Append "isfocus" parameter in Contact header field. > > 3) Finally, send 200 OK response to the user. > > We are facing a problem in step 2(b) while trying to > alter the contact header field. WLSS container does not allow adding > "isfocus" parameter in contact header. > > Is there any other SIP Server which support to add > "isfocus" parameter in Contact header? > > OR > > Any other way to send "isfocus" to the user? > > Please provide your valuable suggestion on this. > > Thanks in advance. > > Regards, > > Janakiraman > > > > > > > > > > --------------------------------- > > Finding fabulous fares is fun. > > Let Yahoo! FareChase search your favorite travel sites to find > flight and hotel bargains. > > _______________________________________________ > > Sip-implementors mailing list > > [email protected] > > https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors > > > > > > > ______________________________________________________________________ > Be a PS3 game guru. > Get your game face on with the latest PS3 news and previews at Yahoo! > Games. _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
