kisswen
发表于 2009-06-02 16:57
ImageMagick-nox11-6.5.1.10 Image processing tools
UserManager-2.1 Easily create, change, or delete virtual PureFTPd users
ZendOptimizer-3.3.0.a An optimizer for PHP code
afm-1.0 Adobe Font Metrics
apache-2.2.11_4 Version 2.2.x of Apache web server with prefork MPM.
apache-ant-1.7.1 Java- and XML-based build tool, conceptually similar to mak
apache-tomcat-6.0.18 Open-source Java web server by Apache, 6.x branch
autoconf-2.62 Automatically configure source code on many Un*x platforms
autoconf-wrapper-20071109 Wrapper script for GNU autoconf
automake-1.10.1 GNU Standards-compliant Makefile generator (1.10)
automake-wrapper-20071109 Wrapper script for GNU automake
axel-2.3 A download accelerator
bigreqsproto-1.0.2BigReqs extension headers
ca_root_nss-3.11.9_2 The root certificate bundle from the Mozilla Project
cclient-2007e,1 Mark Crispin's C-client mail access routines
compat6x-i386-6.4.604000.200810 A convenience package to install the compat6x libraries
cups-base-1.3.10_2Common UNIX Printing System: Server
cups-client-1.3.10_2 Common UNIX Printing System: Library cups
cups-image-1.3.10_2 Common UNIX Printing System: Library cupsimage
cups-pstoraster-8.15.4_2 Postscript interpreter for CUPS printing to non-PS printers
curl-7.19.5 Non-interactive tool to get files from FTP, GOPHER, HTTP(S)
db41-4.1.25_4 The Berkeley DB package, revision 4.1
diablo-jdk-1.6.0.07.02_4 Java Development Kit 1.6.0_07.02
expat-2.0.1 XML 1.0 parser written in C
expect-5.43.0_3 A sophisticated scripter based on tcl/tk
fontconfig-2.6.0,1An XML-based font configuration API for X Windows
freetype2-2.3.9_1 A free and portable TrueType font rendering engine
gettext-0.17_1 GNU gettext package
ghostscript8-nox11-8.64_2 Ghostscript 8.x PostScript interpreter
gmake-3.81_3 GNU version of 'make' utility
gnutls-2.6.5 GNU Transport Layer Security library
gsfonts-8.11_4 Fonts used by GNU Ghostscript (or X)
help2man-1.36.4_3 Automatically generating simple manual pages from program o
hylafax-4.4.4 Fax software
inputproto-1.5.0 Input extension headers
jasper-1.900.1_7 An implementation of the codec specified in the JPEG-2000 s
javavmwrapper-2.3.3 Wrapper script for various Java Virtual Machines
jbigkit-1.6 Lossless compression for bi-level images such as scanned pa
jpeg-6b_7 IJG's jpeg compression utilities
kbproto-1.0.3 KB extension headers
lcms-1.18,1 Light Color Management System -- a color management library
libICE-1.0.4_1,1 Inter Client Exchange library for X11
libSM-1.1.0_1,1 Session Management library for X11
libX11-1.2.1,1 X11 library
libXau-1.0.4 Authentication Protocol library for X11
libXdmcp-1.0.2_1 X Display Manager Control Protocol library
libXext-1.0.5,1 X11 Extension library
libXi-1.2.1,1 X Input extension library
libXp-1.0.0,1 X print library
libXt-1.0.5_1 X Toolkit library
libXtst-1.0.3_1 X Test extension
libcheck-0.9.6 A unit test framework for C
libfpx-1.2.0.12_1 Library routines for working with Flashpix images
libgcrypt-1.4.4 General purpose crypto library based on code used in GnuPG
libgpg-error-1.7 Common error values for all GnuPG components
libiconv-1.11_1 A character set conversion library
libltdl-1.5.26 System independent dlopen wrapper
libmcrypt-2.5.8 Multi-cipher cryptographic library (used in PHP)
libpthread-stubs-0.1 This library provides weak aliases for pthread functions
libtool-1.5.26 Generic shared library support script
libungif-nox11-4.1.4_5 Tools and library routines for working with GIF images
libxcb-1.2_1 The X protocol C-language Binding (XCB) library
libxml2-2.7.3 XML parser library for GNOME
libxslt-1.1.24_2 The XSLT C library for GNOME
m4-1.4.12,1 GNU m4
mysql-client-5.1.34 Multithreaded SQL database (client)
mysql-server-5.1.34 Multithreaded SQL database (server)
netpbm-10.26.61 A toolkit for conversion of images between different format
nginx-0.7.59 Robust and small WWW server
openldap-client-2.4.16 Open source LDAP client implementation
p5-gettext-1.05_2 Message handling functions
pcre-7.9 Perl Compatible Regular Expressions library
pdflib-7.0.3 A C library for dynamically generating PDF
pear-1.8.1 PEAR framework for PHP
pear-Auth-1.6.1_1 PEAR class for creating an authentication system
pear-Auth_SASL-1.0.2 PEAR abstraction of various SASL mechanism responses
pear-DB-1.7.13,1 PEAR Database Abstraction Layer
pear-HTML_Common-1.2.5 PEAR::HTML_Common is a base class for other HTML classes
pear-HTML_QuickForm-3.2.11 Provide methods for creating, validating and processing HTM
pear-MDB2-2.5.0.b2PEAR database abstraction layer
pear-MDB2_Driver_mysql-1.5.0.b2 PEAR mysql MDB2 driver
pear-Mail-1.2.0.b2PEAR class that provides multiple interfaces for sending em
pear-Mail_Mime-1.5.2,2 PEAR classes to create and decode MIME messages
pear-Mail_mimeDecode-1.5.0 Provides a class to decode mime messages
pear-Net_SMTP-1.3.2 PEAR class that provides an implementation of the SMTP prot
pear-Net_Socket-1.0.9 PEAR Network Socket Interface
pear-PHP_Compat-1.5.0 Provides missing functionality for older versions of PHP
pecl-fileinfo-1.0.4 A PECL extension to retrieve info about files
pecl-pdflib-2.1.6 A PECL extension to create PDF on the fly
perl-5.8.9_2 Practical Extraction and Report Language
php5-5.2.9 PHP Scripting Language
php5-bz2-5.2.9 The bz2 shared extension for php
php5-ctype-5.2.9 The ctype shared extension for php
php5-curl-5.2.9 The curl shared extension for php
php5-dom-5.2.9 The dom shared extension for php
php5-exif-5.2.9 The exif shared extension for php
php5-extensions-1.3 A "meta-port" to install PHP extensions
php5-filter-5.2.9 The filter shared extension for php
php5-ftp-5.2.9 The ftp shared extension for php
php5-gd-5.2.9 The gd shared extension for php
php5-gettext-5.2.9The gettext shared extension for php
php5-hash-5.2.9 The hash shared extension for php
php5-iconv-5.2.9 The iconv shared extension for php
php5-imap-5.2.9 The imap shared extension for php
php5-json-5.2.9 The json shared extension for php
php5-ldap-5.2.9 The ldap shared extension for php
php5-mbstring-5.2.9 The mbstring shared extension for php
php5-mcrypt-5.2.9 The mcrypt shared extension for php
php5-mysql-5.2.9 The mysql shared extension for php
php5-openssl-5.2.9The openssl shared extension for php
php5-pcre-5.2.9 The pcre shared extension for php
php5-pdo-5.2.9 The pdo shared extension for php
php5-posix-5.2.9 The posix shared extension for php
php5-session-5.2.9The session shared extension for php
php5-simplexml-5.2.9 The simplexml shared extension for php
php5-spl-5.2.9 The spl shared extension for php
php5-tokenizer-5.2.9 The tokenizer shared extension for php
php5-xml-5.2.9 The xml shared extension for php
php5-xmlreader-5.2.9 The xmlreader shared extension for php
php5-xmlwriter-5.2.9 The xmlwriter shared extension for php
php5-zip-5.2.9 The zip shared extension for php
php5-zlib-5.2.9 The zlib shared extension for php
phpMyAdmin-3.1.5 A set of PHP-scripts to manage MySQL over the web
pkg-config-0.23_1 A utility to retrieve information about installed libraries
png-1.2.35 Library for manipulating PNG images
portconf-1.4 A universal tool to set specific port knobs
portupgrade-2.4.6_2,2 FreeBSD ports/packages administration and management tool s
printproto-1.0.4 Print extension headers
psutils-a4-1.17_2 Utilities for manipulating PostScript documents
pure-ftpd-1.0.22 A small, easy to set up, fast and very secure FTP server
python-2.5,2 The "meta-port" for the default version of Python interpret
python25-2.5.4_1 An interpreted object-oriented programming language
recordproto-1.13.2RECORD extension headers
red5-0.7.0_1 Red5 is an Open Source flash server
resin-3.1.8 Resin, a Java-based Application Server, 3.x branch
ruby-1.8.7.72_1,1 An object-oriented interpreted scripting language
ruby18-bdb-0.6.5_1Ruby interface to Sleepycat's Berkeley DB revision 2 or lat
smarty-2.6.22 The PHP compiling template engine
spawn-fcgi-1.6.2_1spawn-fcgi is used to spawn fastcgi applications
sudo-1.6.9.20 Allow others to run commands as root
t1lib-5.1.2_1,1 A Type 1 Rasterizer Library for UNIX/X11
tcl-8.4.19_2,1 Tool Command Language
tiff-3.8.2_3 Tools and library routines for working with TIFF images
unzip-5.52_5 List, test and extract compressed files in a ZIP archive
webbench-1.5 Simple forking web benchmark
xcb-proto-1.4 The X protocol C-language Binding (XCB) protocol
xcmiscproto-1.1.2 XCMisc extension headers
xextproto-7.0.5 XExt extension headers
xf86bigfontproto-1.1.2 XFree86-Bigfont extension headers
xorg-macros-1.2.1 X.Org development aclocal macros
xproto-7.0.15 X11 protocol headers
xtrans-1.2.3 Abstract network code for X
FreeBSD wen.localhost 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon May 11 02:24:03 CST 2009 wen@wen.localhost:/usr/src/sys/i386/compile/MYGENERICi386
都装了的啊
这个是我的测试机东西很多,应该没关系撒
另外问一下,用faxsetup命令后,我想修改配置在那里呢,我没找到配置文件在哪里,我想修改发传真用ISDN,之前好像选的模拟,很慢
我在avantfax中重启服务器都可以的
tdls
发表于 2009-06-02 17:38
在/var/spool/fax/etc 下面
把其它的Avantfax配置文件也粘一吓吧。:wink:
/var/spool/hylafax/etc/config.ttyd0
/var/spool/hylafax/etc/config
/usr/local/www/avantfax/includes/local_config.php
等等。。。
kisswen
发表于 2009-06-02 18:05
我觉得主要问题应该是avantfax和hylafax之间的通信问题
我用faxstat -r 看到里面已经有两份传真了
# $Id: topic,v 1.4 2003/07/25 16:23:26 lhoward Exp $
#
# prototype config for Topic modems and other similarly broken firmwares
#
#
CountryCode: 0086
AreaCode: 0XXX
FAXNumber: 860XXXXXXX742
LongDistancePrefix: 17909
InternationalPrefix: 17909
DialStringRules: etc/dialrules
ServerTracing: 1
SessionTracing: 11
RecvFileMode: 0777
LogFileMode: 0777
DeviceMode: 0777
RingsBeforeAnswer: 4
SpeakerVolume: off
GettyArgs: "-h %l dx_%s"
LocalIdentifier: kisswen
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%P of %%T"
MaxRecvPages: 25
#
ModemType: Class1 # use this to supply a hint
# as of v1.20, +FTS is not supported, which will cause "Stop and wait"
# failures unless we use software pauses instead...
Class1PPMWaitCmd: "<delay\0727>"# \072 == :to avoid awk problem
Class1TCFWaitCmd: "<delay\0727>"
Class1EOPWaitCmd: "<delay\0729>"
Class1SwitchingCmd: "<delay\0727>"# assumption: +FRS not supported
#
## AvantFAX configuration
#
FaxrcvdCmd: bin/faxrcvd.php
DynamicConfig:bin/dynconf.php
UseJobTSI: true
kisswen
发表于 2009-06-02 18:10
<?php
/**
* AvantFAX - "Web 2.0" HylaFAX management
*
* PHP 5 only
*
* @author David Mimms <david@avantfax.com>
* @copyright 2005 - 2007 MENTALBARCODE Software, LLC
* @copyright 2007 - 2008 iFAX Solutions, Inc.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
*/
//
// DATABASE SETTINGS
//
// EDIT DATABASE USER INFO
// You must create the database before you continue (mysql -p < create_table.sql)
define('AFDB_USER', 'avantfax'); // username
define('AFDB_PASS', 'd58fe49'); // password
define('AFDB_NAME', 'avantfax'); // database name
define('AFDB_ENGINE', 'mysql'); // database engine: mysql
define('AFDB_HOST', 'localhost'); // database host
//
// HYLAFAX SETTINGS
//
$BINARYDIR = '/usr/local/bin'; // typical on Linux, while /usr/local/bin would be typical for FreeBSD
$HYLAFAX_PREFIX = '/usr/local'; // if you installed hylafax from source, your installation may default to /usr/local
$HYLASPOOL = '/var/spool/hylafax';
// Use HylaFAX's tiff2ps script (/var/spool/hylafax/bin/tiff2ps) instead of AvantFAX's tiff2ps functionality
$HYLATIFF2PS = false;
//
// Configuring Caller ID
//
// Set the following to resemble the order in which your Caller ID information and DID/DNIS/DTMF information is stored in your TIFF fax file
// Example output from 'faxinfo fax0000000XX.tif'
// Sender: Internal Fax
// CallID1: 8005551212
// CallID2: iFAX
// CallID3: 8490
//
// The config.<devid> file has these settings set:
// CallIDPattern: "NMBR="
// CallIDPattern: "NAME="
// CallIDPattern: "NDID="
//
$CALLIDn_CIDNumber = 1;
$CALLIDn_CIDName = 2;
$CALLIDn_DIDNum = 3;
//
// Fax Queue Management
//
// For Fax Queue management to work, you must:
// Add an account in hosts.faxd for the user that Apache runs as (ie. apache or wwwrun)
// To do so, run this: /usr/sbin/faxadduser -a pwd apache
// (IMPORTANT) You must install the 'expect' package
// (IMPORTANT) Then you must edit hosts.faxd and move the entry for this new account to the top of the file
// (IMPORTANT) 127.0.0.1 must be second in the file
// Below, put the password for this user
$FAXRMPWD = "pwd";
//
// Faxmail user
//
// If you're using Email to FAX through your MTA, set the following value as the faxmail user you chose
// If you're using postfix on Debian, this may be faxmaster
$FAXMAILUSER = 'faxmail';
//
// Apache user
//
// When resubmitting a fax job (faxalter -r), the fax job shows up as owned by the user running httpd
// In order to properly lookup the correct user, $WWWUSER must be the name of the user running httpd.
// Examples are apache, www-run, nobody
$WWWUSER = 'www';
//
// AvantFAX System email address
//
// Emails from faxrcvd and notify are sent from this email address
define('ADMIN_EMAIL', 'root@localhost'); // system return email address
//
// EMAIL settings for faxrcvd and notify
//
// If you would like to include the fax PDF for successful faxes, set the following to true
// Failed faxes automatically have the failed PDF attached to the email
$NOTIFY_INCLUDE_PDF = false;
// If you would like the email from faxrcvd to include the thumbnail image
$FAXRCVD_INCLUDE_THUMBNAIL = true;
//
// DID/DTMF Routing
//
// If you're using DTMF enabled hardware or PBX that is sending hunt group information to HylaFAX, you can set the following to true
$ENABLE_DID_ROUTING = false;
// Set this to false if you don't want to auto configure new DID/DTMF Routing groups.This is helpful for automatically creating
// new DID groups upon receiving new faxes.However, some may find it a hassle to have new groups created.Faxes that arrive
// on an unconfigured DID/DTMF group will then go into the Catch-All group
$AUTOCONFDID = true;
//
// AvantFAX Interface Options
//
$dft_config_lang = 'zh'; // default system language (english)
// Default values for fields when sending a fax either through AvantFAX or directly through HylaFAX
// (only if they haven't been set in /etc/hylafax/hyla.conf)
$FROM_COMPANY = "";
$FROM_LOCATION = "";
$FROM_FAXNUMBER = "";
$FROM_VOICENUMBER = "";
$DEFAULT_TSI_ID = "";
// enable interface to show link for downloading the original TIFF file
$ENABLE_DL_TIFF = false;
// server name
$AVANTFAX_SERVERNAME = 'avantfax'; // replace with a custom string for your server name, otherwise leave NULL to use your server's hostname (if found)
$SHOWSERVER_DETAILS = false;
// Show all Rubrica contacts
// You would set to false once you have several hundreds (even thousands) of contacts that it doesn't make sense
// to load them all every time you load a page like Contacts and Archive
$SHOW_ALL_CONTACTS = true;
// If you want to convert your faxes to G4 format (to save space) when faxrcvd copies the tif file to the AvantFAX archive
$TIFF_TO_G4 = false;
// To enable debugging
$AVANTFAX_DEBUG = false;
// This mode is for restricting user access to faxes in the archive
// When diabled, users can view faxes that were received on their viewable fax line (or DID group) OR viewable category
// When enabled, users can only view faxes that were received on their viewable fax line (or DID group) AND viewable category
// Therefore, when in use, users who have access to one modem (or DID group) cannot see the faxes from another modem (or DID group)
// even if they can view that category
define('RESTRICTED_USER_MODE', false);
// set to 1 if you want your custom cover page to show total pages in the fax instead of number pages that follow the cover page
// this is used ONLY when you send a fax that consists of just the cover page
// the default cover page displays (Number of pages to follow: 0)
$NUM_PAGES_FOLLOW = 0;
// Fax number lookup
// replace your own link but fax number must be behind the last =
define('WHITEPAGES', "http://www.whitepages.com/10001/search/ReversePhone?phone="); // White Pages USA
// define('WHITEPAGES', "http://www.paginebianche.it/execute.cgi?btt=1&tl=2&tr=106&qs="); // White Pages Italy
// define('WHITEPAGES', "http://privatpersoner.eniro.se/query?stq=0&searcharea=&what=wphone&searchword="); // Vita sidorna Eniro, Sverige
// increase if you want users to be able to have longer values
// WHFC has issues with usernames longer than 15 chars
define('MAX_USERNAME_SIZE', 15);
define('MAX_PASSWD_SIZE', 15);
define('MIN_PASSWD_SIZE', 8);
define('MAX_EMAIL_SIZE', 99);
// List Inbox by modem instead of by date
define('INBOX_LIST_MODEM', false);
// Inbox takes focus when new fax arrives
$FOCUS_ON_NEW_FAX = false;
// Inbox shows a popup window (Javascript alert) when a new fax arrives
$FOCUS_ON_NEW_FAX_POPUP = false;
// Default setting for requesting "requeued" email
$SENDFAX_REQUEUE_EMAIL = true;
// Toggle if you want to show the Cover page form in sendfax.php (set: true or false)
$SENDFAX_USE_COVERPAGE = true;
// if you would like see all faxes that arrive including those routed to an email address, set this to false.
$ARCHIVEFAX2EMAIL = true;
// For smaller screens (ie: 1024x768), set this to false
// When set to false, the Archve page will fit the fax preview image in with the rest of the results
$ARCHIVE_WIDE = true;
//
// OCR Support
//
// Enable support for Tesseract to read the content of your fax and store the data in your database for improved Archive searching
// tesseract must be installed first
define('ENABLE_OCR_SUPPORT', false); // set to true to enable support
define('OCR_BINARY', "/usr/local/bin/tesseract");
define('OCR_COMMAND', OCR_BINARY." %s %s -l %s"); // to use all languages, remove "-l %s" from the command
define('OCR_LANGUAGE', "eng"); // Examples: eng, fra, deu, spa, ita
//
// Barcode Support
//
// If you have the bardecode software, you can enable this functionality to automatically store any barcode data from received faxes in the database
// Contact sales@ifax.com for details
define('ENABLE_BARDECODE_SUPPORT', false);
define('BARDECODE_BINARY', "/var/spool/hylafax/bin/bardecode");
define('BARDECODE_COMMAND', BARDECODE_BINARY." -t any -f %s");
//
// Annotation support
//
// If you want to annotate each fax with AvantFAX's faxid
define('ENABLE_FAX_ANNOTATION', false);
define('ANN_GRAVITY', 'south'); // acceptable values: north, northeast, northwest, south, southeast, southwest
// If you want to print the annotated PDF, set the following to true.Otherwise, the received TIFF file will be printed as received (not annotated)
$FAXRCVD_PRINT_PDF = false;
//
// Email settings
//
// Email encoding options (values are: SevenBitEncoding, QPrintEncoding, Base64Encoding)
define('EMAIL_ENCODING_TEXT', "Base64Encoding");
define('EMAIL_ENCODING_HTML', "Base64Encoding");
// Email Charset options (values: UTF-8, or whatever your iso-8859 charset is)
define('EMAIL_ENCODING_CHARSET', "UTF-8");
// SMTP server support for using external mail server (mail server not on this machine)
define('USE_SMTPSERVER', false); // set to true to enable usage
define('SMTP_SERVER', 'localhost'); // set your mail server address (ie: mail.example.com, or ssl://mail.example.com)
define('SMTP_PORT', 25); // mail server port.For SSL, try 465
define('SMTP_AUTH', false); // set to true to enable SMTP authentication
define('SMTP_USERNAME', ''); // username for authentication
define('SMTP_PASSWORD', ''); // password for authentication
define('SMTP_LOCALHOST', 'localhost'); // the value to give for HELO
// AvantFAX Email signature
$SYSTEM_EMAIL_SIG_HTML = '<a href="http://www.avantfax.com/">AvantFAX</a>';
$SYSTEM_EMAIL_SIG_TEXT = 'www.AvantFAX.com';
//
// Cover page
//
// This is the path to your custom cover page
// The PostScript file must be located in the images/ directory
$COVERPAGE_FILE = 'cover.ps';
// The new cover page feature allows you to use an HTML page as your cover page
// This means that it will be much easier to make your own coverpages to be used with AvantFAX/HylaFAX
// Your custom HTML cover page must be located in AvantFAX's "images" directory
// This feature requires html2ps.AvantFAX was tested with version 1.0 beta5
// To download html2ps, follow this URL: http://user.it.uu.se/~jan/html2ps.html
$USE_HTML_COVERPAGE = false;
$HTML_COVERPAGE_FILE = 'coverpage.html';
$HTML2PS = '/usr/local/bin/html2ps';
// if you need to change the document size
$PAPERSIZE = 'a4'; // a4, letter
// Cover Page options (for postscript cover pages)
$CPAGE_LINELEN = 80;// max line length
//
// Printer Settings
//
// Printing support for received faxes to enable support, change to true
$PRINTFAXRCVD = false;
$PRINTERNAME = ''; // the name of the print queue or leave blank for default printer
$PRINTCMD = '/usr/bin/lpr'; // the print spool command
$PRINTFAX2PS = '/usr/bin/fax2ps'; // the print command
$PDFPRINTCMD = '/usr/bin/lpr'; // the print command for PDFs
//
// Date format settings
//
define('FAXCOVER_DATE_FORMAT', "%d.%m.%Y %H:%M"); // strftime format for faxcover. Example: "%m/%d/%Y %H:%M"
define('EMAIL_DATE_FORMAT', "%d.%m.%Y %H:%M"); // strftime format for notify/faxrcvd subject email dates. Example: "%m/%d/%Y %H:%M"
define('ARCHIVE_DATE_FORMAT', "'%d.%m.%Y %H:%i'");// SQL format for Inbox & Archive Dates.Example: "'%m/%d/%Y %H:%i'" or "GET_FORMAT(DATETIME, 'USA')"
//
// Ghostscript tweaks
//
// ghostscript
$DPI = 92; // DPI of recieved faxes viewed in inbox (calibrate for rotate speed) higher number for faster processor.View AvantFAX Admin Logs for stats.
$DPIS = 200; // DPI of sent faxes kept in archive (calibrate for pdf file size)
define('PREV_TN', 80); // thumbnail width
define('PREV_SP', 750); // view fax preview fax image width
数据库密码也没改
tdls
发表于 2009-06-03 09:18
你粘上来的配置文件我看过都设置了!
Avantfax和Hylafax的通信主要是:
# ln -s /usr/local/www/avantfax/includes/faxrcvd.php /var/spool/hylafax/bin/faxrcvd.php
# ln -s /usr/local/www/avantfax/includes/dynconf.php /var/spool/hylafax/bin/dynconf.php
# ln -s /usr/local/www/avantfax/includes/notify.php /var/spool/hylafax/bin/notify.php
# vi /var/spool/hylafax/etc/config.ttyd0
//添加
#
## AvantFAX configuration
#
FaxrcvdCmd: bin/faxrcvd.php
DynamicConfig:bin/dynconf.php
UseJobTSI: true
---------------------------------
# vi /var/spool/hylafax/etc/config
//添加
#
## AvantFAX configuration
#
NotifyCmd: bin/notify.php
---------------------------------
#mv /usr/local/bin/faxcover /usr/local/bin/faxcover.old
#ln -s /usr/local/www/avantfax/includes/faxcover.php /usr/local/bin/faxcover
这里做的。
-------------------------------------
权限你也应该设了吧?
#chmod -R 777 /usr/local/www/avantfax/tmp /usr/local/www/avantfax/faxes
#chown -R www:www /usr/local/www/avantfax//includes/templates
我之前做的时候也能发,在Hylafax下能收,在Avantfax下没有见到传真,是PHP程序我没有做连接!
PHP程序连接
#ln-s /usr/local/bin/php /usr/bin/php
---------------------------------------
登录Avantfax Web介面后要做一些设置的,我没有详细说明:
在管理界面下建一个“传真分类”;建一个“Modem";再建一个"用户",要授权这个“用户”基于刚才建的“Modem”能收发传真!
之后用这“用户”登录,应该就能收到新的传真了。
这里兄弟你设置了吗??
如果你都设置了,我暂时也找不到什么原因!
这个方案我是做了N次(N > 5)都是行的,还是一边做一边写的,写好后我还依照文档的方法做了一次系统,确保没有什么错才发上来的。
如果兄弟方便可以开个SSh连接我过去看看吗?
leiing
发表于 2009-06-08 15:58
不错,刚好需要这方面的资料:)
turionboy
发表于 2009-06-09 00:03
不错,楼主辛苦,:mrgreen: :mrgreen:
屠龙
发表于 2009-06-10 19:36
关键是modem的驱动,如果买的modem系统不支持就没戏了,Multi-Tech的猫太贵了,800元一个! 请问楼主用的是什么牌子的modem?:wink:
firecpk
发表于 2009-06-10 22:10
仔细考虑了一下,对于有多个部门的传真服务,真的是一种好的管理方案!
不错,刚好家里还有一个外置的猫,改天试试。
支持
jeffyan
发表于 2009-06-11 21:21
还能这样玩啊。 呵呵