Bug#299912: marked as done (asterisk: malformed ack reponse messages for 200 OK go to RTP messages)

Debian Bug Tracking System owner@bugs.debian.org
Mon, 11 Apr 2005 13:03:16 -0700


Your message dated Mon, 11 Apr 2005 21:48:04 +0200
with message-id <1113248884.4620.0.camel@mars>
and subject line closing as requested
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; 17 Mar 2005 10:33:15 +0000
>From noc-minor@fx.net.nz Thu Mar 17 02:33:15 2005
Return-path: <noc-minor@fx.net.nz>
Received: from bm-1a.paradise.net.nz (linda-1.paradise.net.nz) [202.0.58.20] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DBsJX-0004gE-00; Thu, 17 Mar 2005 02:33:15 -0800
Received: from smtp-3.paradise.net.nz (smtp-3a.paradise.net.nz [202.0.32.196])
 by linda-1.paradise.net.nz (Paradise.net.nz)
 with ESMTP id <0IDH004H9RZDRA@linda-1.paradise.net.nz> for
 submit@bugs.debian.org; Thu, 17 Mar 2005 23:33:13 +1300 (NZDT)
Received: from munter (203-96-154-164.paradise.net.nz [203.96.154.164])
	by smtp-3.paradise.net.nz (Postfix) with ESMTP id 68312AE3C7	for
 <submit@bugs.debian.org>; Thu, 17 Mar 2005 23:33:13 +1300 (NZDT)
Received: from root by munter with local (Exim 3.36 #1 (Debian))
	id 1DBsJW-0004vD-00	for <submit@bugs.debian.org>; Thu,
 17 Mar 2005 23:33:14 +1300
Date: Thu, 17 Mar 2005 23:33:14 +1300
From: Jamie Baddeley <noc-minor@fx.net.nz>
Subject: asterisk: malformed ack reponse messages for 200 OK go to RTP messages
To: Debian Bug Tracking System <submit@bugs.debian.org>
Message-id: <E1DBsJW-0004vD-00@munter>
MIME-version: 1.0
X-Mailer: reportbug 3.8
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(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_2005_01_02
X-Spam-Level: 

Package: asterisk
Version: 1:1.0.5-2
Severity: important



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages asterisk depends on:
ii  asterisk-config       1:1.0.5-2          config files for asterisk
ii  asterisk-sounds-main  1:1.0.5-2          sound files for asterisk
ii  libasound2            1.0.8-3            ALSA library
ii  libc6                 2.3.2.ds1-20       GNU C Library: Shared libraries an
ii  libedit2              2.9.cvs.20040827-1 BSD editline and history libraries
ii  libgsm1               1.0.10-13          Shared libraries for GSM speech co
ii  libncurses5           5.4-4              Shared libraries for terminal hand
ii  libpq3                7.4.7-2            PostgreSQL C client library
ii  libpri1               1.0.4-2            Primary Rate ISDN specification li
ii  libspeex1             1.0.rel.4-1        The Speex Speech Codec
ii  libssl0.9.7           0.9.7e-2           SSL shared libraries
ii  libtonezone1          1:1.0.4-3          tonezone library (runtime)
ii  unixodbc              2.2.4-11           ODBC tools libraries
ii  zlib1g                1:1.2.2-3          compression library - runtime

-- no debconf information

I've had problems with Asterisk 1.0.5-2. It seems that the ack messages to a
200 OK message (i.e ack'ing a 'go to channel') message are malformed. I have
two systems, one, which works, running asterisk 1.0.2 and 1.0.5 which is
faulty. The good system registers with SER as 4748880, the bad system
registers as 4980066. Aside from that, the configurations of the two are
identical. In both tests, I am trying to call 044989644.

As the following ack messages show, the key difference is in the Contact:
field. The good system shows the calling party, the bad system shows the
called number in the Contact: field.

I downgraded the 1.0.5 system to 1.0.2 (taking care to keep the configs
untouched) and it spluttered into life. This proves the other elements of
the system are OK (i.e phones/SER etc)

Practically speaking the fault makes itself apparent by outbound calls
clearing prematurely. On a Cisco AS5300 voice gateway, once the timer
expires after 19/20 seconds, the call is cleared. The AS5300 seems to ignore
the malformed ack, and repeats the 200 OK message - presumably because it
gets no understandable Ack, it repeats itself. Inbound calls are OK.

[Good]

U 202.53.189.50:5060 -> 202.7.4.40:5060
  ACK sip:044989644@202.7.4.40:5060 SIP/2.0..Max-Forwards: 10..Via:
SIP/2.0/UDP 202.53.189.50;branch=0..Via: SIP/2.0/UDP 202.53.189.20:5
  060;branch=z9hG4bK24d4aca4..From: "4748880"
<sip:4748880@202.53.189.20>;tag=as45321fc3..To:
<sip:044989644@vixen.fx.net.nz>;tag=B44866E0-1F8
..Contact: <sip:4748880@202.53.189.20>..Call-ID:
76f3be1e13c64bee51f667794998be51@202.53.189.20..CSeq: 103
ACK..User-Agent: Aste
  risk PBX..Content-Length: 0....

[bad]

U 202.53.189.50:5060 -> 202.7.4.40:5060
  ACK sip:044989644@202.7.4.40:5060 SIP/2.0..Max-Forwards: 10..Via:
SIP/2.0/UDP 202.53.189.50;branch=0..Via: SIP/2.0/UDP 161.29.255.254:
  5060;branch=z9hG4bK78460bfc..From: "4980066"
<sip:4980066@161.29.255.254>;tag=as149ab473..To:
<sip:044989644@vixen.fx.net.nz>;tag=B44A670C-BC3
..Contact: <sip:1044989644@161.29.255.254>..Call-ID:
221912984d7c51572d53649740013819@161.29.255.254..CSeq: 103
ACK..User-Agen
  t: Asterisk PBX..Content-Length: 0....

Cheers

jamie

---------------------------------------
Received: (at 299912-done) by bugs.debian.org; 11 Apr 2005 19:48:09 +0000
>From kk@verfaction.de Mon Apr 11 12:48:09 2005
Return-path: <kk@verfaction.de>
Received: from nyx.verfaction.de (mx.verfaction.de) [212.9.161.72] (Debian-exim)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DL4tF-0001gJ-00; Mon, 11 Apr 2005 12:48:09 -0700
Received: from [3ffe:400:d00:7357:204:23ff:fe4e:d499] (helo=[IPv6:3ffe:400:d00:7357:204:23ff:fe4e:d499])
	by mx.verfaction.de with esmtpsa (TLS-1.0:RSA_ARCFOUR_MD5:16)
	(Exim 4.50)
	id 1DL4tD-0001O5-RX
	for 299912-done@bugs.debian.org; Mon, 11 Apr 2005 21:48:08 +0200
From: Kilian Krause <kk@verfaction.de>
To: 299912-done@bugs.debian.org
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-o7lomLsXUJdyt2jx056f"
Date: Mon, 11 Apr 2005 21:48:04 +0200
Message-Id: <1113248884.4620.0.camel@mars>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
X-Broken-Reverse-DNS: no host name found for IP address 3ffe:400:d00:7357:204:23ff:fe4e:d499
X-SA-Exim-Connect-IP: 3ffe:400:d00:7357:204:23ff:fe4e:d499
X-SA-Exim-Mail-From: kk@verfaction.de
Subject: closing as requested
X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:44:12 +0100)
Delivered-To: 299912-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


--=-o7lomLsXUJdyt2jx056f
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

closing as bug is reported fixed.

--=-o7lomLsXUJdyt2jx056f
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Dies ist ein digital signierter Nachrichtenteil

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBCWtR0vdkzt4X+wX8RAm7CAJ9QvyoWZ/jifj1ogh0fM0IAgLMXJwCfTeyI
e39PoVBDzeA3uS1EsOoDNEw=
=p6/8
-----END PGP SIGNATURE-----

--=-o7lomLsXUJdyt2jx056f--