Re: creating ACKS

"M. Ranganathan" <[email protected]> Sun, 11 Mar 2007 19:28:11 -0400
Newsgroups gmane.comp.voip.nist-sip
Organization NIST Advanced Networking Technologies Division
Message-ID <000801c76434$eefbb9e0$3ddc0681@RANGA>
Yes I agree. I will fix things up ( or you can submit a patch ). 

Ranga


----- Original Message ----- 
From: "Andrew T Gin" <[email protected]>
To: <[email protected]>
Sent: Sunday, March 11, 2007 6:40 PM
Subject: [nist-sip] creating ACKS


> Hi
> In the simple call setup example, Shootist.java creates the ack part of 
> the INVITE-OK-ACK sequence in the following way:
> 
> ackRequest = dialog.createRequest(Request.ACK);
> System.out.println("Sending ACK");
> dialog.sendAck(ackRequest);
> 
> However in the Javadocs, the entry for dialog.createRequest includes:
> "This method may not be used for creating PRACK or ACK. Implementations 
> should throw SipException if this method is called for creating ACK or 
> PRACK."
> 
> So perhaps the example should change to use createAck() instead to 
> represent a more 'correct' example?
> 
> Andrew
> _______________________________________________
> nist-sip mailing list
> [email protected]
> http://www-x.antd.nist.gov/mailman/listinfo/nist-sip
>