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

Jonathan Rosenberg <jdrosen@dynamicsoft.com> Fri, 24 August 2001 07:39 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 DAA26852 for <sip-archive@odin.ietf.org>; Fri, 24 Aug 2001 03:39:01 -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 DAA19947; Fri, 24 Aug 2001 03:20:49 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id DAA19914 for <sip@ns.ietf.org>; Fri, 24 Aug 2001 03:20:46 -0400 (EDT)
Received: from mail1.dynamicsoft.com ([63.113.40.10]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA26732 for <sip@ietf.org>; Fri, 24 Aug 2001 03:19:29 -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 f7O7JQrN000103; Fri, 24 Aug 2001 03:19:26 -0400 (EDT)
Received: by DYN-EXCH-001.dynamicsoft.com with Internet Mail Service (5.5.2653.19) id <RBX3AZWZ>; Fri, 24 Aug 2001 03:20:15 -0400
Message-ID: <B65B4F8437968F488A01A940B21982BF020D6659@DYN-EXCH-001.dynamicsoft.com>
From: Jonathan Rosenberg <jdrosen@dynamicsoft.com>
To: 'Shail Bhatnagar' <shbhatna@cisco.com>, Kim Liu <kliu@lucent.com>
Cc: Jonathan Rosenberg <jdrosen@dynamicsoft.com>, "'sip@ietf.org'" <sip@ietf.org>
Subject: RE: [Sip] Open Issue #7: CANCEL for non-INVITE
Date: Fri, 24 Aug 2001 03:20:07 -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: Shail Bhatnagar [mailto:shbhatna@cisco.com]
> Sent: Thursday, August 23, 2001 3:28 PM
> To: Kim Liu
> Cc: Jonathan Rosenberg; 'sip@ietf.org'
> Subject: Re: [Sip] Open Issue #7: CANCEL for non-INVITE
> 
> 
> Kim Liu wrote:
> 
> My take is that although CANCEL for non-INVITE is academic,
> it should be allowed. Main reason is to not make special checks
> in the state machine about original method and this CANCEL.

This argument would be true if the cost of the CANCEL for non-INVITE was
otherwise nil. But, thats not true. What happens if the CANCEL actually
beats the server to sending the final response? Now, you have to actually
cancel it. How does one CANCEL a SUBSCRIBE? A NOTIFY? An OPTIONS? Each
method would need special code. 

Furthermore, since its usage is always a race condition, an entity that
sends CANCEL would always need to handle the case where the cancel works and
doesn't work. Thus, its extra work to do this.


Note that I have stipulted that for backwards compatibility, if you get a
CANCEL for non-INVITE, you still respond to it, but otherwise do nothing. In
that sense, its "allowed", but we explicitly define it as a no-op.

-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