Re: [sip-overload] AD review of draft-ietf-soc-load-control-event-package-08

Charles Shen <charles@cs.columbia.edu> Sun, 23 June 2013 04:50 UTC

Return-Path: <charles.newyork@gmail.com>
X-Original-To: sip-overload@ietfa.amsl.com
Delivered-To: sip-overload@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9D06621E8091 for <sip-overload@ietfa.amsl.com>; Sat, 22 Jun 2013 21:50:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level:
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
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 lvMQX3lPQQu5 for <sip-overload@ietfa.amsl.com>; Sat, 22 Jun 2013 21:50:41 -0700 (PDT)
Received: from mail-ob0-x233.google.com (mail-ob0-x233.google.com [IPv6:2607:f8b0:4003:c01::233]) by ietfa.amsl.com (Postfix) with ESMTP id AFDD121E808C for <sip-overload@ietf.org>; Sat, 22 Jun 2013 21:50:40 -0700 (PDT)
Received: by mail-ob0-f179.google.com with SMTP id xk17so9696570obc.24 for <sip-overload@ietf.org>; Sat, 22 Jun 2013 21:50:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=KDvmvL7hYY/OFjQXtkA1tFSyNHERBT6cxuYAB2EO2io=; b=RSkLogrBbnWD4XLSBKI2urKzPSBbGbe1I9xweMREqbbjKAVgEvhZFxOkPKCh1MPquY /9oA3HUenehZqK3c3AdFqUUjsZrROiTiTdnLsF/FPrNd6BzM4Bn13WHnrML2kTMVA+4z 0JMDRQhaxLx+eN2DycAZ/r8wO6OTioLLVJuWputvbxPMjIl3i353ZePGcHqrp9FsoH67 ymTPw8IE2tFLu5flmCJzsfSLmc8+TEclRKl3KwsOaOyUnkXhxdig56S+mHQPDdW5kY7n Qwxv4X6A1a2HNfoglx4Z9GsImLnNEgtNUa1UGNIskcMaxZRZss8BJLgfqAEYmbEbryan 1PNg==
X-Received: by 10.60.130.137 with SMTP id oe9mr6801610oeb.18.1371963037798; Sat, 22 Jun 2013 21:50:37 -0700 (PDT)
MIME-Version: 1.0
Sender: charles.newyork@gmail.com
Received: by 10.182.112.131 with HTTP; Sat, 22 Jun 2013 21:50:17 -0700 (PDT)
In-Reply-To: <CAL02cgTq+0frn6e63ARm039w9DU8hOz3B==ENr8wjxGNef5kEg@mail.gmail.com>
References: <CAL02cgQW3eJg+f0nwEwihJGRgE82o+B0gSx0LJ6vTP1M8F+n5w@mail.gmail.com> <CAPSQ9ZWuu5fS1jQw6XS4tyPt2ho2pkiCe0FKfboxNv8NrbsNZg@mail.gmail.com> <CAL02cgTD=EwVck90Je4Ou+9Te5aAnFMDMHfNMvBaGOK2EDUNxA@mail.gmail.com> <CAPSQ9ZVLVhepr59KjsjZUFk+C5=xxDuUYHa5CxhBD11Sni=4pQ@mail.gmail.com> <CAL02cgTq+0frn6e63ARm039w9DU8hOz3B==ENr8wjxGNef5kEg@mail.gmail.com>
From: Charles Shen <charles@cs.columbia.edu>
Date: Sun, 23 Jun 2013 12:50:17 +0800
X-Google-Sender-Auth: bR1lGGAk1orA0IPkrkcQN3n2ktM
Message-ID: <CAPSQ9ZV2reortRkiR7NYZ=bMhNqkEmEHbbq6DNGnzzhAWi9WSg@mail.gmail.com>
To: Richard Barnes <rlb@ipv.sx>
Content-Type: multipart/alternative; boundary="089e013d0a1c8358b104dfcb092b"
Cc: sip-overload@ietf.org, draft-ietf-soc-load-control-event-package@tools.ietf.org
Subject: Re: [sip-overload] AD review of draft-ietf-soc-load-control-event-package-08
X-BeenThere: sip-overload@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: SIP Overload <sip-overload.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sip-overload>, <mailto:sip-overload-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sip-overload>
List-Post: <mailto:sip-overload@ietf.org>
List-Help: <mailto:sip-overload-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sip-overload>, <mailto:sip-overload-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 23 Jun 2013 04:50:42 -0000

Hi Richard, please see additional questions regarding "tel" URL grouping:

On Fri, Jun 21, 2013 at 7:00 AM, Richard Barnes <rlb@ipv.sx> wrote:

> Inline.  Areas of agreement snipped.
>
>
> On Thu, Jun 20, 2013 at 1:40 AM, Charles Shen <charles@cs.columbia.edu>wrote:
>
>> To be clear on this, the ambiguity here is with regard to the <except
>>> domain="..."> case.  In the <one id="..."> case, you just do Tel URI
>>> comparison.
>>>
>>> Thinking on this a little more, it looks like your use of the "domain"
>>> parameter actually breaks with RFC 4745.  According to RFC 4745, there must
>>> be an exact match between the "domain" value provided by the using protocol
>>> and the value in the "domain" parameter.  I can't think of a way that this
>>> document could define a way to extract a domain from a telephone number
>>> that would meet the semantic you seem to be intending.
>>>
>>> So it seems like you need to do one of the following:
>>> 1. Define a rule for how you compute a domain value from a tel: URI.
>>> 2. Define a new element for use under <many> (since <except> lacks an
>>> extension point)
>>> 3. Drop support for excluding phone numbers by domain (you just have to
>>> enumerate the exceptions individually)
>>>
>>>
>> [CS] If we opt for Option 1, can we do the following:
>>
>> a. assume E.164 numbers always start with + sign, so we can use the
>> digits after the + sign (after removing any visual separaters, as in the
>> Tel URL comparison rules) as the presumed domain value.
>> b. for local numbers (numbers that do not start with +), the
>> "phone-context" contains the domain value.
>>
>
> Are you sure that gives you the expressiveness you want?  It doesn't allow
> you to exclude based on an arbitrary prefix.  For example, <except
> domain="+1212"> would not match the URI "tel:+12125551212", because the
> "domain" value for that URI would be "12125551212".
>
> It seems like (2) is the option that's most likely to give you what you
> want.  Suggest defining something like a "<except-tel>" element, so that
> you could say something like <except-tel prefix="+1212">.
>

 I am absolutely fine adding another element, but just want to make sure I
indeed understand your concern before doing that.

According to the current texts (paragraph 2, pg.18), when the specified
domain value starts with a "+" sign, it denotes a number prefix, if its
"+1-212", the prefix is "1212" (after removing any visual separaters, as in
the Tel URL comparison rules, this needs to be added explicitly), and this
prefix is used to match numbers (again after removing any visual separaters),
therefore, it should match the number "1212551212" in the tel URL
tel:+12125551212.

Did I miss something here? thanks!

Charles