Re: [sipcore] More comments regarding draft-ietf-sipcore-sip-push-08

Christer Holmberg <christer.holmberg@ericsson.com> Sun, 18 March 2018 20:18 UTC

Return-Path: <christer.holmberg@ericsson.com>
X-Original-To: sipcore@ietfa.amsl.com
Delivered-To: sipcore@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7F1D6126D73 for <sipcore@ietfa.amsl.com>; Sun, 18 Mar 2018 13:18:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.321
X-Spam-Level:
X-Spam-Status: No, score=-4.321 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com
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 PN9vg2QyVec3 for <sipcore@ietfa.amsl.com>; Sun, 18 Mar 2018 13:18:29 -0700 (PDT)
Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6140612AF84 for <sipcore@ietf.org>; Sun, 18 Mar 2018 13:18:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1521404305; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=am+IsjuFOOBscNGUku407gdI5qPW0eprZD8xezP3ivw=; b=N4Sp9J95X3i02TCwYT2evoxUVNpbIi2Osf8eYRSSbvNAKwK5P2+XL00ecTf9BpGA QXrDiUOUbbN6HOItFyK+eu1NAKUuCFyL+W7sAo65HcpPo6CVlKssDmjX3FHS6rzc /jDY8IkM39O8p8fLiI60DKWsM18CXGX7bze6wIjDacE=;
X-AuditID: c1b4fb2d-4b1ff70000005540-1d-5aaec9913316
Received: from ESESSHC001.ericsson.se (Unknown_Domain [153.88.183.21]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id A4.64.21824.199CEAA5; Sun, 18 Mar 2018 21:18:25 +0100 (CET)
Received: from ESESSMB109.ericsson.se ([169.254.9.172]) by ESESSHC001.ericsson.se ([153.88.183.21]) with mapi id 14.03.0382.000; Sun, 18 Mar 2018 21:18:24 +0100
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: "Dale R. Worley" <worley@ariadne.com>, "sipcore@ietf.org" <sipcore@ietf.org>
Thread-Topic: [sipcore] More comments regarding draft-ietf-sipcore-sip-push-08
Thread-Index: AQHTvsHWpHdPl++8tEKnx3EX2XPJQqPWGYcw
Date: Sun, 18 Mar 2018 20:18:23 +0000
Message-ID: <7594FB04B1934943A5C02806D1A2204B6C20DC77@ESESSMB109.ericsson.se>
References: <87in9t5vn4.fsf@hobgoblin.ariadne.com>
In-Reply-To: <87in9t5vn4.fsf@hobgoblin.ariadne.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.166]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrPLMWRmVeSWpSXmKPExsUyM2K7qO7Ek+uiDPqW8Vt8/bGJzeLliTIH Jo/J+78yeyxZ8pMpgCmKyyYlNSezLLVI3y6BK+POyoOMBb1qFa2Pj7M0MP6Q7WLk5JAQMJHo +PyYtYuRi0NI4DCjxOStv5kgnCWMEl8XPARyODjYBCwkuv9pgzSICARJbOpcwQxiCwv4Svyf f4wJIh4g0bHuBguEbSSx9EYzWA2LgKrEo33zWUFsXqD6hpOXwGwhoJqzzUcYQWxOAWOJwyef sYHYjAJiEt9PrQGbySwgLnHryXwmiEMFJJbsOc8MYYtKvHz8jxXCVpI4ehpiJrOAjsSC3Z/Y IGxtiWULXzND7BWUODnzCcsERpFZSMbOQtIyC0nLLCQtCxhZVjGKFqcWF+emGxnrpRZlJhcX 5+fp5aWWbGIERsPBLb91dzCufu14iFGAg1GJhzf/xLooIdbEsuLK3EOMEhzMSiK87nuBQrwp iZVVqUX58UWlOanFhxilOViUxHlPevJGCQmkJ5akZqemFqQWwWSZODilGhibRN4/e599xcBB 3nz9yUAu2YJNJ++UHn4vyiBY/vrLZYE5znZliyKl+o7uMeE8pNVjE1xScGW3zw1h1tX3L5XK Xn/NYNvFPlmveMvdj48PFKTeUlvWprezpnRKK9Oz+xHWx3aKH0wRn1c3gVtmDqfR9GkKL7X6 xQR/dX9QjWd60cSrt7/1kYYSS3FGoqEWc1FxIgBQAYHuggIAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/H8NkSVyawpXu-DKy1HxgvGv4e4E>
Subject: Re: [sipcore] More comments regarding draft-ietf-sipcore-sip-push-08
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: SIP Core Working Group <sipcore.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sipcore>, <mailto:sipcore-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sipcore/>
List-Post: <mailto:sipcore@ietf.org>
List-Help: <mailto:sipcore-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sipcore>, <mailto:sipcore-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 18 Mar 2018 20:18:37 -0000

Hi Dale,

Thanks for your review! Please see inline.

> sec 5.2 makes it sound like the proxy is required to wake up the UA if the registration is 
>close to expiration, even if the UA registered with sip.pnsreg and the proxy responded 
>with sip.pnsreg.  Is that intended?  Because it sounds like the behavior of the proxy does 
>not change based on sip.pnsreg -- it wakes up the UA if the registration is near expiration.  
>In which case, what does sip.pnsreg do?  As compared with sec 4, where sip.pnsreg seems 
>to be the way that the UA and the proxy negotiate which one of them is reponsible for 
>timing registrations.

The difference in proxy behaviour is that, in case of sip.pnsreg, the proxy waits until the "last minute" (120 seconds) for a re-registration before it triggers a notification request. This should only happen in error cases, where the UA has indicated that it will send re-registrations but don't. In normal cases the UA will send re-registrations, and there will be no need for the proxy to request push notifications.

>   5.3.1.  REGISTER Request
>
>   Otherwise, if the pn-provider SIP URI parameter identifies a PNS that
>   the proxy does not support, or if the REGISTER request does not
>   contain all additional information required for the specific PNS, the
>   proxy MUST either forward the request (e.g., if the proxy knows that
>   a downstream proxy supports the PNS) or send a SIP 555 (Push
>   Notification Service Not Supported) response to the REGISTER request.
>   If the proxy sends a SIP 555 (Push Notification Service Not
>   Supported) response, the proxy SHOULD insert a Feature-Caps header
>   field with a 'sip.pns' feature-capability indicator in the response,
>   identifying each PNS that the proxy supports.
>
> I think you want to add:
>
>   If the proxy receives a SIP 555 response to a REGISTER that it
>   forwarded, it SHOULD insert such a 'sip.pns' feature-capability in
>   the response before forwarding it to the UA, or if a 'sip.pns'
>   feature-capability indicator already exists in the response, it
>   SHOULD add to the indicator identifications of each PNS that the
>   proxy supports that is not already present in the indicator.
>
> That way, if an upstream proxy generates a 555 response that lists one PNS, then 
> this proxy can add to sip.pns the tag for the PNS that it supports, and the UA will 
> be informed of both PNSs.

Good point. We can do that.

> It might be worth splitting the error code for "push notification service not supported" (section 5.3.1) 
> from "push notification failed" (section 5.3.2).  Given that the proposed text for 555 doesn't actually 
> describe the usage in section 5.3.2, perhaps that usage should be changed to 556.

I agree that would be useful. We can do that.

> More editorial items:
>
> sec 1
>
>   The UA will provide the PRID to the SIP proxy that will request push
>   notifications towards the UA in a REGISTER request.
>
> "in a REGISTER request" seems to be not well anchored here, as it seems like it might attach to either "provide" or "request".  Perhaps this is clearer:
>
>   The UA will use a REGISTER request to
>   provide the PRID to the SIP proxy that will request push
>   notifications towards the UA.

Looks good. I will change as suggested.

> sec 4
>
>   In addition, if the response contains a Feature-Caps header field
>   with a 'sip.vapid' feature-capability indicator, the UA can use the
>   Voluntary Application Server Identification VAPID) mechanism
>   [RFC8292] to restrict push notifications to the proxy (assuming that
>   the PNS supports VAPID).
>
> I think you want to be more explict that 'sip.vapid' only indicates that the proxy supports VAPID.  Perhaps:
>
>   In addition, if the response contains a Feature-Caps header field
>   with a 'sip.vapid' feature-capability indicator, the proxy supports
>   use of the Voluntary Application Server Identification VAPID)
>   mechanism [RFC8292] to restrict push notifications to the proxy.
>   However, the use of VAPID also requires that the PNS supports
>   VAPID, and determining that is the responsibility of the UA, not
>   the proxy.

Looks good. I will change as suggested.

> 5.2.  Trigger Periodic Re-registration
>
>   The proxy either needs to be the SIP registrar, or the proxy needs to
>   retrieve the information from the registrar using some other
>   mechanism.  Such mechanisms are outside the scope of this document.
>
> I think that "other" should be removed.  Since there is no preceding mechanism 
> mentioned, the mechanism mentioned in this sentence cannot be "other" relative 
> to a preceding mechanism.

I can remove "other".

Thanks!

Regards,

Christer