Re: [stir] stir-06: Reality check on numbers (6.1.1)

Paul Kyzivat <pkyzivat@alum.mit.edu> Fri, 11 December 2015 15:58 UTC

Return-Path: <pkyzivat@alum.mit.edu>
X-Original-To: stir@ietfa.amsl.com
Delivered-To: stir@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 650301B2B82 for <stir@ietfa.amsl.com>; Fri, 11 Dec 2015 07:58:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.664
X-Spam-Level:
X-Spam-Status: No, score=0.664 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_SOFTFAIL=0.665] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eMMG22kBs8yq for <stir@ietfa.amsl.com>; Fri, 11 Dec 2015 07:58:14 -0800 (PST)
Received: from resqmta-ch2-12v.sys.comcast.net (resqmta-ch2-12v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:44]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4E0691B2B81 for <stir@ietf.org>; Fri, 11 Dec 2015 07:58:14 -0800 (PST)
Received: from resomta-ch2-19v.sys.comcast.net ([69.252.207.115]) by resqmta-ch2-12v.sys.comcast.net with comcast id sFxn1r00B2VvR6D01FyDNL; Fri, 11 Dec 2015 15:58:13 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([73.218.51.154]) by resomta-ch2-19v.sys.comcast.net with comcast id sFyD1r00A3KdFy101FyDG0; Fri, 11 Dec 2015 15:58:13 +0000
To: stir@ietf.org
References: <9C95CF4B-88BD-4EFF-9076-E59CF165E22D@standardstrack.com>
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
Message-ID: <566AF294.6090001@alum.mit.edu>
Date: Fri, 11 Dec 2015 10:58:12 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
MIME-Version: 1.0
In-Reply-To: <9C95CF4B-88BD-4EFF-9076-E59CF165E22D@standardstrack.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1449849493; bh=nMLfFzrh8Kpp9YcRY0G+AazoiLR2RjY/4kY5Wp+xu8Y=; h=Received:Received:Subject:To:From:Message-ID:Date:MIME-Version: Content-Type; b=OEygg/QBZ3ZJ1uhUnOBqpjweAGg3nD+h4hhivLdRneRt8AxtwDoW+C5Dm9sEp0Toa Ea3ZW5XDwDPTEb4BesOXIe180hNzJEMGF/3og39lIKbpx6VaeSRnh+4KZrNByAdq5z 6c+lM0kKy/ldDzNZfEa+cahMSBPpG+XWX0TrmxMWIPAjuBvG6HYpfuQ05xPkn4CURI E15Vqt529CdjHmO5TppPSxi1Xa2zD9pKivo9fOi5kCtZBSv8/Npuqr8dz/37z3CnpK viZxKoiqqp88p1kzfq3nz1+w2+nu6nZxzJMRMu0zHm/VdiGossDhcI1Ik9+6sP5V9q vxwIZCWnMCG7A==
Archived-At: <http://mailarchive.ietf.org/arch/msg/stir/8kSX9CXVOeasrgi6SgRVV5HSkGU>
Subject: Re: [stir] stir-06: Reality check on numbers (6.1.1)
X-BeenThere: stir@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Secure Telephone Identity Revisited <stir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/stir>, <mailto:stir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/stir/>
List-Post: <mailto:stir@ietf.org>
List-Help: <mailto:stir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/stir>, <mailto:stir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Dec 2015 15:58:15 -0000

On 12/10/15 9:15 PM, Eric Burger wrote:
> Section 6.1.1 on Canonicalization states:
>        Once an implementation has identified a telephone number, it must
>        construct a number string.  Implementations MUST drop any leading
>        +'s, any internal dashes, parentheses or other non-numeric
>        characters, excepting only the leading "#" or "*" keys used in
>        some special service numbers (typically, these will appear only in
>        the To header field value).  This MUST result in an ASCII string
>        limited to "#", "*" and digits without whitespace or visual
>        separators.
>
> Survey time: does pound or star  EVER appear in a From field? E.164 does not allow it.

pound isn't allowed at all in a sip uri, except via escaping.

There is no mention of escaping (or unescaping) in the text. If there is 
the possibility of pound coming through then that is needed.

Also, * and # (as well as A-D) are never valid in global numbers, but 
are valid within local numbers not just first, but anywhere in the 
number. So why is there special treatment for a *leading* star or pound?

ISTM that canonicalization of dialstrings that represent local rather 
than global numbers is fraught with difficulty.

	Thanks,
	Paul