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(/
Vlad,
That's because jpeg does not support multiple pages. Use pdf instead:
#!/bin/sh
FAXFILE=$1
RECIPIENT=$2
FAXSENDER=$3
/usr/local/bin/tiff2pdf $FAXFILE | mime-construct --to $RECIPIENT
--subject "Fax from $FAXSENDER" --attachment fax.pdf --type
application/pdf --header "From: [EMAIL PROTECTED
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}
Hi.
Thank you all for your replies.
Now I do converting into pdf file and it's ok with multiple pages.
tiff2ps -a ${FAXFILE} | ps2pdf - ${FAXFILE//tiff/pdf}
On Wed, 2004-10-13 at 15:39, Steve Underwood wrote:
> Vladyslav wrote:
>
> >Hi All.
> >How to receive multiple pages with rxfax ?
> >
> >H
On Oct 13, 2004, at 8:07 AM, Vladyslav wrote:
Hi.
Thank you all for your replies.
Now I do converting into pdf file and it's ok with multiple pages.
tiff2ps -a ${FAXFILE} | ps2pdf - ${FAXFILE//tiff/pdf}
On Wed, 2004-10-13 at 15:39, Steve Underwood wrote:
Vladyslav wrote:
You can also cut to the cha
> 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).
http://www.hylafax.org/links.html#viewers
A tiff viewer is like standard on any