HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] sendfax -i $string



on 9/3/00 2:30 PM, Jason Tonkin at jtonkin@linz.govt.nz wrote:

> /usr/bin/sendfax -f faxmonitor -R -v -n -d $phone_no -i $job_id
> $queued
> ...
> The scipt successfully extracts the FAXNO: and JOBID: then envokes
> sendfax with the above options, BUT the JOBID: number does not appear in
> the email confirmation.
> 
> Anyone suggest any bright ideas?!?!
>
Yes, the -d option should be the last option on the command line. Place the
"-i $job_id" before "-d $phone_no". Here is a quote from the sendfax man
page:

"The  order  of options on the command line is significant.
Each fax to be transmitted is assigned the  current  value
of  parameters specified on the command line; e.g. whether
or not to generate a cover page.  This means that  options
that  specify parameters for a particular destination must
precede the dialstring specified with the -d option."

Alex Karahalios



____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions