Re: [sipcore] Syntax of Feature-Caps header - suggestion to remove Feature-Caps header field in REGISTER 555 responses - the pull request

Christer Holmberg <christer.holmberg@ericsson.com> Fri, 08 March 2019 11:31 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 7B05F12796C for <sipcore@ietfa.amsl.com>; Fri, 8 Mar 2019 03:31:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.301
X-Spam-Level:
X-Spam-Status: No, score=-4.301 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=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=NM+af9f3; dkim=pass (1024-bit key) header.d=ericsson.com header.b=OJ6h5UP1
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 Hce9pUZyZ_OJ for <sipcore@ietfa.amsl.com>; Fri, 8 Mar 2019 03:31:39 -0800 (PST)
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 A2EBF1277D8 for <sipcore@ietf.org>; Fri, 8 Mar 2019 03:31:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/relaxed; q=dns/txt; i=@ericsson.com; t=1552044696; x=1554636696; 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=1/akhBgkd/7H9LWwSsXzepIuGQ+AmHDRnJfFJMlppUE=; b=NM+af9f3ylIjSp3vYjXhTAHc4pVea12oK0ac21XdpImOv9+hc9IB+vFFa7zNFp8X TR7uVTZRBCcGFxm99M+rhccT3F8HdFfK/Cui3NXVicKmbn8/n1JzaWkAUz8vay0Q kmiXWfy5P85H8zhlckwc83RlKh8OIOPVal6hnxC0bto=;
X-AuditID: c1b4fb2d-2198b9e00000062f-59-5c825298b780
Received: from ESESBMB502.ericsson.se (Unknown_Domain [153.88.183.115]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id 15.D7.01583.892528C5; Fri, 8 Mar 2019 12:31:36 +0100 (CET)
Received: from ESESBMR506.ericsson.se (153.88.183.202) by ESESBMB502.ericsson.se (153.88.183.115) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Fri, 8 Mar 2019 12:31:36 +0100
Received: from ESESBMB502.ericsson.se (153.88.183.169) by ESESBMR506.ericsson.se (153.88.183.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Fri, 8 Mar 2019 12:31:36 +0100
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (153.88.183.157) by ESESBMB502.ericsson.se (153.88.183.169) 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; Fri, 8 Mar 2019 12:31:35 +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=1/akhBgkd/7H9LWwSsXzepIuGQ+AmHDRnJfFJMlppUE=; b=OJ6h5UP1CDyvwjJbr18I5JaQTsP4GDFaKrKhJ/l1hZHTdRPnvg+dfyZ/7GOhNdnJW2V5cN9K8rj9O9t50f2MMCyc5wd7gfJcYm/idQUiM3VlQrYtmlKfuQPXYTmWVcHmVTvMkvrFODZKgDlaNU5DcT7ILwtQvUtWtH8HC/An6DI=
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com (10.170.245.23) by HE1PR07MB4187.eurprd07.prod.outlook.com (20.176.166.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.15; Fri, 8 Mar 2019 11:31:34 +0000
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com ([fe80::dd59:bc9e:2910:48ae]) by HE1PR07MB3161.eurprd07.prod.outlook.com ([fe80::dd59:bc9e:2910:48ae%3]) with mapi id 15.20.1709.009; Fri, 8 Mar 2019 11:31:34 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Yehoshua Gev <yoshigev@gmail.com>, "sipcore@ietf.org" <sipcore@ietf.org>, Ben Campbell <ben@nostrum.com>
Thread-Topic: [sipcore] Syntax of Feature-Caps header - suggestion to remove Feature-Caps header field in REGISTER 555 responses - the pull request
Thread-Index: AQHU1NSk8pGKS3LbGUe6Cll7rNPiZKYBvNSA
Date: Fri, 08 Mar 2019 11:31:34 +0000
Message-ID: <1C6F1432-9CB9-45A2-A4AA-FF1DEEA1F211@ericsson.com>
References: <59D9D95B-6789-4F2B-AF54-313FC651EA63@ericsson.com>
In-Reply-To: <59D9D95B-6789-4F2B-AF54-313FC651EA63@ericsson.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.16.1.190220
authentication-results: spf=none (sender IP is ) smtp.mailfrom=christer.holmberg@ericsson.com;
x-originating-ip: [192.176.1.88]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: afdd02a0-48be-4879-c122-08d6a3b99ed6
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020); SRVR:HE1PR07MB4187;
x-ms-traffictypediagnostic: HE1PR07MB4187:
x-ms-exchange-purlcount: 3
x-microsoft-exchange-diagnostics: 1;HE1PR07MB4187;23:OTg1u8Jl6p6Ggy2RRfp4PN688yAAmg66vAnpwzD4V/fkrSo9aoagfd+2ZYfgw4UdiGB3E74QVrQuofrEPDzjfEqHHQHR54aQrsbLD32vm9ikiGXd3VOYjlC6fWaKMl0LpWBB+O1o/puVDaHS09cIjkc3UWbBPUwQ/tOJBwhVSJKCpd/TVfSoUQxn78Dn+LGT58pRDADapc6kWnW9TABDYO+eR93X8vtRfXTlc2W2XUuFTNB1zDozrTVh5X4OFR33fPoBWZkKSkdHX3QFo64wpjiuC/2vG6TbPCNnAdDXy4TB10VXuj0pjHKfcESLZQ6srhW4vYwtAcPqaA3OY1njK6EHSRGkERIdIMFOg+ihcEIHY449JD+lVprvhn1xRfacIDdBwARETiVsB/YIxxipY82hgvjQXqvlhGev2G33m1BUr/nryYO/LCdLha8FOJi31Og90HRLwY/7Dg5EXVgasXmQ7/kCsout4UzS8BGCb6Z56OZd580Y290Tq5cEXUZRK44F3Crhf0wTgEokeY93g9Fwa3zOtQ1R7vvWGkTDMS/3dtb0rZRsQnHGFWWJBg7M5Y7G9MoNGsLlOC5UxI1JGJxLgKYmsWVCfuJ6qb9DlSwKB4LpQIZpnbI/5w/tceJPrciiw9iCqzuvxcCAiUlHcQ4WNocP3FrViWsNHrV7FKpR3IXnKYtxA9G5Y8KIp37gm7PdbvC/GfsR3LcWiraBvSwge95MLjIFBoH52LIqVtAZG4icQMWYrwtviAZ9K9cTcEWwN2UXi8OxHCwbFmbJK5HDGSzvXf1x9EhsMG6dfWsME7I7w6xClY/BiigGHSKOUtO+ys7JfaYr3HnVxok8dYZvQzH/ctbo1oPv2cogc+Xcv4yXN3p/rEfn5biSVdWMMRiEgphxBkSpiz1nvK7MjZ2WQiKCfucOJrkX09eig7AaVasmhkxWt9JMSZcHbmAa6ySRNYQxuv/dC1/B2nTsR3ImWBH3tPHxkLrpasACGZIXoje7MsxdEUFoTemT1tyBS66Jq3rpHlEP/ieGq7NIamfGl42ctQtUDPVpfBvMmb0gYV4d5yb5V1mh+ApTdZfdOczA5kiFqbvz68yBGB1t8duVqQj04DeQ4vo4dYtVQcq0CO+DDPUcvnfoDmRvn5DxT0xICUiRpXdJE8QkW84j1O8r5ls7wbw4S3Jvmh3M1EhP+3ni2B3Z6BPlFxw+iX+m993RP+wg8RwSTh3Wjf6u+vBMA9EzImG/vJOf0BDhdv65gZygNahyPVdflBFuZbgTmEfrCPpsSssCKzJKltPQP1P6dKmLxFkcl3GvG48BYvB9JVpLepNKpANCVNnL04Akd4+GvyV98kfB36YFbHqyX+2baO7T8pk16CcfCznKit8=
x-microsoft-antispam-prvs: <HE1PR07MB4187ACDEF94FF7CB2C35EC75934D0@HE1PR07MB4187.eurprd07.prod.outlook.com>
x-forefront-prvs: 0970508454
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(366004)(39860400002)(396003)(346002)(376002)(52024003)(199004)(189003)(966005)(71190400001)(476003)(6306002)(71200400001)(11346002)(446003)(6486002)(6506007)(229853002)(97736004)(68736007)(2616005)(26005)(102836004)(256004)(316002)(76176011)(486006)(2906002)(14454004)(83716004)(110136005)(8676002)(99286004)(33656002)(8936002)(14444005)(53546011)(478600001)(105586002)(6512007)(53936002)(186003)(58126008)(81166006)(81156014)(6116002)(44832011)(25786009)(7736002)(3846002)(82746002)(66066001)(5660300002)(6436002)(36756003)(106356001)(2501003)(6246003)(305945005)(86362001)(153083001); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR07MB4187; H:HE1PR07MB3161.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: p8tvQejxnYdCL6z3B7YN1yybiUCKEH2K7I5ahguB2CO6HdI8H+2o5+1kE5M6MtGkMearbqax+TD7iLFEvDXpqMsrZGw1Sm2blHSrsR+imzT5d0eGMrT8OOP9VHpW4zEt4RCYxBEBCxLx382+egoDuaBXrGLkwlxULREIm8Vl96XAtphcx5LMOzj7GF5mI5mWD85XtRP3phrfx7VTrKKaqwE6mCsLm7B3sxeTSO1GndO3klH6vKraFxMgIkhnBIWvE3MnLN4lLn4sVnh9SfKNcdQjMGKTyzRwDZ7NoAh0qoGRX51Zu34vKldKrYOpVBIdUJ4Y57DhuyABRA26cxByu9aNh8AsZJOimhTxe5ODemmuTcVs5tCRz40SjTXHRX4WgcKR8UgoncLcNypTr+vs4McBE+L7xHVzPBuYZIacbVU=
Content-Type: text/plain; charset="utf-8"
Content-ID: <70646F10283FAF4DB7BFDC5F1E409103@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: afdd02a0-48be-4879-c122-08d6a3b99ed6
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Mar 2019 11:31:34.7574 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB4187
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA02Sa0hTYRjHe3fOtrPV4nXOfFgWNixS8ZofFt0stAZlaIVIWjn0oKZO2THJ PpQXDJwVZuZlklslE7QUL9gUNdSlmeK1D2UYSqOwVFTUFEvb8azo2+/5X3ifB16KkJbz5VSC Jo3WatRJCoGYLIt4xXiVXsiO8m0qD1Aa8vqFyuXVBoFyvX6CCCRULfoJoaqyco2n0rdYyVDi svhoLJ2UkE5rfY5Hi+P1c+vC1Mygm4Ot9YJMZDylQyIKcADMmhf4OiSmpNiC4FOHmccNywjq u03Ev6Haet8ee86D4kndlkPiAgIGsrLtsUIeGL8vkNwwhSC3tAPpEEUJsBLyNzzZF2VYAxU5 tQI244iLEDTrX24VZPgxgpySYZItyLA/NOYdZAskdoParNktWYJPwD1zJCtLbfihwiJgWYQD YbmkkGQZ4V3w890LHssEdoZxq4HHXYqhsm2I4NgJpr9s8Fl2wj7Q9GDS3lXD6+pJe8YV5p70 CzjeA6OGfMRxCHSPFG/tD/gjApOhym54QE97s5BjOTwdWhJyoREptM7U2Y1EWHpTJWSPAewC axaXAuSr/29Xvc0hsDvUtfpwsgqmygcQx/ugKH9KyLIEO0BfmZU0In41cmJohkmO8z/kTWsT YhgmReOtodMakO3LdDate5lRzY+TXQhTSLFDcvZIdpSUr05nMpK7EFCEQiZxDLJJklh1xi1a m3JNeyOJZrrQbopUOEt+SR2ipDhOnUYn0nQqrf3r8iiRPBOZeuUHLh3eu81Mhzv99mvvJzxj Ht1VLa5V9QjccgeZryvO/iuLz4a3b3x762o6f10XbzZeHb/NG3OE0z5DvcXhExNhYTtn4jaD I9GdcxG+PdX7S9JC3MfeX1xxmX/YlnCmzfXzaOOx1RaLQtnXeSV0c3y+Zl+0KH1sviVpusY3 OEhBMvFqPw9Cy6j/AEqztssuAwAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/QguJ6WzliK7WcSjSybvHSRcDXQ0>
Subject: Re: [sipcore] Syntax of Feature-Caps header - suggestion to remove Feature-Caps header field in REGISTER 555 responses - the pull request
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: Fri, 08 Mar 2019 11:31:41 -0000

Hi,

Since nobody has objected to the suggested change, I intend to merge the PR and submit a new version of the draft.

Change: No longer allowed to insert Feature-Caps (and the associated sip.pns feature-capability indicator) in a 555 response.
Reason: RFC 6809 only allows F-C in REGISTER 200 responses.

Regards,

Christer


On 07/03/2019, 12.58, "sipcore on behalf of Christer Holmberg" <sipcore-bounces@ietf.org on behalf of christer.holmberg@ericsson.com> wrote:

    The pull request:
    
    https://github.com/cdh4u/draft-sip-push/pull/40
    
    Regards,
    
    Christer
    
    On 07/03/2019, 10.59, "sipcore on behalf of Christer Holmberg" <sipcore-bounces@ietf.org on behalf of christer.holmberg@ericsson.com> wrote:
    
        Hi,
        
        I will go ahead and suggest that we REMOVE the usage of the Feature-Caps header field in REGISTER 555 responses. This means that the network cannot inform the UA about supported PNSs in a 555 REGISTER response, but the network can still do it in a 200 REGISTER response (query mode).
        
        Please let me know asap if you disagree with such approach. I will prepare a PR during the day.
        
        Regards,
        
        Christer
        
        
        
        
        
        
        On 06/03/2019, 17.20, "sipcore on behalf of Christer Holmberg" <sipcore-bounces@ietf.org on behalf of christer.holmberg@ericsson.com> wrote:
        
            Hi Yehoshua,
            
            >The last fix you made in the example made me re-read RFC 6809.
            >I noticed that the RFC indicates that:
            >   The Feature-Caps header field can be used within a SIP REGISTER
            >   request and within the 200 (OK) response associated with such a
            >   request.
            >
            > Although not explicitly forbidden, a Feature-Caps header is not expected to be included in non-200 responses.
            > In the draft, there are cases that do include Feature-Caps header in such responses (like 555).
            
            Correct. Good catch.
            
            >I believe that the draft makes a correct use of the header, but it might be worth thinking why RFC 6809 has not
            >thought of this use case.
            
            I assume the reason is that the scope of a feature-capability indicator is the binding created by a REGISTER/200.
            
            One option would be to say that sip-push updates 6809 by allowing the Feature-Caps header in 555.
            
            Another option would be to remove the Feature-Caps header from 555 responses. It wouldn't affect the mechanism in general, as it only provides additional information (and, including F-C in 555 is only a SHOULD). If a UA supports multiple PNSs it can always perform a query to find out what PNSs the network support. If the UA only supports one PNS, and the network doesn't support it and sends 555, it doesn't really matter to the UA what PNS the network supports.
            
            Regards,
            
            Christer
            
            
            
            On Fri, Mar 1, 2019 at 1:22 PM Christer Holmberg <mailto:christer.holmberg@ericsson.com> wrote:
            Hi,
             
            I also noted that adding the ‘+’ is not enough. Note that the Feature-Caps header field syntax also mandates the ‘*’.
             
            So, the correct way is:
             
            Feature-Caps: *;+sip.608
             
            Regards,
             
            Christer
             
             
            From: sipcore <mailto:sipcore-bounces@ietf.org> on behalf of Christer Holmberg <mailto:christer.holmberg@ericsson.com>
            Date: Thursday, 28 February 2019 at 16.50
            To: Yehoshua Gev <mailto:yoshigev@gmail.com>
            Cc: "mailto:sipcore@ietf.org" <mailto:sipcore@ietf.org>
            Subject: Re: [sipcore] Syntax of Feature-Caps header
             
            HI Yehoshua,
             
            Please see inline.
             
            >I have a question regarding the syntax of the Feature-Caps header since I've not managed to find any real examples of its usage.
            > 
            >The ABNF in RFC 6809 is defined as:
            >   Feature-Caps = "Feature-Caps" HCOLON fc-value
            >                   *(COMMA fc-value)
            >   fc-value     = "*" *(SEMI feature-cap)
            >   feature-cap       =  "+" fcap-name [EQUAL LDQUOT (fcap-value-list
            >                            / fcap-string-value ) RDQUOT]
            > 
            > Following this syntax, I guess that for sip-push the header will look like:
            >   Feature-Caps: *;+sip.pns="webpush"
            > 
            > 
            >One example I could find is on https://tools.ietf.org/html/draft-ietf-sipcore-rejected-03:
            >   Feature-Caps: sip.608
            >Without the asterisk and the plus sign.
            > 
            > Which one is correct? 
             
            The sip.pns example is correct. The sip.608 example needs to be corrected. 
             
            (I THINK I had previously commented on this when reading sipcore-rejected, but I may be wrong…)
             
            >Due to the lack of examples, would it be possible to add an example to the sip-push draft that includes feature capabilities 
            >and media tags (especially that sip.pnsreg is used for both)?
             
            I will look into it. I guess that could be done when addressing Ben’s comments.
             
            Regards,
             
            Christer
             
            
            _______________________________________________
            sipcore mailing list
            sipcore@ietf.org
            https://www.ietf.org/mailman/listinfo/sipcore
            
        
        _______________________________________________
        sipcore mailing list
        sipcore@ietf.org
        https://www.ietf.org/mailman/listinfo/sipcore
        
    
    _______________________________________________
    sipcore mailing list
    sipcore@ietf.org
    https://www.ietf.org/mailman/listinfo/sipcore