To the best of my knowledge As per the grammar defined in
"draft-levy-sip-diversion-08" both would be correct.
Even though the tag names 'unconditional' and 'off' is uniquely
defined, One can argue that the quoted ones fall under the quoted-string
part. I would support both for the shake of inter-op with other devices.
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-privacy = "privacy" "=" ( "full" | "name" |
"uri" | "off" | token | quoted-string )
Best Regards,
Indresh K Singh
>>-----Original Message-----
>>From: [email protected]
>>[mailto:[email protected]] On
>>Behalf Of ext ZEGELS Walter
>>Sent: Tuesday, August 11, 2009 4:31 AM
>>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
>>
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors