On Wed, 2004-10-13 at 17:00, Vladyslav wrote: > Hi All. > How to receive multiple pages with rxfax ? > > Here is what I have: > exten => 10,1,Setvar(FAXFILE=/var/spool/asterisk/fax/${UNIQUEID}.tif) > exten => 10,2,Setvar([EMAIL PROTECTED]) > exten => 10,3,rxfax(${FAXFILE}) > exten => 10,4,system(/usr/local/sbin/mailfax ${FAXFILE} ${EMAILADDR} > "${CALLERIDNUM} ${CALLERID}") > > mailfax is a program that converts from tiff into jpeg and send a fax to > my email.
Nope, this is your problem, you are converting from a image file format which supports the concept of multiple pages to a image format which doesn't. Your 'mailfax' program is throwing away all the images in the pdf file except the last one. You should either not convert (IMHO, this is not the best solution, as it is difficult to get a decent TIFF viewer) or convert to another format which does support multiple pages in a single file (think pdf). Regards, Adam _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users