Hello, Is there or can anyone provide a comprehensive guide (designed for Linux/Asterisk novices) to installing/setting up Asterisk in order to support Fax2Mail service? In my case, I would like Asterisk to receive fax calls to predefined numbers (ranges) and to associate each of these numbers to email addresses. Thank you in advance. David --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051018/2e868768/attachment.htm
I don't know of a comprehensive guide, but you can set it up using NVFaxDetect, NVFaxEmail, and SpanDSP or Hylafax. NVFaxEmail can pull the e-mail addresses from it's own config, voicemail.conf, a database, or thru realtime. Simple extensions.conf: [incoming-dids] exten => _541359XXXX,1,NVFaxDetect(...) ; Make sure this is a fax exten => fax,1,NVFaxEmail(...,${CALLERID},pu,...) ; Receive and e-mail PDF with user lookup -J> ------------------------------ > > Message: 10 > Date: Tue, 18 Oct 2005 07:39:10 -0700 (PDT) > From: David <dst_u@yahoo.com> > Subject: [Asterisk-Users] Fax2Mail > > Hello, > > Is there or can anyone provide a comprehensive guide (designed forLinux/Asterisk novices) to installing/setting up Asterisk in order to support Fax2Mail service?> > In my case, I would like Asterisk to receive fax calls to predefinednumbers (ranges) and to associate each of these numbers to email addresses.> > Thank you in advance. > > David
Hi When I send a fax to email the image size is 1728x1139. I need to change the image size to 1139x1728 what should I change to have this size. Cheers
In your shell script that converts the file: #!/bin/sh FAXFILE=$1 EMAILADDRESS=$2 CALLERID=$3 tiff2ps -2eaz -w 8.5 -h 11 $FAXFILE | ps2pdf - $FAXFILE.pdf mime-construct --to $EMAILADDRESS --subject "Fax from $CALLERID" --attachment $CALLERID.pdf --type application/pdf --file $FAXFILE.pdf rm $FAXFILE rm $FAXFILE.pdf Note the line that reads "tiff2ps" the -w and -h switch specify the width and height, in inches. Change according to your needs. hth -----Original Message----- From: Andrew Nowrot [mailto:andrew.nowrot@gmail.com] Sent: Tuesday, December 06, 2005 5:57 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Fax2mail Hi When I send a fax to email the image size is 1728x1139. I need to change the image size to 1139x1728 what should I change to have this size. Cheers _______________________________________________ --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
Are you sure you want to resize the image? Do you perhaps want to rotate it? Do you want to rotate every image before it arrives? (At 200 dpi, it seems that you are just switching landscape to portrait) Michelle Dupuis Technical Support Specialist Oxford Consulting Group Ltd. Making IT work for your business... T: (519) 672-8238 E: <mailto:support@ocg.ca> support@ocg.ca W: <http://www.ocg.ca/> www.ocg.ca ------ Message: 17 Date: Tue, 6 Dec 2005 08:22:08 -0700 From: Colin Anderson <ColinA@landmarkmasterbuilder.com> Subject: RE: [Asterisk-Users] Fax2mail To: 'Asterisk Users Mailing List - Non-Commercial Discussion' <asterisk-users@lists.digium.com> Message-ID: <E251506D3758AA4882130317D52ACD3206DDB5@land-edm-hs2.landmarkhomes.net> Content-Type: text/plain; charset="iso-8859-1" In your shell script that converts the file: #!/bin/sh FAXFILE=$1 EMAILADDRESS=$2 CALLERID=$3 tiff2ps -2eaz -w 8.5 -h 11 $FAXFILE | ps2pdf - $FAXFILE.pdf mime-construct --to $EMAILADDRESS --subject "Fax from $CALLERID" --attachment $CALLERID.pdf --type application/pdf --file $FAXFILE.pdf rm $FAXFILE rm $FAXFILE.pdf Note the line that reads "tiff2ps" the -w and -h switch specify the width and height, in inches. Change according to your needs. hth -----Original Message----- From: Andrew Nowrot [ <mailto:andrew.nowrot@gmail.com> mailto:andrew.nowrot@gmail.com] Sent: Tuesday, December 06, 2005 5:57 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Fax2mail Hi When I send a fax to email the image size is 1728x1139. I need to change the image size to 1139x1728 what should I change to have this size. Cheers _______________________________________________ --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> http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051206/2607841b/attachment.htm
Hi, Exactly I want to switch landscape to portrait. Where can I switch it and what (bash script) can I use for it? Cheers
If I understand correctly what you are trying to do, you wish to rotate the image for viewing. This is usually handled at the client level - most PDF viewers handle this with ease. If you really want to rotate every inbound fax, you could add a line to the bash file to rewrite the ORIENTATION tag in the tiff. (This is easier than rotating the image bits). Michelle Dupuis Technical Support Specialist Oxford Consulting Group Ltd. Making IT work for your business... T: (519) 672-8238 E: support@ocg.ca W: www.ocg.ca -----Original Message----- From: Andrew Nowrot [mailto:andrew.nowrot@gmail.com] Sent: Wednesday, December 07, 2005 6:41 AM To: Technical Support; Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Fax2mail Hi, Exactly I want to switch landscape to portrait. Where can I switch it and what (bash script) can I use for it? Cheers
Anyone here use fax2mail? Every fax get's flipped 90 degress. I was just wondering if anyone else had this issue and how they resolved it. ----- Chris Stinson Network Operations Center ISDN-Net, Inc. 615-221-4200 x103 noc@isdn.net
Yes you are probably right but I don't know how to rotate the fax in fax2mail. I was hoping someone here on the list had to do it and would post the solution :) -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of trixter aka Bret McDanel Sent: Friday, January 13, 2006 3:29 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] fax2mail On Fri, 2006-01-13 at 15:03 -0600, Chris Stinson wrote:> Anyone here use fax2mail? Every fax get's flipped 90 degress. I wasjust> wondering if anyone else had this issue and how they resolved it.I generate the emails myself, I posted the macro I use to do this a week or two ago (check the archives) and dont have that problem. This makes me think that there is an option set to rotate somewhere within fax2email ... -- Trixter http://www.0xdecafbad.com Bret McDanel UK +44 870 340 4605 Germany +49 801 777 555 3402 US +1 360 207 0479 or +1 516 687 5200 FreeWorldDialup: 635378 http://www.sacaug.org/ Sacramento Asterisk Users Group