ATech Machine LIBRA-02 M Technické informace Strana 486

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 734
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 485
Transmitting a Fax from Asterisk
To transmit a fax from Asterisk, you must have a TIFF file. How you generate this TIFF
is important, and may involve many steps. However, from Asterisk’s perspective the
sending of a fax is fairly straightforward. You simply run the SendFAX() dialplan appli-
cation, passing it the path to a valid TIFF file:
exten => faxthis,1,SendFAX(/path/to/fax/file,d)
In practice, you will normally want to set some parameters prior to transmission, so a
complete extension for sending a fax using Digium’s Fax For Asterisk might look
something like this:
exten => faxthis,1,Verbose(2,Set options and transmit fax)
; some folder where your outgoing faxes will be found
same => n,Set(faxlocation=/tmp)
; In production you would probably not want to hardcode the filename
same => n,Set(faxfile=faxfile.tif)
same => n,Set(FAXOPT(headerinfo)=Fax from ShiftEight.org)
same => n,Set(FAXOPT(localstationid=4169671111)
same => n,SendFax(${faxlocation}/${faxfile})
File Format for Faxing
The real trick of sending a fax is having a source file that is in a format that the fax
engine can handle. At a basic level, these files are known as TIFF files; however, the
TIFF spec allows for all sorts of parameters, not all of which are compatible with fax
and not many of which are documented in any useful way. Additionally, the types of
TIFF formats that spandsp can handle are different from those Digium FFA will handle.
In the absence of one simple, clear specification of what TIFF file format will work for
sending faxes from Asterisk, we will instead document what we know to work, and
leave it up to the reader to perform any experimentation required to find other ways to
generate the TIFF.
*
Digium’s Fax For Asterisk Administration Manual documents a process for converting
a PDF file into a TIFF using commonly available Linux command-line tools. While
kludgy, this method should allow you to build Linux scripts to handle the file conver-
sion, and your users will be able to submit PDFs as fax jobs.
You will need the ghostscript PDF interpreter, which can be installed in CentOS by the
command:
* One format we tried was using the Microsoft Office Document Image Writer, which offers “TIFF-
monochrome fax” as an output format. This seemed too good to be true, which is exactly what it turned out
to be (neither spandsp nor Digium FFA could handle the resulting file). It would have been ideal to have
found something common to Windows PCs that could be used by users to “print” an Asterisk-compatible
TIFF file.
450 | Chapter 19:Fax
Zobrazit stránku 485
1 2 ... 481 482 483 484 485 486 487 488 489 490 491 ... 733 734

Komentáře k této Příručce

Žádné komentáře

Whirlpool MT8066SE manuali

Manuali dei proprietari e guide per l'utente per Microonde Whirlpool MT8066SE.
We fornisce 1 manuali pdf Whirlpool MT8066SE per scaricare gratuitamente in base al tipo di documento: Manuale Utente






Più prodotti e manuali per Microonde Whirlpool

Modelli Tipo di Documento
MS1451XWI Manuale Utente   Whirlpool MS1451XWI User's Manual, 60 pagine
GT4185SK Manuale Utente   Whirlpool GT4185SK User's Manual, 24 pagine
Microwave Oven JT 369 Manuale Utente   Whirlpool Microwave Oven JT 369 User's Manual, 24 pagine
YMT3135SH Manuale Utente   Whirlpool YMT3135SH User's Manual, 25 pagine
Ni-l30 Manuale Utente   Whirlpool Ni-l30 User's Manual, 36 pagine
MW8800XS Manuale Utente   Whirlpool MW8800XS User's Manual, 28 pagine
MW8600XR Manuale Utente   Whirlpool MW8600XR User's Manual, 28 pagine
MWIOOOXW Manuale Utente   Whirlpool MWIOOOXW User's Manual, 16 pagine
RM275PXK Manuale Utente   Whirlpool RM275PXK User's Manual, 24 pagine
GH4184XS Manuale Utente   Whirlpool GH4184XS User's Manual, 20 pagine
RM235PXK Manuale Utente   Whirlpool RM235PXK User's Manual, 20 pagine
MH9180XL Manuale Utente   Whirlpool MH9180XL User's Manual, 19 pagine
MFE14XW Manuale Utente   Whirlpool MFE14XW User's Manual, 26 pagine
IMH16XS Manuale Utente    Whirlpool IMH16XS User's Manual, 32 pagine
FIM 20 K.A (WH) Istruzioni per l'uso        Whirlpool FIM 20 K.A (WH) Benutzerhandbuch, 72 pagine
WMC10007 Manuale Utente    Whirlpool WMC10007 User's Manual, 24 pagine
MH6100XY Manuale Utente   Whirlpool MH6100XY User's Manual, 28 pagine
MCE04XW Manuale Utente   Whirlpool MCE04XW User's Manual, 28 pagine
FIM 88 KGP.A IX S Istruzioni per l'uso        Whirlpool FIM 88 KGP.A IX S Benutzerhandbuch, 64 pagine
MH3185XP Manuale Utente   Whirlpool MH3185XP User's Manual, 20 pagine