Hylafax Mailing List Archives

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

[hylafax-users] Exit Status messages from faxsend





 I am trying to build a "Least Cost Routing" Network for a customer. I
have copied the faxsend program to faxsend.fax and wrote a script for
the faxsend which checks the destination number and if necessary submits
it to another server via sendfax. If the number is a local one then it
makes a system call to the faxsend.fax (which is the original faxsend)
gets the result code and exits with that result code

  $result = system("faxsend.fax $ARGV[0] $ARGV[1] $ARGV[2]");
  print ("Deliver result ${result}\n");
  exit ( $result ) ;

 After a successful delivery faxsend.fax returns 512. But when I return
that via the exit the faxqueuer does not remove the fax from the send
queue. What do I do wrong?

  Sedat Yilmazer
 


____________________ 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



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services