Re: NEW/UPDATE : mgetty+sendfax-1.1.33

2005-06-26 Thread Matthias Kilian
On Wed, Jun 22, 2005 at 05:24:56PM +, Antoine Jacoutot wrote:
 I haven't had any feedbacks about this port yet. Isn't aynone interested about
 an update for mgetty+sendfax ?
 If you can test it, let me know.

First of all, thanks for the port.

Not yet tested:

* Voice box.
* Dialin.

Successfully tested (but see problems below):

* Spooled and sent a fax (a postscript file) using faxspool and faxrunq.
* Received a fax.


Problems:

* fax/faxspool.in: pdf conversion doesn't work (relies on acroread).
  This may probably changed just using gs(1). BTW: the port should
  RUN_DEPEND on ghostscript.
* faxrunq fails to send mails, please add this to patch-policy.h-dist
@@ -591,7 +591,7 @@
 #endif
 
 #ifndef MAILER
-# define MAILER/usr/lib/sendmail
+# define MAILER/usr/sbin/sendmail
 # define NEED_MAIL_HEADERS
 #endif
 
* when mgetty's running, faxrunq fails to get the lock (on /dev/cua1 in
  my setup).
* from my memory: some years ago, I had to use the attached
  patch-voice_libvoice_Elsa_c to get the voice box running.

Ciao,
Kili
$OpenBSD$
--- voice/libvoice/Elsa.c.orig  Sun Mar 13 18:27:45 2005
+++ voice/libvoice/Elsa.c   Sat Jun 25 10:16:46 2005
@@ -49,10 +49,10 @@ static int Elsa_init (void)
  if (voice_command(buffer, OK) != VMA_USER_1)
   lprintf(L_WARN, can't set BDR=16);
 
- sprintf(buffer, AT#VTD=3F,3F,3F);
+ sprintf(buffer, AT#VTD=2F,3F,3F);
 
  if (voice_command(buffer, OK) != VMA_USER_1)
-  lprintf(L_WARN, can't set VTD=3F);
+  lprintf(L_WARN, can't set DTMF tone reporting);
 
  sprintf(buffer, AT#VSS=%1u, cvd.rec_silence_threshold.d.i * 3 / 100);
 


Re: NEW/UPDATE : mgetty+sendfax-1.1.33

2005-06-26 Thread Antoine Jacoutot
Selon Matthias Kilian [EMAIL PROTECTED]:
 Not yet tested:

 * Voice box.
 * Dialin.

These work fine here at least (answer machine, dialin, dialin+pppd).

 * fax/faxspool.in: pdf conversion doesn't work (relies on acroread).
   This may probably changed just using gs(1). BTW: the port should
   RUN_DEPEND on ghostscript.

Yes, maybe, I'll have a deeper look at this script, and maybe even add a
RUN_DEPEND on netpbm instead.
Note that you can use /etc/mgetty+sendfax/faxspool.rules to adjust faxspool, so
the acroread thing isn't a big deal, just add a gs command in faxspool.rules.

 * faxrunq fails to send mails, please add this to patch-policy.h-dist
 @@ -591,7 +591,7 @@
  #endif

  #ifndef MAILER
 -# define MAILER  /usr/lib/sendmail
 +# define MAILER  /usr/sbin/sendmail
  # define NEED_MAIL_HEADERS
  #endif

Man, that was obvious... my bad really. I just don't know how I missed that.

 * when mgetty's running, faxrunq fails to get the lock (on /dev/cua1 in
   my setup).

/dev/cua1 or /dev/cua01 ?
Did you try using tty01 instead of cua01 ?

 * from my memory: some years ago, I had to use the attached
   patch-voice_libvoice_Elsa_c to get the voice box running.

That I have no idea. I use a USR modem for voice and it works fine, so for now,
I'll leave it until people actually need this patch.

I really appreciated your feebacks, thanks. I'll rework the port a bit and send
an updated version as soon as I can.

Regards,

Antoine



Re: NEW/UPDATE : mgetty+sendfax-1.1.33

2005-06-22 Thread Antoine Jacoutot
Selon Antoine Jacoutot [EMAIL PROTECTED]:
 Allright, thanks to Aleksander Piotrowski's feedback, I reworked the
 port a bit.

I haven't had any feedbacks about this port yet. Isn't aynone interested about
an update for mgetty+sendfax ?
If you can test it, let me know.

Thanks.
Regards,

Antoine



NEW/UPDATE : mgetty+sendfax-1.1.33

2005-06-06 Thread Antoine Jacoutot

Hi,

Here is a port of the latest mgetty+sendfax version (1.1.33).
I did not do a diff to in-tree broken version since they are many 
changes to the port.
I've been using this (and older versions) for a while now under i386 
with no problem : voice,fax and remote login work fine.

This version has been tested under 3.7-current.

DESCR
Mgetty+sendfax is a collection of programs to send and receive faxes in
a unix environment using a class 2.0 or 2 (they're different) faxmodem.
vgetty is an extension to mgetty, distributed with it, that implements
incoming voice call handling for certain voice-capable modems, with new
ones added regularly, if specs are available.

Please test and comment. Thanks !
Regards,

Antoine


mgetty+sendfax.tar.gz
Description: application/gzip