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> Thu, 07 March 2019 10:58 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 BDF0C130F67 for <sipcore@ietfa.amsl.com>; Thu, 7 Mar 2019 02:58:13 -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=Ae81P2yS; dkim=pass (1024-bit key) header.d=ericsson.com header.b=T2wlhSpk
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 hG8AaPSAxRKu for <sipcore@ietfa.amsl.com>; Thu, 7 Mar 2019 02:58:11 -0800 (PST)
Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58]) (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 E12B0130F3C for <sipcore@ietf.org>; Thu, 7 Mar 2019 02:58:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/relaxed; q=dns/txt; i=@ericsson.com; t=1551956289; x=1554548289; 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=XeNjXMGIsWFMBWolzrq31NTYlO6FO8R0cauYOHPZ8jE=; b=Ae81P2ySr0Fa1hDq7wVyd+7Kdu7gj7/1YwbK9kxmKX4SPur92FGQdK+v9CBpKjEG 2TTbd5p+s9JbUifzp3fJFYrM4U+JlJ9qr9tZlC1KujTkJ3FuNFZHh2QuKqKkdnvi dhJo4X44XtOjz547WSxsCIdvxgeXUUo3vpIMVbLtxI0=;
X-AuditID: c1b4fb3a-5c9c29e00000672c-ac-5c80f941676c
Received: from ESESSMB501.ericsson.se (Unknown_Domain [153.88.183.119]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id A5.AC.26412.149F08C5; Thu, 7 Mar 2019 11:58:09 +0100 (CET)
Received: from ESESBMB505.ericsson.se (153.88.183.172) by ESESSMB501.ericsson.se (153.88.183.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Thu, 7 Mar 2019 11:58:08 +0100
Received: from EUR04-DB3-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; Thu, 7 Mar 2019 11:58:08 +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=XeNjXMGIsWFMBWolzrq31NTYlO6FO8R0cauYOHPZ8jE=; b=T2wlhSpkfpxtnZbgYZE/3C/R+cAw1WCKfRVjv9kUAluOYF900zp22Zf7/nr8O0l5zjYlam/2Pd4oCYys9hRerwxvB2ZsrzWpWbFi19sxsAK2YLDZ4e26XuPmZqcj7P5etHV1KEiIHgjhnEVoIxu4dgozn/nVZzIKwHX8/lWn0Go=
Received: from VI1PR07MB3167.eurprd07.prod.outlook.com (10.175.243.17) by VI1PR07MB3949.eurprd07.prod.outlook.com (52.134.28.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.14; Thu, 7 Mar 2019 10:58:06 +0000
Received: from VI1PR07MB3167.eurprd07.prod.outlook.com ([fe80::c1f5:59ba:ad1d:c36e]) by VI1PR07MB3167.eurprd07.prod.outlook.com ([fe80::c1f5:59ba:ad1d:c36e%3]) with mapi id 15.20.1709.009; Thu, 7 Mar 2019 10:58:06 +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: AQHU1NSk8pGKS3LbGUe6Cll7rNPiZA==
Date: Thu, 07 Mar 2019 10:58:06 +0000
Message-ID: <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: [89.166.49.243]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 62d78ae1-9ff3-4c0d-0f9d-08d6a2ebc77c
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020); SRVR:VI1PR07MB3949;
x-ms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nUwcbrsYMajBu3L2urDYVEzyW6T1Evkp0eOpxUvtcf8jeRq7nvT1pz813+Xm2DDJFGp2IWcOctb+1BBJjDp1cXNSl00NYXCQp4n+lBNPohqgBkUWZmtpBizbx2t+TOBHJbVZEWgdPH0AklEeRiCEim+SPys2GIZmFMXCod6gJRurdaHxKUrF+Qi1cJr/7AMODXFOb48gK3kWQyKsbJOCkK+CcmtEAgRsT2Mrk6H4pWo9qZBdMme83tXeFofBSnolDNaulQEPtHT9CExS9ozwS3tOSLj2W+/lxS1wQ/ZKDw93Q8k+a6c29dEEAPgcl0=
x-microsoft-antispam-prvs: <VI1PR07MB3949F4A31541A0E6BC1C40AA934C0@VI1PR07MB3949.eurprd07.prod.outlook.com>
x-forefront-prvs: 096943F07A
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(136003)(39860400002)(396003)(366004)(376002)(52024003)(199004)(189003)(478600001)(6512007)(6436002)(6116002)(3846002)(66066001)(6306002)(99286004)(8936002)(2616005)(81156014)(33656002)(81166006)(6246003)(8676002)(5660300002)(58126008)(36756003)(316002)(2906002)(186003)(7736002)(83716004)(71190400001)(44832011)(71200400001)(97736004)(86362001)(82746002)(110136005)(256004)(26005)(14444005)(486006)(476003)(6486002)(6506007)(229853002)(53546011)(25786009)(68736007)(106356001)(14454004)(102836004)(966005)(105586002)(305945005)(2501003)(53936002)(153083001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR07MB3949; H:VI1PR07MB3167.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: PNHRG3+/7DuaunaqCPNBKdKH+j920aYQotrLFebXFKcOrcK6wIRzONtNEPQtIxYTcQd8K42b6K+xigkcFXfWqL4xS2zpg+oWk+4o4FnD8ChPQyQPqObFG+5lzzjiQDLGIAv+OUQCMrdoyiyinvSgo+KpIBiMeZ+WpinbhZ3LHCpz2Og8mbm0erqGA/Zl2CvSfo7ENYO0qyGdJNeG3LFBsUMAAv3Q0jXAWQZ3GK38ZBVi6UXJSiSK3L4d/0C2mPDKXLSRwHoNlJI0nDRHUnUttxmj6pf/gQIYy2GwQrb5hETH2PN9sJtqKJs5Rf5Gu792efrUeWOXLTTllTerMNB8ZmAbZwPLSAPBxvk7EwApMmFtrC9wo7Ue8g0hClIMVSrVO2GahOwFBo7XQ/dPHS4GFekKUFSLDwqyIzqsky17cWk=
Content-Type: text/plain; charset="utf-8"
Content-ID: <78ECAB27E002CC409BE208809F275BE0@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 62d78ae1-9ff3-4c0d-0f9d-08d6a2ebc77c
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Mar 2019 10:58:06.5383 (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: VI1PR07MB3949
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA02Sa0hTYRjHe3fO2Y6z4et0+aAVuPqipqbdhpTlh8jEwEC6CrXyoOKctmNe P7SUIXMmippthhrOhJn3oRmCKKFZiXZRMjAcips4w8iVN6xtx6Bvv//zf573ufDShLie8qfT lNmMSilXSPlCUn+tLzc0ZkOddNT4UyRr0L4TyBzr3XzZVtcscY6I7TfMCmKNxg1erKF/gUwg bghPJzOKtBxGFR59W5i6M/6Nl2U7lVczoybUqPNkKfKgAR+HkjeTglIkpMX4NYK6VTXFCQeC 5j79rmjigW1xkO8SJK4gQGt9T3BOJQ9WrY8RJywIOiqLnK/RNB/LQLcT4mrii5VQX9zurvbB 1Qh6DW2kS/jiGgTFtZMklxUGttJWN5P4MJgHvghcLMJnoffzNuFihPfB77cveC4msB98XWjg cWtgMA5MEBxLYGl+h3KxBIeDuXyO5GrlMGia280JhPHvlt3aA/CxQYc4vgSOtR73cIBnnMOZ tQLOCIZ5/RLFsT88m1gTcElT3mCyV/A5Ix0ejtpJjvfDyPNRxCWtUtDzSeM2xJiBljbNbruD YHpkIStQqOG/jQzO8xE4CDpehXPhWCiyOiiOA6FaZxEY3IfxhjH9AtmIKBOSsAzLZqRERoYx qrS7LJupDFMy2d3I+WuGzFtRL9GQNWYYYRpJ94pEy+okMSXPYfMzhhHQhNRXNOYKiZLl+QWM KvOW6r6CYYdRAE1K/UTbYu8kMU6RZzPpDJPFqP65PNrDX43qmo5MSNS1Y4eWCaFxU7N+RWxq fDBQWkZIQfvjT2GAfXEo2kdn9PzgOXKMzJnSnFkhp+OvNsvueSmuj5y4oA3ZzA1KtMcbaxPb LhcRN8s7dQVdG4lPIxKCvAqfRMVvTF+khvImV8r2lFQVtLRXFcYpl2vvtP6yaaQzMklc9Hkp yabKI4IJFSv/Czn8FHIxAwAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/_V27JASTMo1C3HGByRLZsQ3LgNw>
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: Thu, 07 Mar 2019 10:58:14 -0000

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