[SIPForum-discussion] Diversion Header Syntax

mustafa aydin mustafaydin82 at yahoo.com
Fri Sep 9 12:33:19 UTC 2011

Hi Caglar,
I agree that they are not mandatory, but I can't prove it by RFCs.

From: caglar er <beratcaglar at yahoo.com>
To: mustafa aydin <mustafaydin82 at yahoo.com>; "discussion at sipforum.org" <discussion at sipforum.org>
Sent: Friday, September 9, 2011 3:06 PM
Subject: Re: [SIPForum-discussion] Diversion Header Syntax

I dont think they are mandatory. Most SIP Servers can be able to handle them and generate without quatas. For ex Nortel-Genband SIP devices are also can be able to handle them wıthout quoatas 

B. Caglar ER

From: mustafa aydin <mustafaydin82 at yahoo.com>
To: "discussion at sipforum.org" <discussion at sipforum.org>
Sent: Thursday, September 8, 2011 2:53 PM
Subject: [SIPForum-discussion] Diversion Header Syntax

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>;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

This is the SIP Forum discussion mailing list
TO UNSUBSCRIBE, or edit your delivery options, please visit http://sipforum.org/mailman/listinfo/discussion
Post to the list at discussion at sipforum.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20110909/85e00d5c/attachment-0002.html>

More information about the discussion mailing list