Re: PRACK handling

"Jeroen van Bemmel" <[email protected]>
Newsgroups gmane.comp.voip.nist-sip
Message-ID <006d01c66247$775f1d40$31713b51@BEMBUSTER>
Ranga,

I checked out the prack example and made the following changes:
- Shootme now sends a 200 OK response to PRACK
- Stack now no longer always copies all require headers from request to 
response, and from response to new request. Consequently, in Shootme 
'100rel' is added as Require header to the reliable response (it was 
appearing in 100 Trying and PRACK, now no more). Perhaps this adding should 
be done in 'sendReliableResponse' (instead of throwing an exception there)
- Defined 'RSeq' as response-only header (it was appearing in the PRACK, now 
no more)
- SIPDialog: no longer making exception for PRACK
- Timestamp header is now only copied into 100 response, as per RFC3261

Current stack code always copies Record-Route headers from the request into 
the response, you may want to change this (it should happen only in specific 
cases). I did not change it yet, since it might break things in places I am 
not aware of

Regards,

Jeroen

----- Original Message ----- 
From: "M. Rangnathan" <[email protected]>
To: "Jeroen van Bemmel" <[email protected]>
Cc: "sip mailing" <[email protected]>
Sent: Monday, April 17, 2006 5:57 PM
Subject: Re: PRACK handling


> Jeroen,
>
> I fixed this bug and have committed the changes and a revised example 
> (examples/prack)  to the CVS repository at NIST. Thanks again for pointing 
> it out. Great to get such quality feedback and help.
>
> Regards
>
> Ranga
>
> Jeroen van Bemmel wrote:
>
>> Ranga,
>>  I noticed that PRACK is handled similar to ACK in several places in the 
>> code (e.g. SIPClientTransaction line 405). This is not correct, PRACK is 
>> a non-INVITE transaction just like BYE. In particular, it makes no sense 
>> to use 'sendAck' also for PRACK, and the CT state should not be set to 
>> TERMINATED when PRACK is sent
>>  Regards,
>>  Jeroen
>
>
>
> -- 
> M. Ranganathan
> Advanced Networking Technologies Division,
> National Institute of Standards and Technology (NIST),
> 100 Bureau Drive, Stop 8920, Gaithersburg, MD 20899. tel:301 975 3664 , 
> fax:301 590 0932 http://w3.antd.nist.gov/
> Advanced Networking Technologies For the People!
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.