Re: [martini] draft-kaplan-martini-vermouth-00: reg-event handling for draft-gin and draft-olive

Hans Erik van Elburg <ietf.hanserik@gmail.com> Wed, 05 May 2010 14:13 UTC

Return-Path: <ietf.hanserik@gmail.com>
X-Original-To: martini@core3.amsl.com
Delivered-To: martini@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 488963A6D39 for <martini@core3.amsl.com>; Wed, 5 May 2010 07:13:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.223
X-Spam-Level:
X-Spam-Status: No, score=-1.223 tagged_above=-999 required=5 tests=[AWL=-1.038, BAYES_40=-0.185]
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 Cx34q3K8K6K7 for <martini@core3.amsl.com>; Wed, 5 May 2010 07:12:59 -0700 (PDT)
Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by core3.amsl.com (Postfix) with ESMTP id DC4ED3A6C23 for <martini@ietf.org>; Wed, 5 May 2010 07:08:05 -0700 (PDT)
Received: by ey-out-2122.google.com with SMTP id 4so223470eyf.51 for <martini@ietf.org>; Wed, 05 May 2010 07:07:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=MT5bBmbGEiWSX+EpcHmjQBrSXeHRwImBT8jgQHx51fc=; b=gSGRJEcDb5v5Oz6A17wIn7CZM46GAHbuAEmmcRJs0p3TR8AvlQtUsjn3DXYV/AGMpE QqKJbBOFnkqJq4HlamfK1h1Nr8zxe2OhrWzN5BcNDIr4GGl34gDlZZ4gYeGMneq0binK R7wnvtPsPic6+wQf9uG+7bnM0mw3leCN//rYg=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=OgaEL9QlKUp7rxLsQ2Z77aBhv+PS2IkB1SUOe0bIKbit3k0DgP18YQgvIrq7nvxmh0 8bhW9udCRZ0LW9Wu+4+b8ljGFxp7qEOha+KHzml4qBNBEI1s5lFv0ACculM6vO41lT7S HIXTzgLBAGzU8Ku09Wqz5WIgk/vUCAsmfzR8Y=
MIME-Version: 1.0
Received: by 10.213.76.12 with SMTP id a12mr7100901ebk.55.1273068469160; Wed, 05 May 2010 07:07:49 -0700 (PDT)
Received: by 10.213.108.142 with HTTP; Wed, 5 May 2010 07:07:49 -0700 (PDT)
In-Reply-To: <430FC6BDED356B4C8498F634416644A91A8A5F1D7B@mail>
References: <430FC6BDED356B4C8498F634416644A91A8A5F1BD4@mail> <j2t9ae56b1e1005031443r92b2b703m378750742bfdc206@mail.gmail.com> <AANLkTinUI38v0MGf7yBaY-91TkCX4tEmnhIF3D1IXVoR@mail.gmail.com> <430FC6BDED356B4C8498F634416644A91A8A5F1D7B@mail>
Date: Wed, 05 May 2010 16:07:49 +0200
Message-ID: <AANLkTimykUftWfcQURj4vAcoYt-Juo6e8djHxNSX_o9s@mail.gmail.com>
From: Hans Erik van Elburg <ietf.hanserik@gmail.com>
To: Hadriel Kaplan <HKaplan@acmepacket.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: "martini@ietf.org" <martini@ietf.org>
Subject: Re: [martini] draft-kaplan-martini-vermouth-00: reg-event handling for draft-gin and draft-olive
X-BeenThere: martini@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of en-mass SIP PBX registration mechanisms <martini.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/martini>, <mailto:martini-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/martini>
List-Post: <mailto:martini@ietf.org>
List-Help: <mailto:martini-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/martini>, <mailto:martini-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 May 2010 14:13:00 -0000

On Tue, May 4, 2010 at 4:42 PM, Hadriel Kaplan <HKaplan@acmepacket.com> wrote:
>
> Hi Hans Erik,
> I _think_ what you're saying is: for the case where a SUBSCRIBE is targeted to an AoR the PBX implicitly registered for, it should be routed to the PBX; and for the case where we want the SSP to process it itself, we should define a new target syntax, such as the "bnc" param I use in the draft.  In other words, swap those two cases in the draft from a target URI perspective.
>
> Correct?
>
[HE] Yes you could interpret it like that. But I also think there is
no need for the case where the SSP returns the result, so I would just
suggest to remove that unless there is a use case for which this
information is usefull.

> Obviously that's also a reasonable way to go, but I'd like to make that an open issue/decision for WG consensus.
>
> Personally I prefer it the way in the current vermouth draft: a SUBSCRIBE targeted to the AoR gets processed by the SSP just like any other, while a SUBSCRIBE to the AoR with a URI param of "bnc" gets routed to the PBX.
>
> My reasoning is as follows:
> Currently, for any "normal" Registration model, a SUBSCRIBE targeted to the AoR gets processed by the SSP.  In effect, the combination of that target URI and the "reg" event package indicator are used as a resource identifier for getting the SSP's registration state of that AoR.  So...
>
Yes for normal registrations you may view it like that.

> 1) Currently, since the SUBSCRIBE's target URI looks like any other AoR of the SSP, *any* proxy in the SSP can make a simple routing decision to send all SUBSCRIBEs for reg-event to a specific app server which handles reg-event, without knowing what "type" of AoR the target URI refers to.  If we make SUBSCRIBEs for implicitly registered AoRs route differently, without some specific indication in the SUBSCRIBE, then that's no longer as simple a thing to do.
>
I do not agree, the location server can together with the location
where the AOR can be reached return information that this is a bulk
contact. That information can be used by the SSP's proxy to apply
proper handling.

> 2) It really is possible for the SSP to support multiple contacts for any AoR in the set of implicitly registered AoRs.  It's not common of course, but I could see an SSP wanting to offer their customers to Register one or more of those same numbers for home-office or traveling users.  Those users really will be Registered in the SSP, not the PBX.  And the SSP really will have legitimate, "normal" registration state for that same AoR which is also Registered implicitly by the PBX.  So for that case the SUBSCRIBE being routed differently than normal is really screwed up.
>
This is a very strange use case, normally you either receive service
from the SSP (centrex scenario) or from the PBX. Mixing those two is
asking for problems. Conflicting service configurations etc. In such a
case the user would rather have two different AOR's.

> 3) Personally, I think in hindsight it was a mistake to have SUBSCRIBEs for a target URI route differently than any other request for that same target URI, and route differently for different event packages.  That ship has sailed, obviously, and all kinds of method-specific and header-specific routing occurs in the real world - but it would be nice not to add yet more complexity by having different routing for a combination of {method + event + AoR-type}.  It's not a huge deal, since we're already down that rabbit hole, but still it would be nice.
>
The more impportant criterion is if the result that the subscriber
expects is usefull and meaningful. That there will be slight
differences certain behaviours for bulk registrations is completely
OK. And the complexity added is minor really.

/Hans Erik