RE: [Sip] Open Issue #7: CANCEL for non-INVITE

Jonathan Rosenberg <jdrosen@dynamicsoft.com> Fri, 07 September 2001 21:16 UTC

Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged)) by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA28634 for <sip-archive@odin.ietf.org>; Fri, 7 Sep 2001 17:16:04 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id RAA28640; Fri, 7 Sep 2001 17:02:25 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id RAA28610 for <sip@optimus.ietf.org>; Fri, 7 Sep 2001 17:02:23 -0400 (EDT)
Received: from mail1.dynamicsoft.com ([63.113.40.10]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA28315 for <sip@ietf.org>; Fri, 7 Sep 2001 17:00:56 -0400 (EDT)
Received: from DYN-EXCH-001.dynamicsoft.com (dyn-exch-001 [63.113.44.7]) by mail1.dynamicsoft.com (8.12.0.Beta7/8.12.0.Beta7) with ESMTP id f87L0WCj001782; Fri, 7 Sep 2001 17:00:32 -0400 (EDT)
Received: by DYN-EXCH-001.dynamicsoft.com with Internet Mail Service (5.5.2653.19) id <R9F8YXZP>; Fri, 7 Sep 2001 17:01:26 -0400
Message-ID: <B65B4F8437968F488A01A940B21982BF020D6806@DYN-EXCH-001.dynamicsoft.com>
From: Jonathan Rosenberg <jdrosen@dynamicsoft.com>
To: "'Henning G. Schulzrinne'" <hgs@cs.columbia.edu>, sip@ietf.org
Subject: RE: [Sip] Open Issue #7: CANCEL for non-INVITE
Date: Fri, 07 Sep 2001 17:01:22 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
Sender: sip-admin@ietf.org
Errors-To: sip-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Session Initiation Protocol <sip.ietf.org>
X-BeenThere: sip@ietf.org


 

> -----Original Message-----
> From: Henning G. Schulzrinne [mailto:hgs@cs.columbia.edu]
> Sent: Sunday, September 02, 2001 5:24 PM
> To: sip@ietf.org
> Subject: [Sip] Open Issue #7: CANCEL for non-INVITE
> 
> 
> (Due to travel, I probably missed some of the discussion, so excuse me
> for re-raising old issues.)
> 
> A few notes:
> 
> - I think the complexity of CANCEL for non-INVITE on the 
> server side is
> essentially zero. If you don't implement it, you can either return 481
> (i.e., the request has already been completed) or 405 (but see below).

Well, the proposal was pretty much that. It does nothing. Just respond to
it. The point is that a client MUSTNOT send it anymore (i.e., its deprecated
as it doesn't do anything useful).

> 
> - If we don't allow CANCEL for non-INVITE, we have to extend the
> definition of 405 (or define a new status code), since the method *is*
> supported for an INVITE for the same URL. To wit, the current 
> text says:
> 
> "The method specified in the \header{Request-Line} is not allowed for
> the
> address identified by the \header{Request-URI}.  The response {\MUST}
> include an \header{Allow} header field containing a list of valid
> methods for the indicated address."
> 
> Note that this defines the granularity of requests at the URI 
> level, not
> at the method level.
> 

Right. It wasn't the proposal to respond with a 405. Just a 200 OK, in fact.

> - Does anything else get simpler if we disallow CANCEL for non-INVITE?

The thing we want to get rid of is the usage in the client, and the
processing that, in theory, would need to happen in the server if this was
more than a no-op. For example, cancelling a SUBSCRIBE or something would
cause the subscription state to be destroyed, and a 487 to the SUBSCRIBE to
be sent. With the proposal, the server just 200 OKs the CANCEL, and
otherwise ignores it. No deletion of state. No generating of a special
response to SUBSCRIBE.

> 
> - Under the current model, non-INVITE transactions can have non-zero
> duration, if you return a 1xx response. Thus, it is at least 
> conceivable
> that there are methods where the CANCEL could actually accomplish
> something.

Well, except that you still need to cotninue retransmitting the request at
5s intervals to trigger a response. This is wasteful, and results in slow
transactions. I had thought that we had agreed as a group that non-INVITE
requests really needed to be responded to immediately to be effective.

-Jonathan R.

---
Jonathan D. Rosenberg, Ph.D.                72 Eagle Rock Ave.
Chief Scientist                             First Floor
dynamicsoft                                 East Hanover, NJ 07936
jdrosen@dynamicsoft.com                     FAX:   (973) 952-5050
http://www.jdrosen.net                      PHONE: (973) 952-5000
http://www.dynamicsoft.com

_______________________________________________
Sip mailing list  http://www1.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