Hi
Please refer draft draft-levy-sip-diversion-08.txt for details regarding the
diversion header usage/syntax.
Path - http://tools.ietf.org/id/draft-levy-sip-diversion-08.txt
Section 5 of the above draft defines the syntax as
The syntax of the Diversion header is:
Diversion = "Diversion" ":" 1# (name-addr *( ";" diversion_params ))
diversion-params = diversion-reason | diversion-counter |
diversion-limit | diversion-privacy |
diversion-screen | diversion-extension
diversion-reason = "reason" "="
( "unknown" | "user-busy" | "no-answer" |
"unavailable" | "unconditional" |
"time-of-day" | "do-not-disturb" |
"deflection" | "follow-me" |
"out-of-service" | "away" |
token | quoted-string )
diversion-counter = "counter" "=" 1*2DIGIT
diversion-limit = "limit" "=" 1*2DIGIT
diversion-privacy = "privacy" "=" ( "full" | "name" |
"uri" | "off" | token | quoted-string )
diversion-screen = "screen" "=" ( "yes" | "no" | token |
quoted-string )
diversion-extension = token ["=" (token | quoted-string)]
Syntactically both of the below seems to be correct, and when receiving the SIP
message containing the header both formats should be supported.
However when sending the header would suggest to put reason=unconditional and
privacy="off" as mentioned in the examples given in the above draft.
regards
Abhishek Dhammawat
Arcient
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of ZEGELS
Walter
Sent: Tuesday, August 11, 2009 2:01 PM
To: [email protected]
Subject: [Sip-implementors] Question about format Diversion header
Hi,
Can someone tell which format of the Diversion header is the correct
one?
Diversion:<sip:[email protected];user=phone>
<sip:[email protected];user=phone>
;reason=unconditional;privacy=off;counter=1
Diversion:<sip:[email protected];user=phone>
<sip:[email protected];user=phone>
;reason="unconditional";privacy="off";counter=1
The question is about the quotes around the unconditional and the off
values.
Are they allowed or not?
Thanks for your help.
Kr,
Walter.
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
"DISCLAIMER: This message is proprietary to Aricent and is intended solely for
the use of the individual to whom it is addressed. It may contain privileged or
confidential information and should not be circulated or used for any purpose
other than for what it is intended. If you have received this message in
error,please notify the originator immediately. If you are not the intended
recipient, you are notified that you are strictly prohibited from using,
copying, altering, or disclosing the contents of this message. Aricent accepts
no responsibility for loss or damage arising from the use of the information
transmitted by this email including damage from virus."
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors