Your message dated Sat, 27 Jun 2009 16:04:50 +0000
with message-id <[email protected]>
and subject line Bug#521802: fixed in smstools 3.1-2+lenny1
has caused the Debian Bug report #521802,
regarding smstools: SMS messages lost due to timeouts
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
521802: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521802
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: smstools
Version: 3.1-2
Severity: important

Hi

Not all the SMS messages are sent. Apparently it does not wait long enough for 
a reaction of the modem.

This has been fixed by upstream with the following comment (it would be 
appreciated if you could look into fixing this in stable):

In the version 3.1.5beta6 there is a modem setting read_timeout 
available for solving this kind of problems. Next beta7 will also have 
doubled timeouts by default.

If any previous version should be changed, you can find "Send modem 
command" in the file smsd.c. There are following lines:

Code: Select all
           // Send modem command
           put_command(modem, 
devices[device].name,devices[device].send_delay, command, answer, 
sizeof(answer), 50, "(>)|(ERROR)");
           // Send message if command was successful
           if (! strstr(answer,"ERROR"))
             put_command(modem, 
devices[device].name,devices[device].send_delay, command2, answer 
,sizeof(answer), 300, "(OK)|(ERROR)");
           // Check answer
           if (strstr(answer,"OK"))


Change the number 50 to 100 or 150, and number 300 bigger if necessary 
(probably it's not necessary). Then recompile and cp smsd `wich smsd` 

Cheers

Luk

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages smstools depends on:
ii  adduser                       3.110      add and remove users and groups
ii  debconf                       1.5.24     Debian configuration management sy
ii  libc6                         2.7-18     GNU C Library: Shared libraries
ii  libmm14                       1.4.2-3    Shared memory library - runtime
ii  ucf                           3.0016     Update Configuration File: preserv



--- End Message ---
--- Begin Message ---
Source: smstools
Source-Version: 3.1-2+lenny1

We believe that the bug you reported is fixed in the latest version of
smstools, which is due to be installed in the Debian FTP archive:

smstools_3.1-2+lenny1.diff.gz
  to pool/main/s/smstools/smstools_3.1-2+lenny1.diff.gz
smstools_3.1-2+lenny1.dsc
  to pool/main/s/smstools/smstools_3.1-2+lenny1.dsc
smstools_3.1-2+lenny1_i386.deb
  to pool/main/s/smstools/smstools_3.1-2+lenny1_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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Patrick Schoenfeld <[email protected]> (supplier of updated smstools 
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 [email protected])


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

Format: 1.8
Date: Fri, 03 Apr 2009 11:54:55 +0200
Source: smstools
Binary: smstools
Architecture: source i386
Version: 3.1-2+lenny1
Distribution: stable
Urgency: low
Maintainer: Mark Purcell <[email protected]>
Changed-By: Patrick Schoenfeld <[email protected]>
Description: 
 smstools   - SMS server tools for GSM modems
Closes: 505681 521802
Changes: 
 smstools (3.1-2+lenny1) stable; urgency=low
 .
   * Updated maintainer email address
   * Put patch for disabling logging functions which are not thread-safe into
     series file and fix the patch, so it actually gets applied
     (Closes: #505681)
   * Increase timeouts when sending messages, because otherwise sometimes
     mesages are not sent (Closes: #521802)
Checksums-Sha1: 
 e861b9fdaf8516a55fa6a4dea24d0a709ca4695a 1235 smstools_3.1-2+lenny1.dsc
 161f3f52a2eae33e35b0e33d8a230fae7d3ab594 26966 smstools_3.1-2+lenny1.diff.gz
 893d29b8ece71f3aca442db8b657f4e336da5a01 241976 smstools_3.1-2+lenny1_i386.deb
Checksums-Sha256: 
 865ce4cc9b97c7bad4c65f12bb052c19c39998e32b0a45a6160503194933d09b 1235 
smstools_3.1-2+lenny1.dsc
 33c1bd74e2b87c0969999ced6480fdc3cc5b20a7c9a9cabaebe8f4d9c6a0d55a 26966 
smstools_3.1-2+lenny1.diff.gz
 b4ad626f2adee819e04bd64374bd6feee1e756d184e141f7733f7f72262cfe46 241976 
smstools_3.1-2+lenny1_i386.deb
Files: 
 032509c262b9b80f14fc103ae48e70f3 1235 comm optional smstools_3.1-2+lenny1.dsc
 5ba9227798a593a5be592b43804d0d09 26966 comm optional 
smstools_3.1-2+lenny1.diff.gz
 d56180db34f46732404fe1b6ee19d0da 241976 comm optional 
smstools_3.1-2+lenny1_i386.deb

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

iEYEARECAAYFAknV7CIACgkQbdB4RPTVesqKVQCfR7WbsMl7pU7ENWbegUG0IDMV
x5AAn32xSbZfjFKQ9ICNgPc415CkppXA
=AVkW
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to