On 2007.10.06 19:09, [EMAIL PROTECTED] wrote:
The linphone/linphonec application sends out a User-Agent: header that
does not conform to common internet practices.
Example:
CSeq: 1 REGISTER
Contact: <sip:[EMAIL PROTECTED]:5060>
Max-Forwards: 70
User-Agent: Linphone-1.7.1/eXosip
Problems:
- the version number should be separated by the program name with a
slash ('/')
- the agent and any subproducts which form a significant part of the
agent should be listed in order of their significance for
identifying the application
- the user-agent string should be user configurable
A more correct form of the header could be:
User-Agent: Linphone/1.7.1 eXosip/0.1
You should read RFC 3261. Especially section 25.1.
The EBNF entries for User-Agent are:
server-val = product / comment
product = token [SLASH product-version]
product-version = token
User-Agent = "User-Agent" HCOLON server-val *(LWS server-val)
So at best, the correct version would be
User-Agent: Linphone/1.7.1 (eXosip 0.1)
References:
- news article format, section 6.16
http://www.ietf.org/internet-drafts/draft-ietf-usefor-article-03.txt
- understanding User-Agent strings
http://msdn2.microsoft.com/en-us/library/ms537503.aspx
- email message headers & descriptions
http://stopspam.nettally.com/headers.asp
Thanks to all the developers for making such a great free
communication tool.
_______________________________________________
Linphone-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/linphone-users
--
Mark A. Flacy
_______________________________________________
Linphone-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/linphone-users