Re: [sipcore] Alexey Melnikov's Discuss on draft-ietf-sipcore-sip-push-21: (with DISCUSS and COMMENT)

Christer Holmberg <christer.holmberg@ericsson.com> Wed, 09 January 2019 19:55 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 B764F131064 for <sipcore@ietfa.amsl.com>; Wed, 9 Jan 2019 11:55:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.854
X-Spam-Level:
X-Spam-Status: No, score=-8.854 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-4.553, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, 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 header.b=GTnFAFPp; dkim=pass (1024-bit key) header.d=ericsson.com header.b=LK3NOy95
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 8jQiHEopqtvI for <sipcore@ietfa.amsl.com>; Wed, 9 Jan 2019 11:55:07 -0800 (PST)
Received: from sesbmg22.ericsson.net (sesbmg22.ericsson.net [193.180.251.48]) (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 8DC9E131032 for <sipcore@ietf.org>; Wed, 9 Jan 2019 11:55:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/relaxed; q=dns/txt; i=@ericsson.com; t=1547063704; x=1549655704; 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=Xnxa7Qw+8+ENXWlfpvedgDhtliACnMi+gLmOPyWKnsc=; b=GTnFAFPpsMIkWaioygANPefVzII2VLIMoVCd+lyzcyVGL+Kqe37/tuOhF523lgbv X9SlWKrw+Rx0EeZ14tZZA/cUclojwD0YSm6DRc65ghSzh0RrmMXg8l/V5Mbt79ih ahMAFC7857mcoj47L4wT/oHORjPi8XmoolyUY7UQBJ0=;
X-AuditID: c1b4fb30-f93ff7000000355c-8d-5c3651989245
Received: from ESESSMB501.ericsson.se (Unknown_Domain [153.88.183.119]) by sesbmg22.ericsson.net (Symantec Mail Security) with SMTP id AA.4B.13660.891563C5; Wed, 9 Jan 2019 20:55:04 +0100 (CET)
Received: from ESESSMR505.ericsson.se (153.88.183.127) by ESESSMB501.ericsson.se (153.88.183.119) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 9 Jan 2019 20:55:04 +0100
Received: from ESESBMB505.ericsson.se (153.88.183.172) by ESESSMR505.ericsson.se (153.88.183.127) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 9 Jan 2019 20:55:04 +0100
Received: from EUR02-HE1-obe.outbound.protection.outlook.com (153.88.183.157) by ESESBMB505.ericsson.se (153.88.183.172) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3 via Frontend Transport; Wed, 9 Jan 2019 20:55:04 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Xnxa7Qw+8+ENXWlfpvedgDhtliACnMi+gLmOPyWKnsc=; b=LK3NOy95o3IbkhFnCTNRZfp2L9fO+bTik9e2yaK5QPAnpFK6KVGB0JG811LIQ3TrIn6iOhJmz19Hm4MksnSuT+xRVbCK5EG5HUr1csNpyKcXlq/JHmYXmXDtcpt8aV/qlwC+pvayWyEG2izrWIGXrjiFjZJvNyb7oZv1HADB0zs=
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com (10.170.245.23) by HE1PR07MB4441.eurprd07.prod.outlook.com (20.176.167.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1516.6; Wed, 9 Jan 2019 19:55:02 +0000
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com ([fe80::852a:3f04:e342:cf55]) by HE1PR07MB3161.eurprd07.prod.outlook.com ([fe80::852a:3f04:e342:cf55%3]) with mapi id 15.20.1516.010; Wed, 9 Jan 2019 19:55:02 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Ben Campbell <ben@nostrum.com>, Alexey Melnikov <aamelnikov@fastmail.fm>
CC: The IESG <iesg@ietf.org>, "sipcore-chairs@ietf.org" <sipcore-chairs@ietf.org>, "draft-ietf-sipcore-sip-push@ietf.org" <draft-ietf-sipcore-sip-push@ietf.org>, "sipcore@ietf.org" <sipcore@ietf.org>, Brian Rosen <br@brianrosen.net>
Thread-Topic: Alexey Melnikov's Discuss on draft-ietf-sipcore-sip-push-21: (with DISCUSS and COMMENT)
Thread-Index: AQHUqBLz5rv/kyLPA0K7YOhkM5TUrqWm4bJggAAluwCAAEyPgIAABWNA
Date: Wed, 09 Jan 2019 19:55:02 +0000
Message-ID: <HE1PR07MB31617F9802FC2A1E8715556C938B0@HE1PR07MB3161.eurprd07.prod.outlook.com>
References: <154703521377.7454.12348610753191573496.idtracker@ietfa.amsl.com> <HE1PR07MB3161DEF01265C95C7FD9707A938B0@HE1PR07MB3161.eurprd07.prod.outlook.com> <1547045912.2691573.1629890752.6D1B0E4A@webmail.messagingengine.com> <BED57560-910E-4C45-A8E2-0EE0FA2570F9@nostrum.com>
In-Reply-To: <BED57560-910E-4C45-A8E2-0EE0FA2570F9@nostrum.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [192.176.1.75]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; HE1PR07MB4441; 6:cZpckN3JDiICM/7/AFHcJnlOpgGx2NPxuSP5DdAsyHzbxOZtr6QyH/WH6YSISEl+3S6msDWCdItsiC2zX7UBhLi0CWH/u1zkPSfJ8b7YOpCD3nlSCzxv2oe5ULN1B7sM6NlHJ0bKIxZ91aXBaBBUZVgmgioWTEK7Y4fyzx58XEPdM+QAd7+f3laQoMp81EaF9Mreh4QfqR8Z8k4DUphngFPSKtPnutM82jqUPfcctpopGaKj10UeqLhsVwCdZD4mkobl7UXWRG5vKrFFmmuC1C/c33fqYv9BFOm6k0t1JqKBcTizWQV08XlCSSjH5K8qluCGagQz05WZTgUGELpOWHRD90jk5aYRMen9OLAT6Vnn/VBmSt1P4ge3i76XPzm2p5u+/sRZ9ZVPsfhtLwvwFYvMGphdfaoLUbi5tb2SXevKwtiNvN598YBeKHfsZAQOt7n8a9dWfMmhAx7JT/yaFA==; 5:pNOEkaeZ/RAW/uktjG+E6c7Bdjwr1K1fyXrBsw5XWH4RW1aRimmRz+NZgt0ze5wopPFardVroN3UO/DI4yLw5Hi26yLN+wAz+T0WR+HrCiQ8LCesmKutD2k2R5Pl9Vq4ug8el6UcUMnYF1bcuuRB20MU4/z9QKeLXx9E2Qu3YFBTVnLdIfrt6RM5MOaRptW30wFPldx6/jZkFhhF2P3qdw==; 7:irtpNN8o/lLZPeBRlIr9H1Qxq3QH4VYKPg5Fs05zAclvxz9C6aqWavfT9SDKTOMOkJksaUhAaf3zYm/JLMnwl/XMjkZTOYEuQiHuRKTPPayj7yjcksUs56dX4bP6vQASLH+UzHlqr+3r4kD+sEYkBg==
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 1afc9235-f15d-43ea-70e0-08d6766c5806
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(2017052603328)(7153060)(7193020); SRVR:HE1PR07MB4441;
x-ms-traffictypediagnostic: HE1PR07MB4441:
x-microsoft-antispam-prvs: <HE1PR07MB4441E210833B9CB8F4E96DD8938B0@HE1PR07MB4441.eurprd07.prod.outlook.com>
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(8220060)(2401047)(8121501046)(3002001)(10201501046)(3231475)(944501520)(52105112)(93006095)(93001095)(6041310)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699051)(76991095); SRVR:HE1PR07MB4441; BCL:0; PCL:0; RULEID:; SRVR:HE1PR07MB4441;
x-forefront-prvs: 0912297777
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(376002)(396003)(39860400002)(346002)(136003)(189003)(199004)(478600001)(6436002)(11346002)(74316002)(97736004)(476003)(446003)(7736002)(6246003)(44832011)(2906002)(486006)(66066001)(106356001)(305945005)(105586002)(81156014)(81166006)(8676002)(99286004)(6506007)(102836004)(6346003)(93886005)(33656002)(68736007)(316002)(55016002)(5660300001)(9686003)(4326008)(186003)(14454004)(229853002)(53936002)(26005)(54906003)(110136005)(8936002)(76176011)(7696005)(86362001)(6116002)(3846002)(256004)(71190400001)(71200400001)(14444005)(25786009); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR07MB4441; H:HE1PR07MB3161.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=christer.holmberg@ericsson.com;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: 68S0bwd9aGBtZkmttAPugQkJDlEtPqXiIt6vm+QqzExiuV2cR2tzIdqrsUd52anYmMb49NtNm9kZFpfK862smIOZzxb37KzpfzOGOkn7jsVahv1fAJT4SGAZLFIFlXa4JB9navqx8Sh9dJlFzkkkIk0viqwXRH+GgROm41CIu2gBk7kZT98nNGAYzguLdmkiayptO7ue1LVNbIzPEULqg03871uuRoxEOJXWCciQKNZLsEe0xIGDd3/E2V+Z7L8MAxM+ydjWGVW5TPMn9iap5D1p7J2hxkFTVaYtcMHzfKeypGvcCJQT06x+/O/KOCLO
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 1afc9235-f15d-43ea-70e0-08d6766c5806
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jan 2019 19:55:02.3545 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB4441
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA01Sa0hTYRjmO+fsnKO4+Jy3V02oVT9UvGKyILr8KAZpaP2JGtjK4yXdpptp CoFJWvOSJiq6rNWa0ZZ0mWJ5Qx0VzpFdTKOwvKSVFCaaZqWW86zo3/O8z/N87/PCx5Iis8CP TVVmcWqlPF1Mu1J1h+7nhNTGR8vCn/RESbq+WgmJXmtnJJMjNbSkYO4WIaldukhKyuaukZL5 RQu9i5GOLCwz0ta+blpqNP4gpLrWCSqOOuy6PZFLT83m1GE7jrqmWJbqUUaV76mF5ttkPuqG YuTCAo6CbqOBLkaurAg/RLA0aqJ4Mo/AfMbE/COTg+NO23UCmue1yEEoXEHCq1mDgFcqCRh/ XeTMjCFoaRtaJSxLYwmUrAQ7NnriGFh+3E45MImnEYze3eTAHjgJyqoGBLwnGW4O2xke74Wf 031rfgpvBp1xeA0LsQy0pm/OSvUEWPrthENwwTvhQx0fQNgbvvc1EvwyH3gzoSf4szEYO56S PPaCqfcrAkdPwBug694BfhwAL/Qla1cCLmDA0HjDmQ2BmepqZzYW8jttNG96huDRSBvFC0Gw 2FPpNKVB+6Le+dJzEn5bzjpN66FJW09XoAjdfwV1q0VIHAh32sL48UaoKhljdGtHu4OtboK6 iigz8tJwmmOK5MjIUE6delyjUSlDlVyWBa3+oJ7mX+EP0NTH3VaEWSR2E4rDomUigTxbk6uw ImBJsacwz391JEyU5+ZxalWC+mQ6p7Eif5YS+wiXRO4yEU6WZ3FpHJfBqf+qBOvil4+2oOWX RSvenrRCu26hRxibAyNN8tgTivhPMefP5frqlw+Yy1XKGKuiQeX/9lLe/iviAKqj4Z0HVeg+ ZGMMWeOzhfZeZcI2nbC0pSakqLdr2r9x69AwUx53MKnUd7DzyEKsXhpkymzck1nxxe3zwOUA 2z7RTLCtfy7wtExwoUxMaVLkEUGkWiP/AyOFOlQ9AwAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/EeToYEkjkPHjDacGqjR7Hq0njhk>
Subject: Re: [sipcore] Alexey Melnikov's Discuss on draft-ietf-sipcore-sip-push-21: (with DISCUSS and COMMENT)
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 09 Jan 2019 19:55:09 -0000

Hi,

>>>> 10.  pn-provider, pn-param and pn-prid URI Parameters for Apple Push
>>>>    Notification service
>>>> 
>>>>  The value of the pn-param URI parameter is a string that is 
>>>> composed  by two values, separated by a period (.): Team ID and 
>>>> Topic.  The  Team ID is provided by Apple and is unique to a development team.
>>>> 
>>>> I assume it doesn't contain any periods?
>>>> 
>>>>  The Topic consists of the Bundle ID, which uniquelly identifies an  
>>>> appliciation, and a service value that identifies a service  
>>>> associated with the application, separated by a period (.).  For 
>>>> VoIP  applications the service value is "voip".
>>>> 
>>>> How many periods are used in the value? If your example below is correct, can you clarify that Bundle ID itself contains periods?
>>>> 
>>>>  Example: pn-param = DEF123GHIJ.com.yourcompany.yourexampleapp.voip
>>> 
>>> The Bundle ID part of the Topic typically contains periods. The Team 
>>> ID, and the service part of the Topic, do not contain periods.
>>> 
>>> Note that the Topic is actually created by Apple, and I don't even 
>>> know whether the Apple PNS needs to separate the Bundle ID part from 
>>> the service part. And, as far as I know, we don't need to separate 
>>> the parts in our proxy implementation. We do separate the Team ID 
>>> from the Topic, but we know the first period is the separator (as the 
>>> Team Id does not contain periods).
>> 
>> I think you either need to clarify that the Bundle ID can contain periods (so that if somebody wants to parse a particular pn-param 
>> value, they know to search for the last "." (*)) or you should avoid talking about internal structure altogether. Your text is sort of in between.
>> 
>> (*) - it might not be sensible to need to parse internal structure of the value. But I can't decide one way or another without investigating Apple API for this, which I haven't done.
>> 
>
> Given that we don’t have change control over the parameters for Apple (or any other proprietary PNS), I’d be very careful about expectations to parse 
> internal structure. These structures could change at any time.

Sure. But, if it changes in a way that is not compatible with the current text/syntax, then one would need to register a new pn-provider value.

Regards,

Christer