Hi Friends,

I have a question on how to create a request over an existing
SipSession. This is not for subsequest requests, namely in-dialog requests.

For example, an INVITE request initiated from a Sip Servlet gets a 401
response for authentication. At this time, SipSession is already
created. According to JSR116 10.2.2.2, SipSession's state should
transition to "INITIAL" again and CSeq should increment by 1.

How should the Sip Servlet re-generate the INVITE request with
credential added? Which API should I use?

   * SipFactory.createRequest() - intended for new request creation
   * SipSession.createRequest() - intended for subsequent request
     creation (According to JSR116, subsequent request means the
     in-dialog request.)

Thanks!

Liujin

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to