Re: [sip-clf] draft-ietf-sipclf-format-01, optional fields

Gonzalo Salgueiro <gsalguei@cisco.com> Wed, 16 March 2011 17:07 UTC

Return-Path: <gsalguei@cisco.com>
X-Original-To: sip-clf@core3.amsl.com
Delivered-To: sip-clf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BEC893A69E6 for <sip-clf@core3.amsl.com>; Wed, 16 Mar 2011 10:07:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.469
X-Spam-Level:
X-Spam-Status: No, score=-10.469 tagged_above=-999 required=5 tests=[AWL=0.129, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id elA7EAwB1f45 for <sip-clf@core3.amsl.com>; Wed, 16 Mar 2011 10:07:12 -0700 (PDT)
Received: from av-tac-rtp.cisco.com (hen.cisco.com [64.102.19.198]) by core3.amsl.com (Postfix) with ESMTP id 9B6EF3A6941 for <sip-clf@ietf.org>; Wed, 16 Mar 2011 10:07:12 -0700 (PDT)
X-TACSUNS: Virus Scanned
Received: from rooster.cisco.com (localhost.cisco.com [127.0.0.1]) by av-tac-rtp.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id p2GH8c7G015919; Wed, 16 Mar 2011 13:08:38 -0400 (EDT)
Received: from dhcp-64-102-211-8.cisco.com (dhcp-64-102-211-8.cisco.com [64.102.211.8]) by rooster.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id p2GH8bph020394; Wed, 16 Mar 2011 13:08:37 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1082)
Content-Type: multipart/alternative; boundary="Apple-Mail-40--134429490"
From: Gonzalo Salgueiro <gsalguei@cisco.com>
In-Reply-To: <AANLkTinQA6Ve2GQo1BpwRtgZaci7SXpOMhr4cmv6t_fG@mail.gmail.com>
Date: Wed, 16 Mar 2011 13:08:37 -0400
Message-Id: <44188993-8A2D-486A-9DAC-9F155CAD0957@cisco.com>
References: <AANLkTinQA6Ve2GQo1BpwRtgZaci7SXpOMhr4cmv6t_fG@mail.gmail.com>
To: Anders Nygren <anders.nygren@gmail.com>
X-Mailer: Apple Mail (2.1082)
Cc: "sip-clf@ietf.org Mailing" <sip-clf@ietf.org>
Subject: Re: [sip-clf] draft-ietf-sipclf-format-01, optional fields
X-BeenThere: sip-clf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SIP Common Log File format discussion list <sip-clf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sip-clf>, <mailto:sip-clf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sip-clf>
List-Post: <mailto:sip-clf@ietf.org>
List-Help: <mailto:sip-clf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sip-clf>, <mailto:sip-clf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Mar 2011 17:07:13 -0000

Inline...

On Mar 16, 2011, at 12:32 PM, Anders Nygren wrote:

> Hi
> I hope this is the last from me for this version.
> 
> In the descriptions of the optional fields I think that there some things
> that should be clarified.
> 
> - Can the optional fields be in any order, or do they have to be sorted
> by increasing tag values?

They can be specified in any order, though I suppose most people would logically do it based on increasing tag number (assuming pre-defined optional field). Do you think this should be further restricted so that implementers MUST implement the pre-defined optional fields in ascending tag number order?
> 
> - If an optional field represents a SIP header, e.g. Contact, can appear
> several times in a SIP message how are they logged, as several optional
> fields with the same tag, or does the all the Contact headers have to be
> concatenated in the value of one optional field. (I think that draft-00
> explicitly stated that the contact optional field could be repeated, but that
> seems to have disappeared in draft-01.)
> 
This bit of text from -00 was removed as this is one of the areas requiring further discussion. For the Contact header (tag =0x0000) " the text in -00 states "(can be repeated)" but this is unclear as to whether this is logged as a single optional field entry with multiple instances of the Contact header in the Value field or as multiple entries (i.e. one for each Contact) with the same 0x0000 tag. I'm not sure which is better. This is something I hope to have more clarity on coming out of Prague, but maybe we can get a few folks to weigh in on this here on the alias.
 

> -If an optional field can be present several times, do they have to be adjacent
> or can they be mixed with other optional fields?

This obviously depends upon what we decide for the above issue as far as whether we allow more more than one optional field entry with the same tag number, but there are no restrictions on this now. Do you have a preference.
> 
> - figure 1 shows that the optional fields are before the vendor extensions.
> If we have the same format for standard optional fields and vendor extensions
> is it still a requirement that they be separate, or can they be mixed.

I don't want to speculate on where the conversations in Prague will lead us, but I would think we should stick with laying out the pre-defined optional elements first and the vendor-specified elements next.

Regards,

Gonzalo

> 
> /Anders
> _______________________________________________
> sip-clf mailing list
> sip-clf@ietf.org
> https://www.ietf.org/mailman/listinfo/sip-clf