> -----Original Message-----
> From: Martin Préfontaine [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 26, 2001 3:49 PM
> To: '[EMAIL PROTECTED]'
> Subject: [Sip-implementors] (no subject)
>
>
> Hi everybody,
>
> I'm developping a Proxy server using a 3rd party SIP stack.
>
> I have been testing it using a SIP SoftPhone.
>
> When sending requests the Softphone always add the User-Agent
> header with
> its product name inside.
>
> The problem arise when it is sending a response. Iit also include the
> User-Agent header. The Stack I am using doesn't
> like it and returns an invalid parameter error when parsing
> this response.
>
> I'd like to know if the softphone is violating the protocol
> by inserting the
> User-Agent header in a response or is the
> SIP Stack overreacting?
The User-Agent header is defined in rfc2543 as a general header, which means
it can appear in a request or response. However, even if it were a request
only header, parsers and UAs are advised to be forgiving, especially they
should not complain about things that they will ignore anyway.
-Jonathan R.
---
Jonathan D. Rosenberg 72 Eagle Rock Ave.
Chief Scientist First Floor
dynamicsoft East Hanover, NJ 07936
[EMAIL PROTECTED] FAX: (973) 952-5050
http://www.cs.columbia.edu/~jdrosen PHONE: (973) 952-5000
http://www.dynamicsoft.com
_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors