Bug#303903: marked as done (chan_modem.c should set default read & write format)

Debian Bug Tracking System owner at bugs.debian.org
Sun Aug 14 07:33:28 UTC 2005


Your message dated Sun, 14 Aug 2005 00:17:05 -0700
with message-id <E1E4Cjx-0002GA-00 at spohr.debian.org>
and subject line Bug#303903: fixed in asterisk 1:1.0.9.dfsg-5
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; 9 Apr 2005 15:19:46 +0000
>From dn.tlp at gmx.net Sat Apr 09 08:19:45 2005
Return-path: <dn.tlp at gmx.net>
Received: from mail.gmx.de (mail.gmx.net) [213.165.64.20] 
	by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1DKHkP-0007xO-00; Sat, 09 Apr 2005 08:19:45 -0700
Received: (qmail invoked by alias); 09 Apr 2005 15:19:13 -0000
Received: from p5481EEB0.dip.t-dialin.net (EHLO radix.peter.home) [84.129.238.176]
  by mail.gmx.net (mp001) with SMTP; 09 Apr 2005 17:19:13 +0200
X-Authenticated: #228032
Date: Sat, 9 Apr 2005 17:19:33 +0200
From: Simon Peter <dn.tlp at gmx.net>
To: submit at bugs.debian.org
Subject: chan_modem.c should set default read & write format
Message-Id: <20050409171933.058c97c7.dn.tlp at gmx.net>
X-Mailer: Sylpheed version 1.0.1 (GTK+ 1.2.10; i386-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: multipart/mixed;
 boundary="Multipart=_Sat__9_Apr_2005_17_19_33_+0200_W7u0vKj7z8N_Hi23"
X-Y-GMX-Trusted: 0
Delivered-To: submit at 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: 

This is a multi-part message in MIME format.

--Multipart=_Sat__9_Apr_2005_17_19_33_+0200_W7u0vKj7z8N_Hi23
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Package: asterisk
Version: 1.0.7.dfsg.1-2
Tags: patch

I kept getting error messages from the RxFAX() function (of package
asterisk-app-fax), like the following:

Apr  5 22:10:26 NOTICE[31327]: Unable to find a path from slin to
unknown
Apr  5 22:10:26 WARNING[31327]: Unable to restore read format on
'Modem[i4l]/ttyI2'
Apr  5 22:10:26 NOTICE[31327]: Unable to find a path from unknown to
slin
Apr  5 22:10:26 WARNING[31327]: Unable to restore write format on
'Modem[i4l]/ttyI2'

I saw from the source that RxFAX() is trying to restore the previous
read & write formats of the channel after fax reception. However, these
are never set for a modem channel.

I don't know why they're not set, as all other channel drivers set
default read & write formats. Also, SLINEAR seems to be the only
supported format, so it shouldn't harm setting these to that value. I
attached a small patch that does this and fixes my problem without harm.

Simon

--Multipart=_Sat__9_Apr_2005_17_19_33_+0200_W7u0vKj7z8N_Hi23
Content-Type: application/octet-stream;
 name="chan_modem.patch"
Content-Disposition: attachment;
 filename="chan_modem.patch"
Content-Transfer-Encoding: base64

ZGlmZiAtdSAtciBhc3Rlcmlzay0xLjAuNy5kZnNnLjEvY2hhbm5lbHMvY2hhbl9tb2RlbS5jIGFz
dGVyaXNrLWZpeC9jaGFubmVscy9jaGFuX21vZGVtLmMKLS0tIGFzdGVyaXNrLTEuMC43LmRmc2cu
MS9jaGFubmVscy9jaGFuX21vZGVtLmMJMjAwNC0xMC0yNCAyMzoxNToyMy4wMDAwMDAwMDAgKzAy
MDAKKysrIGFzdGVyaXNrLWZpeC9jaGFubmVscy9jaGFuX21vZGVtLmMJMjAwNS0wNC0wOSAxNzow
MzowNC4wMDAwMDAwMDAgKzAyMDAKQEAgLTUyNCwxMiArNTI0LDE1IEBACiBzdHJ1Y3QgYXN0X2No
YW5uZWwgKmFzdF9tb2RlbV9uZXcoc3RydWN0IGFzdF9tb2RlbV9wdnQgKmksIGludCBzdGF0ZSkK
IHsKIAlzdHJ1Y3QgYXN0X2NoYW5uZWwgKnRtcDsKKwlpbnQgZm10ID0gYXN0X2Jlc3RfY29kZWMo
aS0+bWMtPmZvcm1hdHMpOwogCXRtcCA9IGFzdF9jaGFubmVsX2FsbG9jKDEpOwogCWlmICh0bXAp
IHsKIAkJc25wcmludGYodG1wLT5uYW1lLCBzaXplb2YodG1wLT5uYW1lKSwgIk1vZGVtWyVzXS8l
cyIsIGktPm1jLT5uYW1lLCBpLT5kZXYgKyA1KTsKIAkJdG1wLT50eXBlID0gdHlwZTsKIAkJdG1w
LT5mZHNbMF0gPSBpLT5mZDsKIAkJdG1wLT5uYXRpdmVmb3JtYXRzID0gaS0+bWMtPmZvcm1hdHM7
CisJCXRtcC0+cmVhZGZvcm1hdCA9IGZtdDsKKwkJdG1wLT53cml0ZWZvcm1hdCA9IGZtdDsKIAkJ
YXN0X3NldHN0YXRlKHRtcCwgc3RhdGUpOwogCQlpZiAoc3RhdGUgPT0gQVNUX1NUQVRFX1JJTkcp
CiAJCQl0bXAtPnJpbmdzID0gMTsK

--Multipart=_Sat__9_Apr_2005_17_19_33_+0200_W7u0vKj7z8N_Hi23--

---------------------------------------
Received: (at 303903-close) by bugs.debian.org; 14 Aug 2005 07:19:30 +0000
>From katie at spohr.debian.org Sun Aug 14 00:19:30 2005
Return-path: <katie at spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1E4Cjx-0002GA-00; Sun, 14 Aug 2005 00:17:05 -0700
From: Mark Purcell <msp at debian.org>
To: 303903-close at bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#303903: fixed in asterisk 1:1.0.9.dfsg-5
Message-Id: <E1E4Cjx-0002GA-00 at spohr.debian.org>
Sender: Archive Administrator <katie at spohr.debian.org>
Date: Sun, 14 Aug 2005 00:17:05 -0700
Delivered-To: 303903-close at 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-Level: 
X-Spam-Status: No, hits=-5.2 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
	REMOVE_REMOVAL_NEAR autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02

Source: asterisk
Source-Version: 1:1.0.9.dfsg-5

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-config_1.0.9.dfsg-5_all.deb
  to pool/main/a/asterisk/asterisk-config_1.0.9.dfsg-5_all.deb
asterisk-dev_1.0.9.dfsg-5_all.deb
  to pool/main/a/asterisk/asterisk-dev_1.0.9.dfsg-5_all.deb
asterisk-doc_1.0.9.dfsg-5_all.deb
  to pool/main/a/asterisk/asterisk-doc_1.0.9.dfsg-5_all.deb
asterisk-gtk-console_1.0.9.dfsg-5_i386.deb
  to pool/main/a/asterisk/asterisk-gtk-console_1.0.9.dfsg-5_i386.deb
asterisk-h323_1.0.9.dfsg-5_i386.deb
  to pool/main/a/asterisk/asterisk-h323_1.0.9.dfsg-5_i386.deb
asterisk-sounds-main_1.0.9.dfsg-5_all.deb
  to pool/main/a/asterisk/asterisk-sounds-main_1.0.9.dfsg-5_all.deb
asterisk-web-vmail_1.0.9.dfsg-5_all.deb
  to pool/main/a/asterisk/asterisk-web-vmail_1.0.9.dfsg-5_all.deb
asterisk_1.0.9.dfsg-5.diff.gz
  to pool/main/a/asterisk/asterisk_1.0.9.dfsg-5.diff.gz
asterisk_1.0.9.dfsg-5.dsc
  to pool/main/a/asterisk/asterisk_1.0.9.dfsg-5.dsc
asterisk_1.0.9.dfsg-5_i386.deb
  to pool/main/a/asterisk/asterisk_1.0.9.dfsg-5_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 303903 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mark Purcell <msp at debian.org> (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 at debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue,  9 Aug 2005 22:07:13 +0100
Source: asterisk
Binary: asterisk-sounds-main asterisk-h323 asterisk-web-vmail asterisk-gtk-console asterisk asterisk-config asterisk-dev asterisk-doc
Architecture: source all i386
Version: 1:1.0.9.dfsg-5
Distribution: unstable
Urgency: low
Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
Changed-By: Mark Purcell <msp at debian.org>
Description: 
 asterisk   - open source Private Branch Exchange (PBX)
 asterisk-config - config files for asterisk
 asterisk-dev - development files for asterisk
 asterisk-doc - documentation for asterisk
 asterisk-gtk-console - gtk based console for asterisk
 asterisk-h323 - asterisk H.323 VoIP channel
 asterisk-sounds-main - sound files for asterisk
 asterisk-web-vmail - Web-based (CGI) voice mail interface for Asterisk
Closes: 303903 311291 316799 318455 322115
Changes: 
 asterisk (1:1.0.9.dfsg-5) unstable; urgency=low
 .
   [ Kilian Krause ]
   * debian/control: fix GCI to read CGI. (Closes: #311291)
 .
   [ Mark Purcell ]
   * /var/lib/dpkg/info/asterisk.postinst: line 22: adduser: command not
     found (Closes: #322115)
   * debian/patches/chan-modem.dpatch from Simon Peter
     - chan_modem.c should set default read & write format (Closes:
     #303903)
   * apply patch from Jérôme Warnier
     - Asterisk autosupport script not recognized as such (Closes: #316799)
   * Updated debian/postrm:
     - 'apt-get --purge remove asterisk' removes configuration files from
     another package (Closes: #318455)
Files: 
 d1418aa5853f4bbf3db44b4409b18a1f 1257 comm optional asterisk_1.0.9.dfsg-5.dsc
 a3e58bff73576586609458b53a9fbbb1 169667 comm optional asterisk_1.0.9.dfsg-5.diff.gz
 27bc27bd5859358609ca767ab2f9ad96 1895440 doc optional asterisk-doc_1.0.9.dfsg-5_all.deb
 033b64e7625dacb3ebb942565ea28e6f 85708 devel optional asterisk-dev_1.0.9.dfsg-5_all.deb
 ee7b76d253f6030368caaad727986149 1183286 comm optional asterisk-sounds-main_1.0.9.dfsg-5_all.deb
 5c31fc37fa712d5dd179abce856c7ca9 29838 comm optional asterisk-web-vmail_1.0.9.dfsg-5_all.deb
 a4d89870e61958d99282ff165ffd779e 64052 comm optional asterisk-config_1.0.9.dfsg-5_all.deb
 757ea902312b4613fe40bffcd34f6ee4 1190842 comm optional asterisk_1.0.9.dfsg-5_i386.deb
 aaecbb145ac39bb23f935ebca509eea3 23032 comm optional asterisk-h323_1.0.9.dfsg-5_i386.deb
 79aa5a9b80c98163b21270497c518eef 31218 comm optional asterisk-gtk-console_1.0.9.dfsg-5_i386.deb

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

iD8DBQFC/u3qoCzanz0IthIRAtKIAJ9F1bgGqWGEbUYKdrnRN2sZaplEWgCgjyIM
ZEx9A/vfhUdqFEQfrkWePYE=
=TuSp
-----END PGP SIGNATURE-----




More information about the Pkg-voip-maintainers mailing list