RE: Reason Header parsing error
"Young-Geun Park" <[email protected]> Wed, 19 Nov 2008 19:44:29 +0900
| Newsgroups | gmane.comp.voip.nist-sip,gmane.comp.voip.jain-sip.user |
|---|---|
| Message-ID | <[email protected]> |
My previous email was not correct. Correct problem is as follows; In UAC side, a reason header is created by the JAIN stack is Reason: sip;text=cancel reason;cause=503 In UAS side, the reason header is parsed by the JAIN stack is Reason: sip;text=cancel, reason;cause=503 -----Original Message----- From: Jeroen van Bemmel [mailto:[email protected]] Sent: Wednesday, November 19, 2008 7:07 PM To: Young-Geun Park Cc: [email protected]; [email protected] Subject: Re: [nist-sip] Reason Header parsing error Park, See http://www.packetizer.com/rfc/rfc3326/ The syntax of the Reason header you are using is invalid, it should be Reason: SIP ;cause=503 ;text="cancel reason" However, the stack should generate a parsing error for the header you are using, and not break it up in 2 headers. So there is a bug Regards, Jeroen Young-Geun Park wrote: > > Hi, > > I think there is a problem when parsing a reason header with value > which has space. > > For example, uac sends a reason header like this; > > Reason: sip;cancel reason;503 > > The reason text has a space. > > However, uas receives the reason header and parsing in JAIN stack as > follows; > > Reason: sip;cancel > > Reason: reason;503 > > I think two reason headers were created because of space parsing error. > > is this bug? > > thanks for any comment in advance. > > Regards, > > Park > > ------------------------------------------------------------------------ > > _______________________________________________ > nist-sip mailing list > [email protected] > http://www-x.antd.nist.gov/mailman/listinfo/nist-sip >