-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Klaus,

The incoming fax script will generate an email with the fax attached, and there is another script, sendfax_status.py, which is run as a DeadAGI after the outgoing fax has been sent, it retrieves status information and sends it to a (hardcoded) email address.

The call file created by the outgoing script "file2fax.py" specifies 3 retries in case of failure. This just retries it within Asterisk, I don't know if I could have chan_capi do that.

jens


On 11 Oct 2006, at 09:52, Klaus Darilion wrote:

Hi Jens!

Thanks for the script.

Do you generate and notifications (succeeded, failed) or retransmit in case of failed sending? Or does that CAPI internally?

regards
klaus

Jens Vagelpohl wrote:
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
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFFLQ6qRAx5nvEhZLIRAh3SAKCBt6XOf98C2IfoPjkIGms8AbTO3ACglmU5
iyx3xR0dijuk0VnrK3bggCg=
=/XV9
-----END PGP SIGNATURE-----
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to