HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] WHFS: Busy signal detected
Hello.
There is a hylafax server on linux machine, which gets faxes from
another companies and send it to our company's e-mail.
It works fine. I need sending faxes from another machines.
-----------------------------------------
[root@servant fax]# cat etc/config
LogFacility: daemon
CountryCode: 7
AreaCode: 8142
LongDistancePrefix: 1
InternationalPrefix: 011
DialStringRules: etc/dialrules
ServerTracing: 1
-------------------------------------
-------------------------------------
[root@servant fax]# cat etc/config.ttyS1
# $Id: usr-xon,v 1.10 2004/05/19 21:17:23 lhoward Exp $
#
# HylaFAX Facsimile Software
#
# Copyright (c) 1990-1996 Sam Leffler
# Copyright (c) 1991-1996 Silicon Graphics, Inc.
# HylaFAX is a trademark of Silicon Graphics, Inc.
#
#
#
# Configuration for using the Class 1 command interface with
# a USR Courier or Sportster modem and XON/XOFF flow control.
#
#
CountryCode: 7
AreaCode: 8142
FAXNumber: +7.8142.765.099
LongDistancePrefix: 1
InternationalPrefix: 011
DialStringRules: etc/dialrules
ServerTracing: 1
SessionTracing: 11
RecvFileMode: 0644
LogFileMode: 0600
DeviceMode: 0600
RingsBeforeAnswer: 1
SpeakerVolume: off
GettyArgs: "-h %l dx_%s"
LocalIdentifier: "NothingSetup"
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%P of %%T"
#Added via opennet
PercentGoodLines: 75
MaxConsecutiveBadLines: 25
MaxRecvPages: 25
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType: Class1 # use class 1 interface
#ModemRate: 19200 # rate for DCE-DTE communication
ModemRate: 115200 # rate for DCE-DTE communication
ModemFlowControl: xonxoff # software flow control
#
ModemSetupDTRCmd: ATS13=1&D2 # setup so DTR drop resets modem
ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not)
ModemNoFlowCmd: AT&H0&I0&R1 # setup modem for no flow control
ModemHardFlowCmd: AT&H1&I0&R2 # setup modem for hardware flow control
ModemSoftFlowCmd: AT&H2&I2&R1 # setup modem for software flow control
ModemResultCodesCmd: ATQ0X4 # enable result codes
#
ModemMfrQueryCmd: !USR
ModemModelQueryCmd: ATI3
ModemRevQueryCmd: ATI7 # XXX returns a multi-line result
ModemDialCmd: ATDT9,%s@
#ModemDialCmd: ATS7=50\nAT&K3#CLS=8\nAT#VRN=0#VBT=1\nAT#VSR=7200\nAT#VBS=8\nATDP%s\n<waitfor:VCON>\nAT#VLS=4\nAT#VTX\n<waitfor:CONNECT><play:1><waitfor:OK>
#
# When AT+FCLASS=1 is issued the modem automatically switches
# to software flow control; these parameters let the fax software
# reset flow control as needed after entering Class 1.
#
Class1NFLOCmd: AT&H0&I0&R1 # setup modem for no flow control
Class1HFLOCmd: AT&H1&I0&R2 # setup modem for hardware flow control
Class1SFLOCmd: "" # modem does this automatically
#
# This should resolve "DIS/DTC received 3 times" errors:
#
Class1ResponseWaitCmd: AT+FRS=1 # wait after sending TCF for response
#
# The remainder of this configuration is included so that the
# modem "idles" in Class 0 while not sending or receiving facsimile.
#
ModemSetupAACmd: AT+FCLASS=0 # leave modem idling in class 0
ModemAnswerCmd: AT+FCLASS=1A # answer in Class 1
#
# Disables the reporting of bad frames by the modem. This
# overcomes a firmware problem in the x2 and V90 Sportsters.
# It is not necessary for the Courier modem.
#
Class2NRCmd: AT+FNR=1,1,1,0
------------------------------------------
Modem (US Robotics 56K faxmodem) works fine:
------------------------------------------
[root@servant fax]# cu -l /dev/ttyS1
Connected.
OK
at+fclass=?
0,1,2.0
OK
ATZ
OK
----------------------------------------
I tried to send fax from this linux machine:
-----------------------------------------------
[root@servant fax]# sendfax -n -d 110 /etc/passwd
425 Cannot create data socket (127.0.0.1,4558): Address already in use.
----------------------------------------------
This port is used by squid+PAM:
--------------------------------------
[root@servant fax]# netstat -avpn | grep 4558
tcp 0 0 127.0.0.1:4558 127.0.0.1:4560
ESTABLISHED 11937/(pam_auth)
tcp 0 0 127.0.0.1:4560 127.0.0.1:4558
ESTABLISHED 19214/(squid)
------------------------------------
It looks like the problem discribed here, but I don't know how to resolve it:
http://www.hylafax.org/archive/2000-04/threads.php#00191
I need sending faxes from another machines. I tried some software for
windows, but mostly it does not work, except WHFS.
I installed WHFS, setup it, and it looks like it's working:
"HylaFAX scheduler on host.domain.ru: Running
Modem ttyS1 (+7.8142.765.099): Running and idle"
I tried to send fax to our internal fax (number 110) many times, but I
get the following error to my e-mail:
--------------------------------
Your facsimile job to 110 was not sent because:
Busy signal detected
The job will be retried at 10:32.
---- Transcript of session follows ----
PP:Q 16 10:28:47.75: [13252]: SESSION BEGIN 000000719 710 PP:Q 16
10:28:47.76: [13252]: HylaFAX (tm) Version 4.2.0 PP:Q 16
10:28:47.76: [13252]: SEND FAX: JOB 23 DEST 110 COMMID 000000719
DEVICE '/dev/ttyS1'
PP:Q 16 10:28:47.76: [13252]: <-- [12:AT+FCLASS=1\r] PP:Q 16
10:28:48.00: [13252]: --> [2:OK] PP:Q 16 10:28:48.04: [13252]: DIAL
110 PP:Q 16 10:28:48.04: [13252]: <-- [10:ATDT,110@\r] PP:Q 16
10:29:10.23: [13252]: --> [4:BUSY] PP:Q 16 10:29:10.25: [13252]:
SEND FAILED: JOB 23 DEST 110 ERR Busy signal detected PP:Q 16
10:29:10.25: [13252]: <-- [5:ATH0\r] PP:Q 16 10:29:10.49: [13252]:
--> [2:OK] PP:Q 16 10:29:10.49: [13252]: SESSION END
-------------------------------
But it's not busy. Sometimes I get another error:
-------------------------------
Your facsimile job to 110 was not sent because:
No answer from remote
The job will be retried at 10:38.
---- Transcript of session follows ----
PP:Q 16 10:32:23.42: [13613]: SESSION BEGIN 000000720 710 PP:Q 16
10:32:23.42: [13613]: HylaFAX (tm) Version 4.2.0 PP:Q 16
10:32:23.42: [13613]: SEND FAX: JOB 23 DEST 110 COMMID 000000720
DEVICE '/dev/ttyS1'
PP:Q 16 10:32:23.42: [13613]: <-- [12:AT+FCLASS=1\r] PP:Q 16
10:32:23.65: [13613]: --> [2:OK] PP:Q 16 10:32:23.66: [13613]: DIAL
110 PP:Q 16 10:32:23.66: [13613]: <-- [10:ATDT,110@\r] PP:Q 16
10:33:21.07: [13613]: --> [9:NO ANSWER] PP:Q 16 10:33:21.08:
[13613]: SEND FAILED: JOB 23 DEST 110 ERR No answer from remote PP:Q
16 10:33:21.09: [13613]: <-- [5:ATH0\r] PP:Q 16 10:33:26.08:
[13613]: MODEM <Timeout> PP:Q 16 10:33:26.09: [13613]: SESSION END
------------------------------
Please help. I can't setup sending faxes for a few days...
PS. Sorry for my english.
____________________ 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@xxxxxxxxxxx < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*