Fwd: Useful links for mgetty/vgetty and some inofficial FAQ
This may prove usefull to anyone in search of information on mgetty/vgetty. ---------- Forwarded Message ---------- Subject: Useful links for mgetty/vgetty and some inofficial FAQ Date: Thu, 9 Jun 2005 18:08 From: "TOPMANN (Torben Pollmann)" <topmann@gmx.ch> To: "mgetty@muc.de" <mgetty@muc.de> Gerts page: http://alpha.greenie.net/mgetty/ Latest version: ftp://alpha.greenie.net/pub/mgetty/ ftp://alpha.greenie.net/pub/mgetty/source/1.1/mgetty1.1.33-Apr10.tar.gz Examples/Scripts etc: http://tkvoice.netfirms.com/ Manual: http://alpha.greenie.net/mgetty/mgetty_toc.html Howto: http://www.freeos.com/articles/3715/ http://tldp.org/HOWTO/Serial-Programming-HOWTO/index.html http://frank.harvard.edu/~coldwell/answering_machine/ VGetty: http://alpha.greenie.net/mgetty/ http://alpha.greenie.net/mgetty/mgetty_26.html#SEC26 http://alpha.greenie.net/vgetty/ Patches: http://people.freenet.de/Juergen-Kosel/mgetty-duplex-patch Addons: ftp://alpha.greenie.net/pub/mgetty/tools/ calcamp-0.1.tgz This program calculates with what factor an audio-sample should be amplified to get maximum volume. Usefull, for example, when used with the pvf-tools (included in the mgetty package). This program needs libSndFile. http://www.vanheusden.com/Linux/ http://www.vanheusden.com/Linux/calcamp-0.1.tgz Sending a voice message: Use the script message.sh $numbertocall modemspecificvoicefile.rmd This script is distributed with mgetty/vgetty source ( in mgetty/voice/scripts ) Fax Conversion: to pdf: high res faxes: cat ffXXXXX.YY | g32pbm | pbm2lps -dpi 204 > output.ps ps2pdf output.ps output.pdf low res fax: cat fnXXXXX.YY | g32pbm -s | pbm2lps -dpi 204 > output.jpg ps2pdf output.ps output.pdf to jpg: high res faxes: cat ffXXXXX.YY | g32pbm | ppmtojpg -quality=25 > output.jpg low res faxes: cat fnXXXXX.YY | g32pbm -s | ppmtojpg -quality=25 > output.jpg -quality: jpg compression quality, 1-100. 25 is sufficient for faxes, and keeps the image under 200 kB. -s: stretch low res fax, this doubles the lines. XXXXXX is the id number or whatever given to the fax name YY is the page number. raw G3 is produced with gs -q -dSAFER -sDEVICE=faxg3 -r$res -sOutputFile=$NAME-%03d.fax -sNOPAUSE - (where $res is, configurable, 204x196 or 204x98) group 3 fax is produced with gs -q -dSAFER -sDEVICE=dfaxhigh -sOutputFile=$NAME-%03d.fax -sNOPAUSE - (or replace dfaxhigh by dfaxlo) Scripts: gs -dBATCH -dNOPAUSE -sDEVICE=tiffg3 -sOutputFile=/home/gf/fax.tif %files; c2faxsend -vf TIFF -d %number /home/gf/fax.tif; mv /home/gf/fax.tif /home/gf/Documents/fax/send/fax$(date +%Y%m%d-%H%M).tif Der 1. Teil wandelt ein oder mehrere ps-Dateien, die du z.B. über den kprinter Druckdialog an diese Faxanwendung weitergeleitet hast in das vorgeschriebene TiffG3 Format um und speichert dies unter dem Namen Fax.tif in meinem (GF)! Homeverzeichnis. Der 2. Teil versendet genau diese Datei via AVM C2sendfax. Und Teil 3 (entbehrlich) verschiebt diese Date in das entsprechende Unterverzeichnis und versieht den Namen mit dem aktuellen Datumsstempel. The mailing list is archived on a WWW site, look at ttp://www.elilabs.com/mgarc/index.html' (many thanks to Robert J. Brown, rj@eli.elilabs.com). It's also archived by Marc Schaefer, on ttp://www-internal.alphanet.ch/recherche_ml.html'. T Faxserver.gz /usr/share/doc/packages/mgetty /usr/share/info
My application have to collect data from a modem and analyse it to push information in databases.
Are you sure you need mgetty functionality? I mean you can surely profit form looking it's source but it looks to me you can do this with a simple open(),read() and write() functions.All you need to do is initialize serial port for your comm parameters and start reading and sending data to it. -- Die unaufgeforderte Zusendung einer Werbemail an Privatleute verstoesst gegen §1 UWG und §823 I BGB (Beschluss des LG Berlin vom 2.8.1998, Az: 16 O 201/98).Jede kommerzielle Nutzung der uebermittelten persoenlichen Daten sowie deren Weitergabe an Dritte ist ausdruecklich untersagt! ------------------------------------------------------- -- Regards, Graham Smith
participants (1)
-
Graham Smith