spandsp works fine on our PRI line context FAX { s => { NoOp(INFO: Getting fax in XXXXXXXX); Answer(); Set(TIMEOUT(absolute)=600); // 10 min Wait(3); if("${CALLERID(num)}"="") { // Set(Number=withhold); // If number is private } // else { Set(Number=${CALLERID(num)}); // If number is NOT private } Set(recordFile=${UNIQUEID}_${Number}.tiff); // Record file to RAM first,
Set(recordPath=/var/log/asterisk/fax/${CALLERID(dnid)}/${STRFTIME(${EPOCH},GMT+0,%F)}); // then run /usr/local/bin/mailfax $1 $2 ReceiveFax(/ramdrive/${recordFile}); Wait(5); Hangup(); }; h => { // System(/usr/bin/sendEmail -f aster...@xxx.pt -t f...@xxx.pt-u "Novo fax recebido" -a /var/log/asterisk/fax/fax.${UNIQUEID}.tif -m "Conteudo:" -s mail.xxx.pt:25 -xu asterisk@$ System(/usr/local/bin/faxmail "${recordPath}" "${recordFile}"); }; // sendfax => { // SendFax(/var/log/asterisk/fax/fax.1247153669.3.tif); // }; } On 5 May 2011 19:09, David Backeberg <dbackeb...@gmail.com> wrote: > On Thu, May 5, 2011 at 1:43 PM, vip killa <vipki...@gmail.com> wrote: > > The majority of open source projects out are NOT run by commercial > > institutions... > > Postfix kicks butt. But only because IBM paid for development, for a > long number of years, and because they hired somebody who had a really > good idea how to improve Sendmail. > > Asterisk kicks butt. It just does, even if you can't get your silly > faxing edge case to work, because Digium paid for development, for a > long number of years. > > There are also people who come along, and because the source is > available, fix a particular bug that annoyed them, or added a feature > they personally wanted. > > T.38 has a boatload of problems, and most of those problems are > because people who aren't employed by Digium did not read the specs, > or they did read the specs, but felt like they had to violate the > specs to get their code to work with a different broken T.38 stack. > > I've personally fixed problems with asterisk, and I found my code > contribution accepted. Perhaps you've submitted patches the bug > tracker? We eagerly anticipate your voluntary code contributions. > > Maybe statistically, there are more open source projects out there > that have non-paid lead developers, and they do their work on their > own dime, and on their own time. > > But unless you're lucky enough to live in a place where you can hunt > and gather for everything you need, you need money to live in a > society, and have the resources to be able to sit at a keyboard long > enough to churn out code. > > I could only afford to make my 'code contribution' because I have a > day job where I needed the fix. > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users