Section 20.41 of RFC3261 stats that the "User-Agent" header contains information about the UAC originating the request.
According to the description, UAS can not insert its own info in the "User-Agent" header.
 
If the "User-Agent" header is present in a response, it should just copy the header contents from the request.
 
Generally, "Server" header is used to convey the info about the UAS in the responses.  Masashi, this should resolve your problem of conveying UAS information.
Have fun,
NC

[EMAIL PROTECTED] wrote:




Hi Masahi,
Option 2 would be recommended. The User-Agent
header in a SIP message always indicates the UAS that
originated it. I'm not certain though as to how many
UA's actually send User-Agent header in responses since
it's not mandatory for a UA to send this header in the
response.

Regards,
Subhash.





MasashiYamamoto
<[EMAIL PROTECTED]
o.jp> To
[EMAIL PROTECTED]
06/21/04 01:23 PM cc
[EMAIL PROTECTED],
[EMAIL PROTECTED]
a.edu
Subject
Re: [Sip-implementors] User-Agent
on UAS










Hi,Subhash

For instance,if User-Agent header appeared in Initial INVITE,
which response do you recommend when UAS make a response?
Furthermore, which is general behavior UAS will do?

1) UAS sets the Use! r-Agent header transparent;y which appeared in Initial
INVITE.
(It indicates information about UAC.)
2) UAS sets the User-Agent header UAS which indicates UAS itself.
(It indicates information about UAS.)
3) UAS delete the User-Agent header.

Thanks in advance,
Masashi Yamamoto

[EMAIL PROTECTED] wrote:

>
>
>
>
> The User-Agent header can be used both
> in requests and in responses. Table 3 of the
> RFC does not restrict this header to only
> requests (the "where" column is empty for this
> header). So you can insert the header even in
> responses to indicate the UAS originating the
> response.
>
> Subhash.
>
>
>
>

> MasashiYamamoto

> <[EMAIL PROTECTED]

> o.jp>
To
> Sent by: [EMAIL PROTECTED]

> sip-implementors-
cc
> [EMAIL PROTECTED]

> ia.edu
Subject
> [Sip-implementors] User-Agent on

> UAS

> 06/21/04 12:51 PM

>

>

>

>

>

>
>
>
>
> I'm trying to get about Information about UAs(UAC,UAS)
> (Including Software Version etc..)
>
> RFC3261(20.41) says
> The User-Agent header field contains information about the UAC
> originating the request.
>
> Mustn't responses (200 etc..) contain User-Agent header?
>
> Or how can the information about UAs(especially about UAS)
> be acquired?
>
> Thanks in advance,
> Masashi Yamamoto
>
>
> _______________________________________________
> Sip-implementors mailing list
> [EMAIL PROTECTED]
> http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
>
>




_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to