[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sip] A simple query...



One additional comment here. I do appreciate that the example is probably confusing, since you would think that "v2" is a version, but its not. I've logged that into bugzilla.

-Jonathan R.


Jonathan Rosenberg wrote:
inline.

Nataraju A.B. wrote:

Hi,
Server = "Server" HCOLON server-val *(LWS server-val)
server-val = product / comment

product = token [SLASH product-version]

product-version = token

both product and product version are of type tokens.
if two tokes are in the input what should be considered. I mean product an dprod version OR two product values.
for ex : Server: *HomeServer HS v2*
in this case HS is prod version or product2.

Its a second product. Version requires a slash. As a result, the example in the SIP spec which you quoted would have v2 parse as a product, not a version. Thats fine. This field is only useful for display to humans or for string comparison, in which case it doesnt matter whether the "v2" is interpreted as a product version or a product.

-Jonathan R.


--
Jonathan D. Rosenberg, Ph.D.                72 Eagle Rock Ave.
Chief Scientist                             First Floor
dynamicsoft                                 East Hanover, NJ 07936
jdrosen@dynamicsoft.com                     FAX:   (973) 952-5050
http://www.jdrosen.net                      PHONE: (973) 952-5000
http://www.dynamicsoft.com

_______________________________________________
Sip mailing list  https://www1.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use sip-implementors@cs.columbia.edu for questions on current sip
Use sipping@ietf.org for new developments on the application of sip