Re: [Sip] Open Issue #7: CANCEL for non-INVITE
Kim Liu <kliu@lucent.com> Thu, 23 August 2001 19:53 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 PAA00275 for <sip-archive@odin.ietf.org>; Thu, 23 Aug 2001 15:53:06 -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 PAA19658; Thu, 23 Aug 2001 15:47:06 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id PAA19569 for <sip@ns.ietf.org>; Thu, 23 Aug 2001 15:47:01 -0400 (EDT)
Received: from daimanta.ascend.com (daimanta.bos.ascend.com [152.148.40.20]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA00135 for <sip@ietf.org>; Thu, 23 Aug 2001 15:45:43 -0400 (EDT)
Received: from reddog.casc.com (reddog.ascend.com [152.148.100.22]) by daimanta.ascend.com (8.9.3/8.9.3) with ESMTP id PAA00956; Thu, 23 Aug 2001 15:46:32 -0400 (EDT)
Received: from lucent.com ([152.148.210.204]) by reddog.casc.com (8.8.8+Sun/8.8.8) with ESMTP id PAA05249; Thu, 23 Aug 2001 15:18:57 -0400 (EDT)
Message-ID: <3B855D97.9E640C10@lucent.com>
Date: Thu, 23 Aug 2001 15:46:31 -0400
From: Kim Liu <kliu@lucent.com>
Organization: Lucent Technologies
X-Mailer: Mozilla 4.72 [en] (X11; I; SunOS 5.8 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: Shail Bhatnagar <shbhatna@cisco.com>
CC: Jonathan Rosenberg <jdrosen@dynamicsoft.com>, "'sip@ietf.org'" <sip@ietf.org>
Subject: Re: [Sip] Open Issue #7: CANCEL for non-INVITE
References: <B65B4F8437968F488A01A940B21982BF020D662A@DYN-EXCH-001.dynamicsoft.com> <3B853990.92A26E8F@lucent.com> <3B85593B.603B7D16@cisco.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
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
Content-Transfer-Encoding: 7bit
What special check? if (cancel.method != INVITE) do_error_respose(); You would have to make checks in any case to validate the CANCEL from an authentication/authorization level, to see if the method the CANCEL was referring to actually existed, etc. There already have to be places in the message processing where a CANCEL can be rejected due to various reasons. Or, inversely, if CANCEL is allowed for non-INVITEs, then you have to make a special check to see if the original method was an INVITE, to send back the 487 until receiving an ACK, etc. Shail Bhatnagar wrote: > > 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. > > > > > Limit CANCEL for INVITE only. Trying to handle CANCELs > > for all/arbitrary methods otherwise is going to be prohibitively > > complex task -- it will end up as a bunch of special > > cases -- i.e. if CANCEL is allowed for all methods, > > how do you treat a CANCEL for a CANCEL? A CANCEL for > > a BYE? A CANCEL for an ACK? That's ridiculous -- > > you automatically end up with more special cases for > > handling CANCEL to handle CANCELs for methods where > > CANCEL makes no sense. > > > > It's a case of confusing an application specific > > signal (trying to stop a service/application started > > by another method) with a generic procotol level > > signal (CANCEL). Since only INVITE and BYE can > > start/change/stop a call, every other method almost > > has to be an application or service specific > > invocation, rather than session affecting -- if > > this assumption is made, then CANCEL, as a session > > level signal, is not apropriate for halting a > > service. > > > > Kim > > > > _______________________________________________ > > 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 > > _______________________________________________ > 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 _______________________________________________ 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
- [Sip] Open Issue #7: CANCEL for non-INVITE Jonathan Rosenberg
- RE: [Sip] Open Issue #7: CANCEL for non-INVITE Rosen, Brian
- Re: [Sip] Open Issue #7: CANCEL for non-INVITE Vijay Gurbani
- Re: [Sip] Open Issue #7: CANCEL for non-INVITE Kim Liu
- Re: [Sip] Open Issue #7: CANCEL for non-INVITE Shail Bhatnagar
- Re: [Sip] Open Issue #7: CANCEL for non-INVITE Kim Liu
- RE: [Sip] Open Issue #7: CANCEL for non-INVITE Jonathan Rosenberg
- RE: [Sip] Open Issue #7: CANCEL for non-INVITE Brett Tate
- RE: [Sip] Open Issue #7: CANCEL for non-INVITE Drage, Keith (Keith)
- [Sip] Open Issue #7: CANCEL for non-INVITE Henning G. Schulzrinne
- RE: [Sip] Open Issue #7: CANCEL for non-INVITE Jonathan Rosenberg
- Re: [Sip] Open Issue #7: CANCEL for non-INVITE Christer Holmberg
- Re: [Sip] Open Issue #7: CANCEL for non-INVITE Henning Schulzrinne
- Re: [Sip] Open Issue #7: CANCEL for non-INVITE Rohan Mahy
- Re: [Sip] Open Issue #7: CANCEL for non-INVITE Suheel Hussain
- Re: [Sip] Open Issue #7: CANCEL for non-INVITE Bob Penfield
- RE: [Sip] Open Issue #7: CANCEL for non-INVITE Drage, Keith (Keith)
- RE: [Sip] Open Issue #7: CANCEL for non-INVITE Robert Sparks
- RE: [Sip] Open Issue #7: CANCEL for non-INVITE Drage, Keith (Keith)
- RE: [Sip] Open Issue #7: CANCEL for non-INVITE Robert Sparks
- RE: [Sip] Open Issue #7: CANCEL for non-INVITE Jonathan Rosenberg
- Re: [Sip] Open Issue #7: CANCEL for non-INVITE Christer Holmberg
- Re: [Sip] Open Issue #7: CANCEL for non-INVITE Henning G. Schulzrinne
- Re: [Sip] Open Issue #7: CANCEL for non-INVITE Henning G. Schulzrinne
- Re: [Sip] Open Issue #7: CANCEL for non-INVITE Gonzalo Camarillo
- Re: [Sip] Open Issue #7: CANCEL for non-INVITE Anders Kristensen
- RE: [Sip] Open Issue #7: CANCEL for non-INVITE James Undery
- Re: [Sip] Open Issue #7: CANCEL for non-INVITE Henning G. Schulzrinne
- Re: [Sip] Open Issue #7: CANCEL for non-INVITE Bob Penfield
- RE: [Sip] Open Issue #7: CANCEL for non-INVITE Drage, Keith (Keith)
- Re: [Sip] Open Issue #7: CANCEL for non-INVITE Christer Holmberg
- RE: [Sip] Open Issue #7: CANCEL for non-INVITE Jonathan Rosenberg
- Re: [Sip] Open Issue #7: CANCEL for non-INVITE Bob Penfield
- RE: [Sip] Open Issue #7: CANCEL for non-INVITE James Undery
- RE: [Sip] Open Issue #7: CANCEL for non-INVITE Jo Hornsby
- Re: [Sip] Open Issue #7: CANCEL for non-INVITE Henning Schulzrinne
- RE: [Sip] Open Issue #7: CANCEL for non-INVITE Drage, Keith (Keith)