Hi,
As per RFC 3323 Privacy Mechanism for SIP:
When a Privacy header is constructed, it MUST consist of either the
value 'none', or one or more of the values 'user', 'header' and
'session' (each of which MUST appear at most once) which MAY in turn
be followed by the 'critical' indicator.
So SIP message can have multiple priv-values in privacy header but the
combination of "none" with any other priv-value is invalid. So "none" and "id"
is not valid. Although , if present "none" should take preference over "id"
Thanks and Regards,
Vivek Talwar
________________________________________
From: [email protected]
[[email protected]] On Behalf Of Uttam Sarkar
(usarkar) [[email protected]]
Sent: Thursday, August 25, 2011 4:54 PM
To: prakash k; [email protected]
Subject: Re: [Sip-implementors] In case of Two Privacy Header or Privacy
Headerhaving two values
Looks like it's a conflict request from a UAC. One can have multiple
Privacy header in SIP message with value specified as "user", "session",
"header", "critical". When it specifies "none" then other values are
meaningless.
I think you can choose behavior of "none". That's my 2 cents.
Thanks,
none: The user requests that a privacy service apply no privacy
functions to this message, regardless of any pre-provisioned
profile for the user or default behavior of the service. User
agents can specify this option when they are forced to route a
message through a privacy service which will, if no Privacy header
is present, apply some privacy functions which the user does not
desire for this message. Intermediaries MUST NOT remove or alter
a Privacy header whose priv-value is 'none'. User agents MUST NOT
populate any other priv-values (including 'critical') in a Privacy
header that contains a value of 'none'.
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
prakash k
Sent: Thursday, August 25, 2011 6:54 AM
To: [email protected]
Subject: [Sip-implementors] In case of Two Privacy Header or Privacy
Headerhaving two values
Hi ,
Could anyone please clarify the what should be the behavior of SIP
Server ,
when it receives
Two Privacy Header
Privacy: none
Privacy: id
or
Privacy:none;id
which one should take preference.
Is it drafted anywhere in RFC.
--
Thanks
Prakash K
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
Please refer to http://www.frogdesign.com/disclaimer for important disclosures
regarding this electronic communication.
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors