Bug#262011: marked as done (asterisk: SIP cancels fail due to Request-URI mismatch)
Debian Bug Tracking System
owner@bugs.debian.org
Sat, 14 Aug 2004 11:33:17 -0700
Your message dated Sat, 14 Aug 2004 14:17:08 -0400
with message-id <E1Bw35Y-0004vP-00@newraff.debian.org>
and subject line Bug#262011: fixed in asterisk 1:0.9.1+1.0RC1-6
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 29 Jul 2004 13:05:06 +0000
>From jan@gondor.com Thu Jul 29 06:05:06 2004
Return-path: <jan@gondor.com>
Received: from mail.gondor.com (moria.gondor.com) [212.117.64.182]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1BqAao-00049v-00; Thu, 29 Jul 2004 06:05:06 -0700
Received: from sirith.gondor.com (sirith.gondor.com [10.1.0.2])
by moria.gondor.com (8.12.3/8.12.3/Debian-6.6) with ESMTP id i6TD54nC017664;
Thu, 29 Jul 2004 15:05:04 +0200
Received: from jan by sirith.gondor.com with local (Exim 4.34)
id 1BqAam-00063J-Fe; Thu, 29 Jul 2004 15:05:04 +0200
Date: Thu, 29 Jul 2004 15:05:04 +0200
From: Jan Niehusmann <jan@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: asterisk: SIP cancels fail due to Request-URI mismatch
Message-ID: <20040729130504.GA22521@gondor.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 2.63
X-Request-PGP: http://gondor.com/key.asc
User-Agent: Mutt/1.5.6+20040523i
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
Package: asterisk
Severity: normal
Tags: patch
This bug is known to and fixed by upstream (http://bugs.digium.com/bug_view_page.php?bug_id=0002134).
Could you consider applying the following patch (from upstream CVS)? Of
course, upgrading to a current CVS checkout would do the trick as well.
Index: channels/chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.460
retrieving revision 1.461
diff -u -1 -b -p -r1.460 -r1.461
--- channels/chan_sip.c 22 Jul 2004 23:16:40 -0000 1.460
+++ channels/chan_sip.c 27 Jul 2004 04:04:45 -0000 1.461
@@ -3107,4 +3107,6 @@ static int reqprep(struct sip_request *r
}
-
- if (!ast_strlen_zero(p->uri)) {
+ if (!strcasecmp(msg, "CANCEL")) {
+ /* MUST use original URI */
+ c = p->initreq.rlPart2;
+ } else if (!ast_strlen_zero(p->uri)) {
c = p->uri;
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.22
Locale: LANG=C, LC_CTYPE=de_DE@euro
---------------------------------------
Received: (at 262011-close) by bugs.debian.org; 14 Aug 2004 18:23:19 +0000
>From katie@ftp-master.debian.org Sat Aug 14 11:23:19 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1Bw3BX-00033P-00; Sat, 14 Aug 2004 11:23:19 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1Bw35Y-0004vP-00; Sat, 14 Aug 2004 14:17:08 -0400
From: Kilian Krause <kk@verfaction.de>
To: 262011-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#262011: fixed in asterisk 1:0.9.1+1.0RC1-6
Message-Id: <E1Bw35Y-0004vP-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sat, 14 Aug 2004 14:17:08 -0400
Delivered-To: 262011-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
Source: asterisk
Source-Version: 1:0.9.1+1.0RC1-6
We believe that the bug you reported is fixed in the latest version of
asterisk, which is due to be installed in the Debian FTP archive:
asterisk-dev_0.9.1+1.0RC1-6_all.deb
to pool/main/a/asterisk/asterisk-dev_0.9.1+1.0RC1-6_all.deb
asterisk-doc_0.9.1+1.0RC1-6_all.deb
to pool/main/a/asterisk/asterisk-doc_0.9.1+1.0RC1-6_all.deb
asterisk-sounds_0.9.1+1.0RC1-6_all.deb
to pool/main/a/asterisk/asterisk-sounds_0.9.1+1.0RC1-6_all.deb
asterisk_0.9.1+1.0RC1-6.diff.gz
to pool/main/a/asterisk/asterisk_0.9.1+1.0RC1-6.diff.gz
asterisk_0.9.1+1.0RC1-6.dsc
to pool/main/a/asterisk/asterisk_0.9.1+1.0RC1-6.dsc
asterisk_0.9.1+1.0RC1-6_i386.deb
to pool/main/a/asterisk/asterisk_0.9.1+1.0RC1-6_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 262011@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Kilian Krause <kk@verfaction.de> (supplier of updated asterisk package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 14 Aug 2004 14:05:36 +0000
Source: asterisk
Binary: asterisk asterisk-sounds asterisk-dev asterisk-doc
Architecture: source all i386
Version: 1:0.9.1+1.0RC1-6
Distribution: unstable
Urgency: low
Maintainer: Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>
Changed-By: Kilian Krause <kk@verfaction.de>
Description:
asterisk - Open Source Private Branch Exchange (PBX)
asterisk-dev - Development files for asterisk
asterisk-doc - Documentation for asterisk
asterisk-sounds - Sound files for asterisk
Closes: 262011 265036
Changes:
asterisk (1:0.9.1+1.0RC1-6) unstable; urgency=low
.
* debian/control: suggest gnomemeeting. (At least tell people, which clients
they need) Also add dpatch as Build-Dep. (Closes: #265036)
* Closes: #262011: SIP cancels fail due to Request-URI mismatch
* debian/patches/20_chan_sip.dpatch: Apply chan_sip patch from Jan Niehusmann
Files:
a291140b68d07063e80b942562b63742 1150 comm optional asterisk_0.9.1+1.0RC1-6.dsc
e76be4c2374324d1e8c1109b1b13f4de 29460 comm optional asterisk_0.9.1+1.0RC1-6.diff.gz
1f007f092d0faff8c4ba82b21e75fb37 1412346 doc optional asterisk-doc_0.9.1+1.0RC1-6_all.deb
9d81c936136538e1e01e229cbb57240e 73312 devel optional asterisk-dev_0.9.1+1.0RC1-6_all.deb
0162aec9ef5744e4c2bcb47a90be5f83 1516762 comm optional asterisk-sounds_0.9.1+1.0RC1-6_all.deb
c746022549ad0acf6fce04bb0bc51806 1260626 comm optional asterisk_0.9.1+1.0RC1-6_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBHlOvS+BYJZB4jhERAjqFAKC2Nu0FP3qGVRqirWuBMeMA+pkqGACgl7VG
UfDepVEp4MimkdF/cCYSsK0=
=rg4P
-----END PGP SIGNATURE-----