3 Jan 2008 05:47
4566 SDP grammar for phone-line
shweta kavishwar <shweta.kavishwar <at> gmail.com>
2008-01-03 04:47:44 GMT
2008-01-03 04:47:44 GMT
Hi,
Section 5.6 of RFC 4566 says:
" Phone numbers SHOULD be given in the form of an international public
telecommunication number (see ITU-T Recommendation E.164) preceded by
a "+". Spaces and hyphens may be used to split up a phone field to
aid readability if desired. For example:
p=+1 617 555-6011 "
However, according to the grammar specified in the RFC, the "+" is made
optional (refer quoted text below):
; sub-rules of 'p='
phone-number = phone *SP "(" 1*email-safe ")" /
1*email-safe "<" phone ">" /
phone
phone = ["+"] DIGIT 1*(SP / "-" / DIGIT)
The earlier implementation mandated the "+" for phone. The grammar is
therefore not in sync with the descriptive
text. How do i interpret this?
Rgds,
Shweta.
RSS Feed