HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] hylafax-4.4.4-1, centos5, gcc 4.1.2, libtiff 3.8, dialogic diva pri pci v2, divas4linux108.123



Watson,

in my (working) setup (see below) there is an additional "Class2ECMType:
2.0" command. I got this from a Dialogic App note, so it might be a good
idea, to make a try with it. (Perhaps you also might want to use the caller
ID settings.)

Here the relevant parts of my modem config file, used for an Eicon Diva
Server BRI-2M PCI (v 1.0) on Debian lenny with the Divas V3 drivers from
melware.org (based on divas4linux109.75) and Hylafax 4.4.4 (debian):

#####
RingsBeforeAnswer: 2 # get CID values between 1st and 2md ring
ModemType: Class2
ModemRate: 57600 # Diva Server supports V.34-fax
ModemFlowControl: rtscts
ModemNoFlowCmd: AT&K0
ModemSoftFlowCmd: AT&K4
ModemHardFlowCmd: AT&K3
Class2APQueryCmd: none
Class2SPLCmd: none
Class2TBCCmd: none
Class2ECMType: 2.0 # follows Class 2.0 spec, not Class 2
Class2UseHex: true # Diva drivers response in HEX format
# Select CID mode, bind Modem to Controller 1 and set incoming
# and outgoing MSN
ModemResetCmds: AT#CID=14+iQ=a1+iA<MSN in>+iO<MSN out>
# Do NOT use ATDT, as the "T" will become part of the dialled number.
# Seems to be a bug in the driver's AT command interpreter
ModemDialCmd: ATD%s
# Caller ID
CIDNumber: "DAD: "
CIDName: "CID: "
######

Hope that helps.

Kind regards

Stefan

-----Original Message-----
From: hylafax-users-bounce@xxxxxxxxxxx
[mailto:hylafax-users-bounce@xxxxxxxxxxx]On Behalf Of Watson, Grady
Sent: Thursday, July 22, 2010 8:23 PM
To: hylafax-users@xxxxxxxxxxx
Subject: [hylafax-users] hylafax-4.4.4-1, centos5, gcc 4.1.2, libtiff 3.8,
dialogic diva pri pci v2, divas4linux108.123


I'm having a bear of a time trying to get our eicon (dialogic) card working
with hylafax. I've ran faxsetup and faxaddmodem and then configured
faxgetty.

faxstat -s shows the following:
JID  Pri S  Owner Number       Pages Dials     TTS Status
16   123 S   mail 18667302138   0:2   4:12   18:04 Carrier established, but

Here's the session log:
Jul 22 11:58:57.91: [ 2921]: SESSION BEGIN 000000604 18667302138
Jul 22 11:58:57.91: [ 2921]: HylaFAX (tm) Version 4.4.4
Jul 22 11:58:57.91: [ 2921]: SEND FAX: JOB 16 DEST 18667302138 COMMID
000000604 DEVICE '/dev/ttyds17' FROM 'test user <testuser@xxxxxxxx>' USER
mail
Jul 22 11:58:57.91: [ 2921]: <-- [10:AT+FBOR=0\r]
Jul 22 11:58:57.91: [ 2921]: --> [2:OK]
Jul 22 11:58:57.91: [ 2921]: <-- [13:AT+FPHCTO=30\r]
Jul 22 11:58:57.91: [ 2921]: --> [5:ERROR]
Jul 22 11:58:57.91: [ 2921]: MODEM Command error
Jul 22 11:58:57.91: [ 2921]: <-- [24:AT+FDCC=1,D,2,2,0,2,0,0\r]
Jul 22 11:58:57.91: [ 2921]: --> [2:OK]
Jul 22 11:58:57.91: [ 2921]: DIAL 9,18667302138
Jul 22 11:58:57.91: [ 2921]: <-- [17:ATD9,18667302138\r]
Jul 22 11:59:02.58: [ 2921]: --> [9:+FHNG: 11]
Jul 22 11:59:02.58: [ 2921]: REMOTE HANGUP: No answer (T.30 T1 timeout)
(code 11)
Jul 22 11:59:02.58: [ 2921]: SEND FAILED: JOB 16 DEST 18667302138 ERR [7]
Carrier established, but Phase A failure
Jul 22 11:59:03.58: [ 2921]: <-- [5:ATH0\r]
Jul 22 11:59:03.58: [ 2921]: --> [2:OK]
Jul 22 11:59:03.58: [ 2921]: SESSION END

I'm not entirely sure what to make of this. Here's the relevant config.tty:

# $Id: eicon-2,v 1.1 2002/05/03 19:32:52 darren Exp $
#
# prototype config file for the Eicon Diva ISDN Modem
#

#
#
CountryCode:            1
AreaCode:       303
FAXNumber:      +1.303.981.3003
LongDistancePrefix:     1
InternationalPrefix:    011
DialStringRules:        etc/dialrules
ServerTracing:          1
SessionTracing:         11
RecvFileMode:           0600
LogFileMode:            0600
DeviceMode:     0600
RingsBeforeAnswer:      3
SpeakerVolume:          off
GettyArgs:      "-h %l dx_%s"
LocalIdentifier:        blah-OBDW4
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
MaxRecvPages:           25
#
#

ModemType:      Class2
ModemRate:      57600   # on boards supporting V.34-fax,
                        # this may need to be 57600
ModemFlowControl:       rtscts
ModemNoFlowCmd:         AT&K0
ModemSoftFlowCmd:       AT&K4
ModemHardFlowCmd:       AT&K3
ModemDialCmd:           ATD%s

Class2ECMType:          2.0
Class2APQueryCmd:       none
Class2SPLCmd:           none
Class2TBCCmd:           none
Class2UseHex:           true

Any assistance / insight would be greatly appreciated. Ive been scanning the
archives and while Ive seen similiar errors no posted results have worked
for me.

Thanks in advance,


____________________ 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*




Project hosted by iFAX Solutions