[asterisk-users] sending fax with chan-capi

Jens Vagelpohl jens at dataflake.org
Wed Oct 11 06:09:23 MST 2006


> How can I generate sff format? I found sfftobmp, not nothing the  
> other way round.

You can use ghostscript:

gs -dNOPAUSE -dBATCH -sDEVICE=cfax -sOutputFile=<output.sff> <input.ps>


> Is there a nice way to get the sff out of an Windows application  
> (like virtual printers for hylafax) or at least some scripts which  
> produce the sff and the asterisk call file out of an pdf?

Here's something I use (not Windoze, sorry):

http://svn.dataflake.org/filedetails.php? 
repname=DataflakeSoftware&path=%2Fasterisk-chancapi-faxscripts% 
2Ffile2fax.py&rev=0&sc=0

The script takes TIFF, PS or PDF as input, creates SFF and a call  
file. It is run out of cron and checks if suitable files have been  
dropped into a spool directory.

The whole package at http://svn.dataflake.org/listing.php? 
repname=DataflakeSoftware&path=%2Fasterisk-chancapi-faxscripts% 
2F&rev=0&sc=0 contains some documentation and also a script that I  
use to handle incoming faxes (with capicommand receivefax).

jens




More information about the asterisk-users mailing list