Re: [Sip] SIP de-REGISTER: Expires header vs expires parameter i Contact
"Gert Olsson" <gert.olsson@ericsson.com> Mon, 26 January 2009 11:49 UTC
Return-Path: <sip-bounces@ietf.org>
X-Original-To: sip-archive@optimus.ietf.org
Delivered-To: ietfarch-sip-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CAD6028C18C; Mon, 26 Jan 2009 03:49:13 -0800 (PST)
X-Original-To: sip@core3.amsl.com
Delivered-To: sip@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1EF6E3A6AFF for <sip@core3.amsl.com>; Mon, 26 Jan 2009 03:49:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.938
X-Spam-Level:
X-Spam-Status: No, score=-5.938 tagged_above=-999 required=5 tests=[AWL=0.310, BAYES_00=-2.599, HELO_EQ_SE=0.35, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
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 FujsZ0vFkmeB for <sip@core3.amsl.com>; Mon, 26 Jan 2009 03:49:11 -0800 (PST)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id 645C928C18C for <sip@ietf.org>; Mon, 26 Jan 2009 03:49:09 -0800 (PST)
Received: from mailgw3.ericsson.se (unknown [127.0.0.1]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id AA92820D11; Mon, 26 Jan 2009 12:48:50 +0100 (CET)
X-AuditID: c1b4fb3c-ac75bbb00000304c-60-497da322b7ee
Received: from esealmw127.eemea.ericsson.se (unknown [153.88.253.125]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id 6A3A020B6C; Mon, 26 Jan 2009 12:48:50 +0100 (CET)
Received: from eseldmw101.eemea.ericsson.se ([136.225.228.103]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Mon, 26 Jan 2009 12:48:50 +0100
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Mon, 26 Jan 2009 12:48:47 +0100
Message-ID: <DA392F15190F9D40BF916AD7146E972E0C0B9327@eseldmw101.eemea.ericsson.se>
In-Reply-To: <87278613D061664392F2161B99567B870EF299098F@fmt-qex01.quintum.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: SIP de-REGISTER: Expires header vs expires parameter i Contact
Thread-Index: Acl6+jv/20UE0jY8SkKYLXKhRqw4sgAH7RKAASSDTPA=
References: <DA392F15190F9D40BF916AD7146E972E0BFDDF05@eseldmw101.eemea.ericsson.se> <87278613D061664392F2161B99567B870EF299098F@fmt-qex01.quintum.com>
From: Gert Olsson <gert.olsson@ericsson.com>
To: Neelakantan Balasubramanian <Bala_Neelakantan@Quintum.com>, sip@ietf.org
X-OriginalArrivalTime: 26 Jan 2009 11:48:50.0110 (UTC) FILETIME=[0DE6C5E0:01C97FAC]
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [Sip] SIP de-REGISTER: Expires header vs expires parameter i Contact
X-BeenThere: sip@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Session Initiation Protocol <sip.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sip>, <mailto:sip-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:sip@ietf.org>
List-Help: <mailto:sip-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sip>, <mailto:sip-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0153466733=="
Sender: sip-bounces@ietf.org
Errors-To: sip-bounces@ietf.org
Hi, Well, actually I was hoping for a 'yes' or 'no' on the question: "is it FORBIDDEN to have both ?" br /GO __________________________________________________________________| Gert Olsson / phone: +46 10 7154604 / e-mail: gert.olsson@ericsson.com Ericsson AB - Business Unit Mobile Platforms, SE-221 83 Lund, Sweden ________________________________ From: Neelakantan Balasubramanian [mailto:Bala_Neelakantan@Quintum.com] Sent: den 20 januari 2009 17:14 To: Gert Olsson; sip@ietf.org Subject: RE: SIP de-REGISTER: Expires header vs expires parameter i Contact See RFC 3261 Section 10.2.1.1 10.2.1.1 Setting the Expiration Interval of Contact Addresses When a client sends a REGISTER request, it MAY suggest an expiration interval that indicates how long the client would like the registration to be valid. (As described in Section 10.3, the registrar selects the actual time interval based on its local policy.) There are two ways in which a client can suggest an expiration interval for a binding: through an Expires header field or an "expires" Contact header parameter. The latter allows expiration intervals to be suggested on a per-binding basis when more than one binding is given in a single REGISTER request, whereas the former suggests an expiration interval for all Contact header field values that do not contain the "expires" parameter. Thanks, Neel. From: sip-bounces@ietf.org [mailto:sip-bounces@ietf.org] On Behalf Of Gert Olsson Sent: Tuesday, January 20, 2009 6:26 AM To: sip@ietf.org Subject: [Sip] SIP de-REGISTER: Expires header vs expires parameter i Contact Hi, SIP de-registration is performed by sending a REGISTER message with either a Contact header containing an 'expires=0' parameter or an Expires header with value 0. My question is: is it FORBIDDEN to have both? Shouldn't any decent server, if it has found 'expires=0' in the Contact header (or in all if many), just happily ignore an Expires header? [Neelakantan Bala] See RFC 3261 Section 10.2.1.1 10.2.1.1 Setting the Expiration Interval of Contact Addresses When a client sends a REGISTER request, it MAY suggest an expiration interval that indicates how long the client would like the registration to be valid. (As described in Section 10.3, the registrar selects the actual time interval based on its local policy.) There are two ways in which a client can suggest an expiration interval for a binding: through an Expires header field or an "expires" Contact header parameter. The latter allows expiration intervals to be suggested on a per-binding basis when more than one binding is given in a single REGISTER request, whereas the former suggests an expiration interval for all Contact header field values that do not contain the "expires" parameter. Thanks, Neel. br /GO __________________________________________________________________| Gert Olsson / phone: +46 10 7154604 / e-mail: gert.olsson@ericsson.com Ericsson AB - Business Unit Mobile Platforms, SE-221 83 Lund, Sweden
_______________________________________________ Sip mailing list https://www.ietf.org/mailman/listinfo/sip This list is for NEW development of the core SIP Protocol Use sip-implementors@cs.columbia.edu for questions on current sip Use sipping@ietf.org for new developments on the application of sip
- [Sip] SIP de-REGISTER: Expires header vs expires … Gert Olsson
- Re: [Sip] SIP de-REGISTER: Expires header vs expi… Neelakantan Balasubramanian
- Re: [Sip] SIP de-REGISTER: Expires header vs expi… Gert Olsson
- Re: [Sip] SIP de-REGISTER: Expires header vs expi… Dale Worley
- Re: [Sip] SIP de-REGISTER: Expires header vs expi… Francois Audet