[SIPForum-discussion] Diversion Header Syntax
mustafa aydin
mustafaydin82 at yahoo.com
Thu Sep 8 11:53:05 UTC 2011
Hello,
Can someone tell if the format of the Diversion header below is an acceptable one, if so how can I prove it with RFCs?
<sip:xxxxxx at 84.44.72.6>;reason=unconditional;privacy=full;screen=no
My concern regarding this format is that if there must be quotes around the full and no values, because as per the RFC,the syntax is as below, but I found many implementations where there are no quotes around.
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)]
.
Thanks is in advance
Mustafa AYDIN
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20110908/60cc5cfb/attachment-0002.html>
More information about the discussion
mailing list