Re: Error in contact header parsing?

"M. Ranganathan" <[email protected]>
Newsgroups gmane.comp.voip.nist-sip
Message-ID <[email protected]>
Jeroen,

Thanks for fixing it.  I will update java.net. If you have any other 
fixes or updates, do commit them. I'll leave you and I on as sole 
writers for some time and then we should freeze the nist repository and 
remove all access   so there is no confusion between the two 
repositories. Let me know when you are comfortable about doing that.


Regards

Ranga

Jeroen van Bemmel wrote:

> Sven,
>
> I tried to reproduce your finding with the latest JAIN NIST 1.2 source 
> in CVS. When I do
>
>   Header h = tiHeaderFactory.createHeader( "m", 
> "sip:[email protected]:1234;param1" );
>   System.err.println( h );
>
> I get "Contact: <sip:[email protected]:1234>;param1"
>
> So it looks like parameters are correctly assigned to the header, and 
> not the URI. However, I did find a bug in the representation of URI 
> flag parameters, which I fixed in CVS (but not on java.net yet)
>
> It may be that parsing of a Contact header received in a REGISTER 
> follows a different path through the code. Did you use the latest 1.2 
> code?
>
> Regards,
>
> Jeroen
>
> ----- Original Message ----- From: <[email protected]>
> To: <[email protected]>
> Sent: Wednesday, July 05, 2006 11:02 AM
> Subject: [nist-sip] Error in contact header parsing?
>
>
>>
>>
>>
>>
>> Hello,
>>
>> An SIP client sends in the Register message following contact header:
>>
>> m: sip:[email protected]:1234;param1 .
>>
>> After parsing the header looks like this:
>>
>> Contact: <sip:[email protected]:1234;param1> .
>>
>> The Nist SIP parser recognized the header value as a complete (SIP) URI
>> with a parameter. In my opinion the parameter is part of the contact
>> header.
>> Is this a bug from the SIP NIST parser?
>>
>> Thank you.
>>
>> Regards,
>>
>> Sven
>>
>> _______________________________________________
>> nist-sip mailing list
>> [email protected]
>> http://www-x.antd.nist.gov/mailman/listinfo/nist-sip 
>
>
> _______________________________________________
> nist-sip mailing list
> [email protected]
> http://www-x.antd.nist.gov/mailman/listinfo/nist-sip
>


-- 
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.