HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Eicon Diva Server 4BRI: "Waiting for modem to come ready"




I've got a debian etch box with a dialogic diva server 4bri controller with hylafax 4.4.4.
I'am using the tty modems of the diva drivers version 8.5 with the following configuration for the modems listed on the web site of dialogic:

# Config File for tty modem
# $Id: eicon-2,v 1.2 2004/03/05 02:29:32 lhoward Exp $
#
# prototype config file for the Diva ISDN Modem
#

#
#
LogFacility:            local0
CountryCode:            49
AreaCode:               7131
FAXNumber:             xxx
#LongDistancePrefix:
#InternationalPrefix:
DialStringRules:        "etc/dialrules.europe"
ServerTracing:          0xfffff
SessionTracing:         0xfffff
RecvFileMode:           0600
LogFileMode:            0600
DeviceMode:             0600
RingsBeforeAnswer:      2
SpeakerVolume:          off
#GettyArgs:             "-h %l dx_%s"
GettyArgs:              "-b -r -s %s %l"
LocalIdentifier:        "xxx"
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
MaxRecvPages:           25
#
#

ModemType:              Class2
ModemRate:              57600   # Diva Server supports V.34-fax
ModemFlowControl:       rtscts
ModemNoFlowCmd:         AT&K0
ModemSoftFlowCmd:       AT&K4
ModemHardFlowCmd:       AT&K3
ModemDialCmd:           ATX3DT%s@

Class2APQueryCmd:       none
Class2SPLCmd:           none
Class2TBCCmd:           none
Class2ECMType:          2.0     # follows Class 2.0 spec, not Class 2
Class2PHCTOCmd:         none

#Bind Modem to Controller 1
ModemResetCmds:         AT#CID=14+iQ=a1
# Put the Destination Address in CIDNumber. We can the reject calls on the basis
# Of where we are sending them, instead of the Caller ID
CIDNumber:              "DAD: "
CIDName:                "CID: "
#QualifyCID:             etc/cid         # CID access control list file

The first four modems become ready and I am able to send and receive.
But for the modems 5 - 8 I'll get the following error in the trace file and the state remains in "Waiting for modem to come ready".

Jul 16 17:06:24 localhost FaxGetty[5091]: OPEN /dev/ttyds08  HylaFAX (tm) Version 4.4.4
Jul 16 17:06:25 localhost FaxGetty[5091]: MODEM set DTR OFF
Jul 16 17:06:25 localhost FaxGetty[5091]: DELAY 75 ms
Jul 16 17:06:26 localhost FaxGetty[5091]: MODEM set DTR ON
Jul 16 17:06:26 localhost FaxGetty[5091]: DELAY 2600 ms
Jul 16 17:06:29 localhost FaxGetty[5091]: MODEM set baud rate: 57600 baud, input flow RTS/CTS, output flow RTS/CTS
Jul 16 17:06:29 localhost FaxGetty[5091]: DELAY 10 ms
Jul 16 17:06:29 localhost FaxGetty[5091]: MODEM flush i/o
Jul 16 17:06:29 localhost FaxGetty[5091]: <-- [4:ATZ\r]
Jul 16 17:06:29 localhost FaxGetty[5091]: --> [3:ATZ]
Jul 16 17:06:29 localhost FaxGetty[5091]: --> [2:OK]
Jul 16 17:06:29 localhost FaxGetty[5091]: DELAY 3000 ms
Jul 16 17:06:32 localhost FaxGetty[5091]: MODEM flush i/o
Jul 16 17:06:32 localhost FaxGetty[5091]: <-- [16:AT#CID=14+IQ=A8\r]
Jul 16 17:06:32 localhost FaxGetty[5091]: --> [15:AT#CID=14+IQ=A8]
Jul 16 17:06:32 localhost FaxGetty[5091]: --> [5:ERROR]
Jul 16 17:06:32 localhost FaxGetty[5091]: MODEM Command error
Jul 16 17:06:32 localhost FaxGetty[5091]: MODEM set DTR OFF
Jul 16 17:06:33 localhost FaxGetty[5091]: DELAY 75 ms
Jul 16 17:06:33 localhost FaxGetty[5091]: MODEM set DTR ON
Jul 16 17:06:33 localhost FaxGetty[5091]: DELAY 2600 ms
Jul 16 17:06:36 localhost FaxGetty[5091]: MODEM set baud rate: 57600 baud, input flow RTS/CTS, output flow RTS/CTS
Jul 16 17:06:36 localhost FaxGetty[5091]: DELAY 10 ms
Jul 16 17:06:36 localhost FaxGetty[5091]: MODEM flush i/o
Jul 16 17:06:36 localhost FaxGetty[5091]: <-- [4:ATZ\r]
Jul 16 17:06:36 localhost FaxGetty[5091]: --> [3:ATZ]
Jul 16 17:06:36 localhost FaxGetty[5091]: --> [2:OK]
Jul 16 17:06:36 localhost FaxGetty[5091]: DELAY 3000 ms
Jul 16 17:06:39 localhost FaxGetty[5091]: MODEM flush i/o
Jul 16 17:06:39 localhost FaxGetty[5091]: <-- [16:AT#CID=14+IQ=A8\r]
Jul 16 17:06:39 localhost FaxGetty[5091]: --> [15:AT#CID=14+IQ=A8]
Jul 16 17:06:39 localhost FaxGetty[5091]: --> [5:ERROR]
Jul 16 17:06:39 localhost FaxGetty[5091]: MODEM Command error
Jul 16 17:06:39 localhost FaxGetty[5091]: MODEM set DTR OFF
Jul 16 17:06:39 localhost FaxGetty[5091]: /dev/ttyds08: Can not initialize modem.
Jul 16 17:06:39 localhost FaxGetty[5091]: STATE CHANGE: BASE -> MODEMWAIT (timeout 30)

I'am using for all 8 modems the same configuration except for the ModemResetCmds
AT#CID=14+iQ=a1 (for modem 1)
...
AT#CID=14+iQ=a8 (for modem 8)

I've already talked to the dialogic support and sent a lot of traces. They told me that the modems are working correctly and this is a hylafax problem.

Any ideas???
Thank You...

Best regards / Mit freundlichen Grüßen
Michael Grill

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

Kenngott International GmbH & Co. KG
Holz-, Metall-, Stein- und Glastreppen
Hauptsitz D-74076 Heilbronn Albertistr. 22, D-74076 Heilbronn
HRA 1201 p.h.G. Kenngott International Bet.Ges. mbH 752
Geschäftsführer: Jörg Kenngott
News und Treppenkonfigurator unter http://www.kenngott.de



Project hosted by iFAX Solutions