Re: [Sipping] draft-york-sipping-p-charge-info-12: ABNF

Brett Tate <brett@broadsoft.com> Wed, 30 November 2011 20:41 UTC

Return-Path: <brett@broadsoft.com>
X-Original-To: sipping@ietfa.amsl.com
Delivered-To: sipping@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6D10C21F84AC for <sipping@ietfa.amsl.com>; Wed, 30 Nov 2011 12:41:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tS39MLZHqjTU for <sipping@ietfa.amsl.com>; Wed, 30 Nov 2011 12:41:05 -0800 (PST)
Received: from smtpout01.partnerhosted.com (smtpout01.partnerhosted.com [173.225.22.202]) by ietfa.amsl.com (Postfix) with ESMTP id 01C1B11E80BF for <sipping@ietf.org>; Wed, 30 Nov 2011 12:41:05 -0800 (PST)
Received: from CASUMHUB02.citservers.local (172.16.98.58) by FW02.citservers.local (172.16.98.4) with Microsoft SMTP Server (TLS) id 8.3.213.0; Wed, 30 Nov 2011 12:43:29 -0800
Received: from EXMBXCLUS01.citservers.local ([fe80::a488:d1ec:a706:3a6d]) by CASUMHUB02.citservers.local ([::1]) with mapi; Wed, 30 Nov 2011 12:43:30 -0800
From: Brett Tate <brett@broadsoft.com>
To: "sipping@ietf.org" <sipping@ietf.org>
Date: Wed, 30 Nov 2011 12:41:03 -0800
Thread-Topic: [Sipping] draft-york-sipping-p-charge-info-12: ABNF
Thread-Index: AcyvBDCypA7TCWbjQrKBH53vLph7mAAk0HUg
Message-ID: <7FF1E5E16911C54BB2D57D4C4A2ED35A0C1267A3AE@EXMBXCLUS01.citservers.local>
References: <7FF1E5E16911C54BB2D57D4C4A2ED35A0C1267A0F5@EXMBXCLUS01.citservers.local> <E4BBC312-18FF-46AC-A076-7FC34A75DC47@danyork.org> <4ED58E19.9040100@alum.mit.edu>
In-Reply-To: <4ED58E19.9040100@alum.mit.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [Sipping] draft-york-sipping-p-charge-info-12: ABNF
X-BeenThere: sipping@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "SIPPING Working Group \(applications of SIP\)" <sipping.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sipping>, <mailto:sipping-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sipping>
List-Post: <mailto:sipping@ietf.org>
List-Help: <mailto:sipping-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sipping>, <mailto:sipping-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Nov 2011 20:41:05 -0000

> > In the ABNF section, "chargeparam" is intended to represent that you
> > could optionally have the "noa", "npi" parameters - or any other
> > generic parameters found in RFC 3261(such as "user=phone")
> 
> Including generic-param is a mechanism for making the syntax compatible
> with future enhancements. But allowing it syntactically doesn't specify
> how parameters that match generic-param are to be processed if the are
> present on this header. Typically you would specify in the draft that
> they should be ignored unless the behavior is defined by some other
> specification.

If charge-param remains within userinfo, generic-param should likely be changed to a more limited extention parameter since UTF8-NONASCII is not allowed within SIP-URI and tel URI because of escaping limitations.  RFC 3986 provides a mechanism for escaping UTF8-NONASCII within newer URI schemes.

RFC 3261:

generic-param  =  token [ EQUAL gen-value ]

gen-value      =  token / host / quoted-string

quoted-string  =  SWS DQUOTE *(qdtext / quoted-pair ) DQUOTE

qdtext     =  LWS / %x21 / %x23-5B / %x5D-7E / UTF8-NONASCII