some faxes not detected, but received on an "old" fax machine

Laurent Lesage <[email protected]>
Newsgroups gmane.comp.telephony.fax.hylafax.user
Message-ID <[email protected]>
Hi all,

I'm using a hylafax server with an usb UsrRobotics modem. The line is a 
true PSTN line, in Belgium. At his moment, the modem only receives faxes.
here is what I get in /proc/bus/usb :
> T:  Bus=05 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
> D:  Ver= 2.00 Cls=02(comm.) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=0baf ProdID=0303 Rev= 2.00
> S:  Manufacturer=U.S.Robotics
> S:  Product=USB Modem
> S:  SerialNumber=0000002
> C:* #Ifs= 2 Cfg#= 2 Atr=80 MxPwr=360mA
> I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acm
> E:  Ad=82(I) Atr=03(Int.) MxPS=  16 Ivl=64ms
> I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
> E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

The problem is that some caller can not send faxes. Hera attached, a 
failed transmission. If we use a fax machine, the fax is well received. 
this problem appears for callers form France. I suspect they may have 
quality problems in France but using a fax machine, it is working. So, 
maybe some parameters could solve the problem?
Attached, the config file of the modem (based on a file found on the 
hylafax lists!).

another question : is there a way to receive notification when such a 
call appear? At this time, "FaxMaster" is not notified for those failed 
attempts.

Any suggestion welcome :-)

-- 
Laurent Lesage
consultant
Logiciels Libres - VoIP - Formation
Bureau:    (+32) 71 46 06 54
Fax:    (+32) 71 46 01 54
Cell:    (+32) 477 18 49 12
email:    [email protected]
iax2:    [email protected]
web:    www.2lconsult.be

Nous adhérons à la charte eTIC (http://www.charte-etic.be/la-charte.html)
c000000327 (application/octet-stream, 3.4 KB) - not displayed
config.ttyACM0 (text/plain, 6.3 KB)
#
CountryCode:		32
AreaCode:		71
FAXNumber:		+xxxxxx
LongDistancePrefix:	0
InternationalPrefix:	00
DialStringRules:	etc/dialrules
ServerTracing:		1
SessionTracing:		11
RecvFileMode:		0666
LogFileMode:		0666
DeviceMode:		0666
RingsBeforeAnswer:	5
SpeakerVolume:		off
GettyArgs:		"-h %l dx_%s"
LocalIdentifier:	"xxxxxxxxxxxxxx"
TagLineFont:		etc/lutRS18.pcf
TagLineFormat:		"From %%l|%c|Page %%P of %%T"
MaxRecvPages:		100
#
#
# 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
ModemFlowControl:	rtscts		# software flow control
#
ModemSetupDTRCmd:	ATS13=1&D3	# setup so DTR drop resets modem
ModemSetupDCDCmd:	AT&C1		# setup so DCD reflects carrier (or not)
ModemNoFlowCmd:		AT&HD	# setup modem for no flow control
ModemHardFlowCmd:	AT&H1	# setup modem for hardware flow control
ModemSoftFlowCmd:	AT&H2	# setup modem for software flow control
ModemResultCodesCmd:	ATQ0X4		# enable result codes
#
ModemMfrQueryCmd:	!USR
ModemModelQueryCmd:	ATI3
ModemRevQueryCmd:	ATI7		# XXX returns a multi-line result
#
# 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+FLO=0	# setup modem for no flow control
Class1HFLOCmd:		AT+FLO=2	# setup modem for hardware flow control
Class1SFLOCmd:		AT+FLO=1		# 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
#
# When using AT+FRS=n we see USR modems reset themselves in the middle of sessions
# this is not good.  So, we seem to work-around that problem by not using the
# command.  Unfortunately, this isn't an ideal thing.
#
Class1SwitchingCmd:	"<delay\0727>"

ModemAnswerCmd:			ATA	# string, command for answering phone
ModemAnswerDataBeginCmd:	""	# string, command for start of answered data call
ModemAnswerDataCmd:		ATA	# string, command for answering data call
ModemAnswerFaxBeginCmd:		""	# string, command for start of answered fax call
ModemAnswerFaxCmd:		ATA	# string, command for answering fax call
ModemAnswerResponseTimeout:	180000	# integer, answer command timeout (ms)
ModemAnswerVoiceBeginCmd:	""	# string, command for start of answered voice call
ModemAnswerVoiceCmd:		ATA	# string, command for answering voice call
ModemATCmdDelay:		0	# integer, delay before sending modem an AT cmd (ms)
ModemBaudRateDelay:		0	# integer, delay (ms) after setting baud rate
ModemClassQueryCmd:		AT+FCLASS=?	# string, command for querying modem services
ModemCommaPauseTimeCmd:		ATS8=2	# string, command for setting time to pause for comma in dialing string
ModemDialCmd:			ATDT%s	# string, command for dialing (%s for number to dial)
ModemDialResponseTimeout:	180000	# integer, dialing command timeout (ms)
ModemEchoOffCmd:		ATE0	# string, command for disabling command echo
ModemFlowControl:		None	# string, DTE-DCE flow control scheme
ModemFrameFillOrder:		LSB2MSB	# string, bit order for HDLC frames
ModemHardFlowCmd:		""	# string, command for setting hardware flow control between DTE and DCE

ModemMinSpeed:			2400	# string, minimum acceptable transmit speed
ModemMfrQueryCmd:		""	# string, command for querying modem manufacturer
ModemModelQueryCmd:		""	# string, command for querying modem model
ModemNoAutoAnswerCmd:		ATS0=0	# string, command for disabling auto-answer
ModemNoFlowCmd:			""	# string, command for disabling hardware flow control between DTE and DCE
ModemOnHookCmd:			ATH0	# string, command for placing phone ``on hook''
ModemPageDoneTimeout:		180000	# integer, page send/receive timeout (ms)
ModemPageStartTimeout:		180000	# integer, page send/receive timeout (ms)
ModemRate:			19200	# integer, baud rate to use for DCE-DTE communication
ModemRecvFillOrder:		LSB2MSB	# string, bit order for received facsimile data
ModemResetCmds:			""	# string, additional commands when resetting modem
ModemResetDelay:		2600	# integer, delay (ms) after sending modem reset commands
ModemResultCodesCmd:		ATQ0	# string, command for enabling result codes
ModemRevQueryCmd:		""	# string, command for querying modem firmware revision
ModemSendBeginCmd:		""	# string, command to send on establishing carrier
ModemSendFillOrder:		LSB2MSB	# string, bit order for sending facsimile data
ModemSetVolumeCmd:		"ATL3M1"	# string, commands for setting modem speaker volume level
ModemSetupAACmd:		""	# string, command for setting up adaptive answer
ModemSetupDCDCmd:		""	# string, command for setting up DCD handling
ModemSetupDTRCmd:		""	# string, command for setting up DTR handling
ModemSoftFlowCmd:		""	# string, command for setting software flow control between DTE and DCE
ModemSoftResetCmd:		ATZ	# string, command for doing a soft reset
ModemType:			Class1	# string, modem type
ModemVerboseResultsCmd:		ATV1	# string, command for enabling verbose result codes
ModemWaitForConnect:		No	# boolean, force server to wait for ``CONNECT'' response on answer
ModemWaitTimeCmd:		ATS7=60	# string, command for setting time to wait for carrier when dialing

Class1Cmd:			AT+FCLASS=1	# string, command to enter class 1
Class1HFLOCmd:			""	# string, command to set hardware flow control
Class1FrameOverhead:		4	# integer, extra bytes in a received HDLC frame
Class1NFLOCmd:			""	# string, command to set no flow control
Class1RecvAbortOK:		100	# integer, max wait (ms) for ``OK'' after recv abort
Class1RecvIdentTimer:		35000	# integer, max wait (ms) for initial ident frame
Class1SFLOCmd:			""	# string, command to set software flow control
Class1TCFMaxNonZero:		10	# integer, max% of non-zero data in good TCF
Class1TCFMinRun:		1000	# integer, minimum zero run in good TCF
Class1TCFRecvTimeout:		4500	# integer, max wait (ms) for TCF
Class1TCFResponseDelay:		75	# integer, delay between TCF and ack/nak
Class1SendPPMDelay:		75	# integer, delay before sending post-page message
Class1SendTCFDelay:		75	# integer, delay between sending DCS and TCF
Class1TrainingRecovery:		1500	# integer, delay after failed training
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.