Good day all I have a pri card,e100 What I want to do is If a fax comes in for number 1234567890 it should be e-mail to user1@domain.co.za If a fax comes in for number 0987654321 it should be e-mail to user2@domain.co.za ens.... Can this be done and how????
On January 6, 2005 06:55 am, Altus Snyman wrote:> Good day all > I have a pri card,e100 > What I want to do is > If a fax comes in for number 1234567890 it should be e-mail to > user1@domain.co.za > If a fax comes in for number 0987654321 it should be e-mail to > user2@domain.co.za > ens....Yup it's easy. There are examples of how to effectively deal with faxes on www.voip-info.org, and then you just combine the macro given there with some extension magic like this: exten => 1234567890,1,Macro(receive-fax,user1@domain.co.za) exten => 0987654321,1,Macro(receive-fax,user2@domain.co.za) etc. Or you could have the receive-fax macro look up the email address from the extension received... something like exten => 1234567890,1,Macro(receive-fax,${EXTEN}) and then inside the macro, something like exten => s,n,DBGet(EMAILTO,${ARG1}) ... exten => s,n,system(sendmail ${EMAILTO}, ${FAXFILENAME}) These are just pseudocode examples -- you need to look at the receive-fax macro from www.voip-info.org or even http://scottstuff.net/scott/archives/000152.html (found with google terms "receive fax asterisk"), although the latter needs a little updating to work with current Asterisk. Also note that app_rxfax is *VERY* touchy about the version of the library libtiff that is on your system. This is not an app_rxfax problem, libtiff has some bugs when dealing with fax images in certain versions. Follow the directions for building app_rxfax and spandsp very carefully, as they are rather rigid. I used to have segfault issues all the time with app_rxfax -- I have now received well over a thousand faxes without a single crash. -A.
Has anybody looked into implementing a fax send interface for Asterisk using the FSP code, that way it would plug straight into outlook and all the other windows bits'n'pieces? The information contained in this email is intended for the personal and confidential use of the addressee only. It may also be privileged information. If you are not the intended recipient then you are hereby notified that you have received this document in error and that any review, distribution or copying of this document is strictly prohibited. If you have received this communication in error, please notify Brendata immediately on: +44 (0)1268 466100, or email 'technical@brendata.co.uk' Brendata (UK) Ltd Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK Registered Office as above. Registered in England No. 2764339 See our current vacancies at www.brendata.co.uk
This has already been answered...but I can't find it... Has anyone set up multiple fax lines in asterisk... Fax Extension #1 goes to email1 Fax Extension #2 goes to email2 ETC... In other words, I want to be able to give numerous users each a "virtual" fax machine.. Bill
> Date: Sun, 10 Apr 2005 11:06:59 -0500 > From: Bill Ford <bill.w5waf@gmail.com> > Subject: [Asterisk-Users] Fax to Email > > This has already been answered...but I can't find it... > > Has anyone set up multiple fax lines in asterisk... > > Fax Extension #1 goes to email1 > Fax Extension #2 goes to email2 > ETC... > > In other words, I want to be able to give numerous users each > a "virtual" fax machine.. > > Bill; Assumes entry is DID # or extension number [context-incoming] exten => some_did,1,NVFaxEmail(someone@somewhere.com,Someone) exten => some_other_did,1,NVFaxEmail(someone2@somewhere.com,Someone2) You could use NVFaxDetect first to check for the presence of the fax. This sample requires SpanDSP and NVFaxEmail. Alternatively, you could use SpanDSP, RxFax, and a different AGI script or app. Justin Newman Newman Telecom, Inc.