In general, SIP headers take the form:

extension-header  =  header-name HCOLON header-value
header-name       =  token
header-value      =  *(TEXT-UTF8char / UTF8-CONT / LWS)

So a header-value does not have to be present

So this means that the following headers are both valid:
Supported:<CR><LF>
Supported: 100rel<CR><LF>

But if you mean, is a '\0' character (or byte with value zero),
then the answer is no.

You can have a byte with value zero in the message body, of course
because the message body allows for binary data.

General binary data in a SIP message header is not allowed.
If you want to encode binary data you can do it using ""%" HEX HEX"
to escape any disallowed characters.

Regards,

Attila

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
atul garg
Sent: 05 March 2008 10:00
To: [email protected]
Subject: [Sip] Is null character allowed in any sip message header....

Hi,

Can a NuLL character allowed in any SIP message header's value...and if
so can any body provide the Lex expression to parse that string.

somethng like ...[^:](.|\n[' '|\t])*[^\r\n]

but the above expression does not support NULL.

Regards


      Get the freedom to save as many mails as you wish. To know how, go
to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html
_______________________________________________
Sip mailing list  https://www.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol Use
[EMAIL PROTECTED] for questions on current sip Use
[EMAIL PROTECTED] for new developments on the application of sip
_______________________________________________
Sip mailing list  https://www.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use [EMAIL PROTECTED] for questions on current sip
Use [EMAIL PROTECTED] for new developments on the application of sip

Reply via email to