HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Fw: Broadcast faxing problems




I use the following perl script i found in the list - i regularly send
batches of 3000 with no problem.

#=== Begin script ===
#!/bin/sh
echo DEFANGED.0
exit
#!/bin/sh
echo DEFANGED.8
exit
#!/usr/bin/perl
#
# Send faxdocument.ps document to every numbers listed in faxnumlist.txt
# (one number per line)
#

@args = ();
$filename = "./faxnumlist.txt";
$filetosend = "faxdocument.ps";
$sendfax = "/usr/local/bin/sendfax";

push(@args, "-m");
push(@args, "-n");
#push(@args, "-N");
push(@args, "-P");
push(@args, "bulk");
push(@args, "-k");
push(@args, "now+7days");

open(INPUT, "< $filename");
@lines = <INPUT>;
foreach $num (@lines)
{
  $num =~ s/[\r\n]//g;
  $num =~ s/\t/ /g;
  push(@args, "-d");
  push(@args, $num);
}
close INPUT;
push(@args, $filetosend);

exec($sendfax, @args);
#==== end script ====

----------------------------------------------------------------------------------------------------------------------------------------------------------------

Stuart Herd <sherd@muscletech.com>
Unix Administrator - Information Technology
MuscleTech Research and Development Inc. - http://www.muscletech.com
\|/
 voice: (888) 334-4448 x3136
(o -)
-------------------------------------------------------------------------------------------------------------------oOOo-( )

oOOo-----------------------

CONFIDENTIALITY NOTICE:

THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND CONFIDENTIAL AND IS
INTENDED ONLY
FOR THE REVIEW OF THE PARTY TO WHOM IT IS ADDRESSED. THE INFORMATION
CONTAINED IN
THIS E-MAIL IS CONFIDENTIAL AND IS DISCLOSED TO YOU UNDER THE EXPRESS
UNDERSTANDING
THAT YOU WILL NOT DISCLOSE IT OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT
THE EXPRESS
WRITTEN CONSENT OF AN AUTHORIZED OFFICER OF MUSCLETECH RESEARCH AND
DEVELOPMENT.
IF YOU HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY RETURN
IT TO THE
SENDER.
_______________________________________________________________________________________________


                                                                                                                                                      
                    Truong                                                                                                                            
                    <tphuong@wol.be>             To:     Hylafax-Users <hylafax-users@hylafax.org>                                                    
                    Sent by:                     cc:                                                                                                  
                    hylafax-users-bounce@h       Subject:     Re: [hylafax-users] Broadcast faxing problems                                           
                    ylafax.org                                                                                                                        
                                                                                                                                                      
                                                                                                                                                      
                    04/04/03 02:30 AM                                                                                                                 
                                                                                                                                                      




Hi Ian,

I got the same error message since 2 days after making a test with the
option " -T 3 " for sendfax. Until now I can't send any fax out.

% *** Ian Dobson <ian@fastnet.bc.ca> wrote: ***
% Hi, we send out a fax to all of our customers once a month and this
happens
% after 3 hours all the faxes fail with the following message
%
% I've played with the Killtime setting but that doesn't seem to do
anything
% at all so I'm probably doing it wrong.  Please help, this is driving me
up
% the wall :(
%
%
% Your facsimile job to 6045551212 could not be completed before the
appointed
% deadline.
%
%     ---- Unsent job status ----
%
%    Destination: 6045551212
%          JobID: 7543
%        GroupID: 7543
%         Sender: Administrator
%       Mailaddr: faxsrvr
%         CommID: 00002816
% Submitted From: 192.168.1.151
%     Page Width: 200 (mm)
%    Page Length: 264 (mm)
%     Resolution: 98 (lpi)
%         Status: Busy signal detected
%        Dialogs: 0 (exchanges with remote device)
%          Dials: 1 (consecutive failed calls to destination)
%          Calls: 1 (total phone calls placed)
%          Pages: 0 (pages transmitted)
%       TotPages: 1 (total pages to transmit)
%       Attempts: 0 (attempts to send current page)
%         Dirnum: 0 (directory of next page to send)
%
%     ---- Documents submitted for transmission ----
%
% The following documents were submitted for transmission and are
% available on the server for reuse until they are automatically
% purged when this job is removed.  Documents may also be manually
% removed using the faxrm command; consult faxrm(1) for information.
%
% Filename                 Size Type
% docq/doc33.ps          234874 PostScript
%
%
% ____________________ HylaFAX(tm) Users Mailing List
_______________________
%   To subscribe/unsubscribe, click
http://lists.hylafax.org/cgi-bin/lsg2.cgi
%  On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org <
/dev/null
%   *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.
*
% *** END of Message From Ian Dobson ***

--
  Truong <tphuong@wol.be>

____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*





____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*




Project hosted by iFAX Solutions