[Asterisk-Users] fax to email

Nils Segerdahl seger at upsys.se
Thu Jan 6 11:48:19 MST 2005


This mail is in by no way a attempt to meddle.

ok?

Email to eg. txfax:
-------------------

If you are using sendmail, implement a ruleset that will forward all local
mail for the toplevel domain .fax to a script.
How to do this you will find in O'Reileys big sendmail book.

It is important that the mail to the .fax domain is passing through your
mailserver.  In sendmail this is implemented by using the smarthost
directive.

How to write the script can be found in the voip-info wiki.

Something like converting the mail to tiff.
ascii2ps -> ps2tiff or something like that.

Then you create a asterisk call file to send the fax.

Another way to do this would be to send the mail to a user
fax at pbx.domain.com ( or whatever your asterisk server is called)
Put the destination phonenumber in the subject line.

Use an sendmail alias to forward all mail to user fax to the script.

Eg:

fax: |/bin/sendfax

or something like that. (man aliases)

Print to fax
-------------

O'reillys book on samba has information on smbfax. Otherwise it is easy to
find information on this on google.

The problem when you are printing is to get the destination phonenumber to
the fax software.

But as far i remember it is quite well dokumented, in the book or on the
web.

http://inconnu.isu.edu/~ink/new/projects/smbfax/


I'we implemented both of these cases a fews year ago, so it can be done.

The third case was howto get the coversheet filled in.

I think i used smbfax printing to a file and then seding the user an
email with a link to a html form where he could fill in the cover sheet
information, look at the tiff-file and then click ok to send the fax.

 Best regards

Nils



On Thu, 6 Jan 2005, Matthew Boehm wrote:

> > Nope, I'm not in the documentation business.  But you can go right down
> > to your local book store and find many books on email systems.  Try "The
> > qmail Handbook" by Dave Sill.
>
>     So this book will tell me exactly how to setup where if it gets an email
> from (ie mike at 3036742575.fax) that it passes it to Hylafax/Asterisk?
>
> > Nope, I'm not in the documentation business.  But you can go right down
> > to your local bookstore and find many books on Samba.  Try "The Official
> > Samba-3 HOWTO" by Bruce Perens
>
>     So this book will tell me exactly how to configure samba to send a print
> spool to Hylafax/Asterisk?
>
> > Guess so.  But you can go right down to your local computer store,
> > purchase VB, and then write your own plug-in.
>
>     Sorry, I don't use cheezy event driven languages.
>
> > If you show a little effort on your part then
> > maybe, just maybe, someone on this list might help you.
>
>     I beg your pardon. I help people on this list everyday and I don't need
> you telling me to be more helpful. Plus, the same thing can be said for you
> right since you are "not in the documentation business."
>
> Done with this,
> -Matthew
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>


Nils Segerdahl
---------------------------------------------------------------
Upsala Systemkonsult, UPSYS AB     Telefon:(+46) (0)18 56 80 41
Glunten, 751 83 Uppsala            Mobil: (+46) (0)703 55 65 03
http://www.upsys.se                Fax: (+46) (0)18 56 80 49
---------------------------------------------------------------
Jan  6 	Millard Fillmore's birthday (let's party!)
---------------------------------------------------------------






More information about the asterisk-users mailing list