Discussion:
1.1.35 released
(too old to reply)
Gert Doering
2006-02-22 14:22:51 UTC
Permalink
Hi,

JFYI, I have just released mgetty 1.1.35.

Major news:

- class 1 fax reception is working (but should be considered "not very
well tested against various modem misbehaviours") - the main usage is
"use together with IAXmodem and Asterisk VoIP servers".

class 1 sending is *not* working today.

This code needs to be enabled by compiling with CFLAGS=-DCLASS1.

Distributors: please do NOT do that for your binary distributions
today (or if you do, please answer all the support questions)


- the file format for "acct.log" has been massively overhauled - the
new format is easier to parse, and should be as easy to read for
humans

- added a man page for faxq-helper(8)

- some small bugfixes for corner cases


Download as usual from ftp://mgetty.greenie.net/pub/mgetty/source/1.1/

have fun,

gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany ***@greenie.muc.de
fax: +49-89-35655025 ***@net.informatik.tu-muenchen.de

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Andreas Barth
2006-02-22 20:06:01 UTC
Permalink
Hi Gert,
Post by Gert Doering
- class 1 fax reception is working (but should be considered "not very
well tested against various modem misbehaviours") - the main usage is
"use together with IAXmodem and Asterisk VoIP servers".
class 1 sending is *not* working today.
This code needs to be enabled by compiling with CFLAGS=-DCLASS1.
Distributors: please do NOT do that for your binary distributions
today (or if you do, please answer all the support questions)
would you consider it possible / appropriate to upload such a binary to
the experimental distribution of Debian? This distribution is for
testing of new upstream features etc and marked as especially dangerous.
Of course, I can fully understand if you prefer me rather to not upload
such a package. :)


Cheers,
Andi
--
http://home.arcor.de/andreas-barth/

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Gert Doering
2006-02-22 21:00:39 UTC
Permalink
Hi,
Post by Andreas Barth
Post by Gert Doering
- class 1 fax reception is working (but should be considered "not very
[..]
Post by Andreas Barth
would you consider it possible / appropriate to upload such a binary to
the experimental distribution of Debian? This distribution is for
testing of new upstream features etc and marked as especially dangerous.
Of course, I can fully understand if you prefer me rather to not upload
such a package. :)
Well, the point is that class 1 reception "might work or might not work",
and if it doesn't work, debugging it can be fairly tricky, given that
I don't have very much experience with it yet. It could be timing issues
(slow machines, too much I/O going on, ...) or protocol issues (frames
decoded incorrectly, T.30 state machine not compatible to certain remote
fax machines, ...).

So: if you can put a warning label on it "please be aware that the
class 1 code is really new, and if it doesn't work for you, we'll need
*your* help in diagnosing it", uploading it to "testing" would be fine
with me.

It's just that distribution users have become pretty demanding in the
recent years - "it came on a box I paid for, and in Linux everything
is free, so you must give me all possible support!!!" - and if this
happens with the new stuff, disappointment is guranteed...

gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany ***@greenie.muc.de
fax: +49-89-35655025 ***@net.informatik.tu-muenchen.de

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Andreas Barth
2006-04-20 20:49:32 UTC
Permalink
Post by Gert Doering
- the file format for "acct.log" has been massively overhauled - the
new format is easier to parse, and should be as easy to read for
humans
there is a spelling error in faxrunq that leads to failures:
--- mgetty.orig/fax/faxrunq.in 2006-04-16 21:57:10.000000000 +0200
+++ mgetty/fax/faxrunq.in 2006-04-20 23:46:53.496524160 +0200
@@ -243,7 +243,7 @@
$echo "Status "`date`" successfully sent" >>JOB

# update accounting log
- $echo `dirname $job`"|$MAIL_TO|| $PHONE |0|"`date '+%Y%m%d %H:%M:%S`"|$AH|success" >>$FAX_ACCT
+ $echo `dirname $job`"|$MAIL_TO|| $PHONE |0|"`date '+%Y%m%d %H:%M:%S'`"|$AH|success" >>$FAX_ACCT

# send mail, if requested
if [ -n "$do_mail_s" ] ; then


Cheers,
Andi
--
http://home.arcor.de/andreas-barth/

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Gert Doering
2006-04-20 21:00:04 UTC
Permalink
Hi,
Post by Andreas Barth
Post by Gert Doering
- the file format for "acct.log" has been massively overhauled - the
new format is easier to parse, and should be as easy to read for
humans
--- mgetty.orig/fax/faxrunq.in 2006-04-16 21:57:10.000000000 +0200
+++ mgetty/fax/faxrunq.in 2006-04-20 23:46:53.496524160 +0200
@@ -243,7 +243,7 @@
Actually, it's wrong in three different places :-)

gert
------------- snip --------------
Index: faxrunq.in
===================================================================
RCS file: /u2/cvs/mgetty/fax/faxrunq.in,v
retrieving revision 4.19
retrieving revision 4.20
diff -u -r4.19 -r4.20
--- faxrunq.in 19 Jan 2006 14:44:23 -0000 4.19
+++ faxrunq.in 9 Apr 2006 16:48:21 -0000 4.20
@@ -11,9 +11,12 @@
# For heavy-duty usage (multiple lines, many 100 faxes per day), check
# out faxrunqd.
#
-# RCS: $Id: faxrunq.in,v 4.19 2006/01/19 14:44:23 gert Exp $ Copyright (C) 1994 Gert Doering
+# RCS: $Id: faxrunq.in,v 4.20 2006/04/09 16:48:21 gert Exp $ Copyright (C) 1994 Gert Doering
#
# $Log: faxrunq.in,v $
+# Revision 4.20 2006/04/09 16:48:21 gert
+# fix quoting bug in `date` command (for acct.log) - Klaus Weglehner
+#
# Revision 4.19 2006/01/19 14:44:23 gert
# new acct.log format (see faxrunqd: 1.70->1.71 for details)
#
@@ -243,7 +246,7 @@
$echo "Status "`date`" successfully sent" >>JOB

# update accounting log
- $echo `dirname $job`"|$MAIL_TO|| $PHONE |0|"`date '+%Y%m%d %H:%M:%S`"|$AH|success" >>$FAX_ACCT
+ $echo `dirname $job`"|$MAIL_TO|| $PHONE |0|"`date '+%Y%m%d %H:%M:%S'`"|$AH|success" >>$FAX_ACCT

# send mail, if requested
if [ -n "$do_mail_s" ] ; then
@@ -314,7 +317,7 @@
if [ -n "$suspend" ]
then
# update accounting log (final)
- $echo `dirname $job`"|$MAIL_TO|| $PHONE |$status|"`date '+%Y%m%d %H:%M:%S`"|$AH|fail $status: $why" >>$FAX_ACCT
+ $echo `dirname $job`"|$MAIL_TO|| $PHONE |$status|"`date '+%Y%m%d %H:%M:%S'`"|$AH|fail $status: $why" >>$FAX_ACCT

# send mail, if requested
if [ -n "$do_mail_f" ] ; then
@@ -347,7 +350,7 @@
mv JOB JOB.suspended 2>/dev/null
else # do not delete job yet...
# update accounting log (intermediate)
- $echo `dirname $job`"|$MAIL_TO|| $PHONE |-$status|"`date '+%Y%m%d %H:%M:%S`"|$AH|fail $status: $why" >>$FAX_ACCT
+ $echo `dirname $job`"|$MAIL_TO|| $PHONE |-$status|"`date '+%Y%m%d %H:%M:%S'`"|$AH|fail $status: $why" >>$FAX_ACCT

# call update handler, if requested
if [ -n "$exec_pgm_u" ] ; then
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany ***@greenie.muc.de
fax: +49-89-35655025 ***@net.informatik.tu-muenchen.de

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Gert Doering
2006-04-20 20:58:37 UTC
Permalink
Hi,
Post by Andreas Barth
Post by Gert Doering
- the file format for "acct.log" has been massively overhauled - the
new format is easier to parse, and should be as easy to read for
humans
--- mgetty.orig/fax/faxrunq.in 2006-04-16 21:57:10.000000000 +0200
+++ mgetty/fax/faxrunq.in 2006-04-20 23:46:53.496524160 +0200
Already fixed, but thanks anyway.

The interesting thing is that this works fine on all "normal" shells - the
only shell that complains about it is bash.

(Arguably the shell code is wrong, but I didn't notice it on the two
machines where I tested it...)

gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany ***@greenie.muc.de
fax: +49-89-35655025 ***@net.informatik.tu-muenchen.de

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Andreas Barth
2006-04-20 21:06:32 UTC
Permalink
Post by Gert Doering
Post by Andreas Barth
Post by Gert Doering
- the file format for "acct.log" has been massively overhauled - the
new format is easier to parse, and should be as easy to read for
humans
--- mgetty.orig/fax/faxrunq.in 2006-04-16 21:57:10.000000000 +0200
+++ mgetty/fax/faxrunq.in 2006-04-20 23:46:53.496524160 +0200
@@ -243,7 +243,7 @@
Actually, it's wrong in three different places :-)
Hm, just in time for me to replace my upload. Thanks.


Cheers,
Andi

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...