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



Corrected, re-spawned faxgetty / hylafax and sent a test fax. Im back to the carrier established, phase A errors. Heres the comm log:
 
cat /etc/hylafax/log/c000000685
Jul 23 11:40:35.00: [23990]: SESSION BEGIN 000000685 18667302138
Jul 23 11:40:35.00: [23990]: HylaFAX (tm) Version 4.4.4
Jul 23 11:40:35.01: [23990]: SEND FAX: JOB 23 DEST 18667302138 COMMID 000000685 DEVICE '/dev/ttyds08' FROM 'gwatson <gwatson@xxxxxxxx>' USER mail
Jul 23 11:40:35.01: [23990]: <-- [10:AT+FBOR=0\r]
Jul 23 11:40:35.01: [23990]: --> [2:OK]
Jul 23 11:40:35.01: [23990]: <-- [13:AT+FPHCTO=30\r]
Jul 23 11:40:35.01: [23990]: --> [5:ERROR]
Jul 23 11:40:35.01: [23990]: MODEM Command error
Jul 23 11:40:35.01: [23990]: <-- [24:AT+FDCC=1,D,2,2,0,2,0,0\r]
Jul 23 11:40:35.01: [23990]: --> [2:OK]
Jul 23 11:40:35.05: [23990]: DIAL 9,18667302138
Jul 23 11:40:35.05: [23990]: <-- [18:ATDT9,18667302138\r]
Jul 23 11:40:39.98: [23990]: --> [9:+FHNG: 11]
Jul 23 11:40:39.98: [23990]: REMOTE HANGUP: No answer (T.30 T1 timeout) (code 11)
Jul 23 11:40:39.99: [23990]: SEND FAILED: JOB 23 DEST 18667302138 ERR [7] Carrier established, but Phase A failure
Jul 23 11:40:40.99: [23990]: <-- [5:ATH0\r]
Jul 23 11:40:40.99: [23990]: --> [2:OK]
Jul 23 11:40:40.99: [23990]: SESSION END
 
If it helps (idk that it will) heres a successful comm log from another hylafax box we have. (older RH, older divas, etc)
 
Jul 23 08:55:38.79: [23362]: SESSION BEGIN 18310111 12628780448
Jul 23 08:55:38.79: [23362]: HylaFAX (tm) Version 4.1.5
Jul 23 08:55:38.79: [23362]: SEND FAX: JOB 22856 DEST 12628780448 COMMID 18310111 DEVICE '/dev/ttyds15'
Jul 23 08:55:38.79: [23362]: DELAY 75 ms
Jul 23 08:55:38.87: [23362]: DELAY 2600 ms
Jul 23 08:55:41.47: [23362]: DELAY 10 ms
Jul 23 08:55:41.48: [23362]: <-- [4:ATZ\r]
Jul 23 08:55:41.48: [23362]: --> [3:ATZ]
Jul 23 08:55:41.48: [23362]: --> [2:OK]
Jul 23 08:55:41.48: [23362]: DELAY 3000 ms
Jul 23 08:55:44.48: [23362]: <-- [5:ATE0\r]
Jul 23 08:55:44.49: [23362]: --> [4:ATE0]
Jul 23 08:55:44.49: [23362]: --> [2:OK]
Jul 23 08:55:44.49: [23362]: <-- [5:ATV1\r]
Jul 23 08:55:44.49: [23362]: --> [2:OK]
Jul 23 08:55:44.49: [23362]: <-- [5:ATQ0\r]
Jul 23 08:55:44.49: [23362]: --> [2:OK]
Jul 23 08:55:44.49: [23362]: <-- [7:ATS0=0\r]
Jul 23 08:55:44.49: [23362]: --> [2:OK]
Jul 23 08:55:44.49: [23362]: <-- [7:ATS8=2\r]
Jul 23 08:55:44.49: [23362]: --> [2:OK]
Jul 23 08:55:44.49: [23362]: <-- [8:ATS7=60\r]
Jul 23 08:55:44.49: [23362]: --> [2:OK]
Jul 23 08:55:44.49: [23362]: <-- [6:AT&K3\r]
Jul 23 08:55:44.49: [23362]: --> [2:OK]
Jul 23 08:55:44.49: [23362]: <-- [12:AT+FCLASS=2\r]
Jul 23 08:55:44.49: [23362]: --> [2:OK]
Jul 23 08:55:44.49: [23362]: <-- [10:AT+FBOR=0\r]
Jul 23 08:55:44.49: [23362]: --> [2:OK]
Jul 23 08:55:44.49: [23362]: <-- [13:AT+FPHCTO=30\r]
Jul 23 08:55:44.49: [23362]: --> [2:OK]
Jul 23 08:55:44.49: [23362]: <-- [25:AT+FDCC=1,13,0,2,0,1,0,0\r]
Jul 23 08:55:44.49: [23362]: --> [2:OK]
Jul 23 08:55:44.49: [23362]: <-- [5:ATM0\r]
Jul 23 08:55:44.49: [23362]: --> [2:OK]
Jul 23 08:55:44.49: [23362]: <-- [12:AT+FCLASS=2\r]
Jul 23 08:55:44.58: [23362]: --> [2:OK]
Jul 23 08:55:44.59: [23362]: <-- [10:AT+FBOR=0\r]
Jul 23 08:55:44.69: [23362]: --> [2:OK]
Jul 23 08:55:44.69: [23362]: <-- [13:AT+FPHCTO=30\r]
Jul 23 08:55:44.79: [23362]: --> [2:OK]
Jul 23 08:55:44.79: [23362]: <-- [25:AT+FDCC=1,13,0,2,0,1,0,0\r]
Jul 23 08:55:44.89: [23362]: --> [2:OK]
Jul 23 08:55:44.89: [23362]: <-- [30:AT+FLID="blah-OBDW15"\r]
Jul 23 08:55:44.99: [23362]: --> [2:OK]
Jul 23 08:55:44.99: [23362]: DIAL 9,12628780448
Jul 23 08:55:44.99: [23362]: <-- [18:ATDT9,12628780448\r]
Jul 23 08:56:02.83: [23362]: --> [5:+FCON]
Jul 23 08:56:02.83: [23362]: --> [8:+FCSI:""]
Jul 23 08:56:02.83: [23362]: REMOTE CSI ""
Jul 23 08:56:02.83: [23362]: --> [22:+FDIS: 1,5,0,0,0,2,0,5]
Jul 23 08:56:02.83: [23362]: --> [2:OK]
Jul 23 08:56:02.83: [23362]: REMOTE best rate 14400 bit/s
Jul 23 08:56:02.83: [23362]: REMOTE max page width 1728 pixels in 215 mm
Jul 23 08:56:02.83: [23362]: REMOTE max A4 page length (297 mm)
Jul 23 08:56:02.83: [23362]: REMOTE best vres 7.7 line/mm
Jul 23 08:56:02.83: [23362]: REMOTE best format 1-D MR
Jul 23 08:56:02.83: [23362]: REMOTE supports T.30 Annex C, half duplex ECM
Jul 23 08:56:02.83: [23362]: REMOTE best 20 ms/scanline
Jul 23 08:56:02.83: [23362]: USE 14400 bit/s
Jul 23 08:56:02.83: [23362]: USE 40 ms/scanline
Jul 23 08:56:02.83: [23362]: SEND file "docq/doc30445.ps;30"
Jul 23 08:56:02.83: [23362]: USE page width 1728 pixels in 215 mm
Jul 23 08:56:02.83: [23362]: USE A4 page length (297 mm)
Jul 23 08:56:02.83: [23362]: USE 3.85 line/mm
Jul 23 08:56:02.83: [23362]: USE 1-D MR
Jul 23 08:56:02.83: [23362]: <-- [24:AT+FDIS=0,5,0,0,0,0,0,7\r]
Jul 23 08:56:02.93: [23362]: --> [2:OK]
Jul 23 08:56:02.93: [23362]: <-- [7:AT+FDT\r]
Jul 23 08:56:03.63: [23362]: --> [22:+FDCS: 0,5,0,2,0,2,0,5]
Jul 23 08:56:03.85: [23362]: --> [7:CONNECT]
Jul 23 08:56:03.85: [23362]: SEND wait for XON
Jul 23 08:56:03.85: [23362]: --> [1:]
Jul 23 08:56:03.85: [23362]: SEND begin page
Jul 23 08:56:03.85: [23362]: <-- data [1027]
Jul 23 08:56:03.85: [23362]: <-- data [1025]
Jul 23 08:56:03.85: [23362]: <-- data [1024]
Jul 23 08:56:03.85: [23362]: <-- data [1028]
Jul 23 08:56:03.85: [23362]: <-- data [1031]
Jul 23 08:56:03.85: [23362]: <-- data [1033]
Jul 23 08:56:03.85: [23362]: <-- data [1027]
Jul 23 08:56:03.85: [23362]: <-- data [1034]
Jul 23 08:56:03.85: [23362]: <-- data [1027]
Jul 23 08:56:03.85: [23362]: <-- data [1030]
Jul 23 08:56:03.85: [23362]: <-- data [1028]
Jul 23 08:56:03.85: [23362]: <-- data [1031]
Jul 23 08:56:03.85: [23362]: <-- data [1024]
Jul 23 08:56:03.85: [23362]: <-- data [1024]
Jul 23 08:56:03.85: [23362]: <-- data [101]
Jul 23 08:56:03.85: [23362]: SENT 14437 bytes of data
Jul 23 08:56:03.85: [23362]: <-- data [2]
Jul 23 08:56:03.85: [23362]: SEND end page
Jul 23 08:56:06.73: [23362]: --> [2:OK]
Jul 23 08:56:06.73: [23362]: SEND send EOP (no more pages or documents)
Jul 23 08:56:06.73: [23362]: <-- [9:AT+FET=2\r]
Jul 23 08:56:08.51: [23362]: --> [8:+FPTS: 1]
Jul 23 08:56:08.51: [23362]: --> [8:+FHNG: 0]
Jul 23 08:56:08.51: [23362]: REMOTE HANGUP: Normal and proper end of connection (code 0)
Jul 23 08:56:08.51: [23362]: <-- [5:ATH0\r]
Jul 23 08:56:08.51: [23362]: --> [2:OK]
Jul 23 08:56:08.51: [23362]: SESSION END



From: Stefan Wagner [mailto:stefan-usenet@xxxxxxxxxxxxxxxxxx]
Sent: Friday, July 23, 2010 11:36 AM
To: Watson, Grady
Subject: RE: [hylafax-users] hylafax-4.4.4-1, centos5, gcc 4.1.2, libtiff 3.8, dialogic diva pri pci v2, divas4linux108.123

Hi Grady,
 
you omitted this line:
Class2UseHex: true # Diva drivers response in HEX format
 
Kind regards
 
Stefan
-----Original Message-----
From: hylafax-users-bounce@xxxxxxxxxxx [mailto:hylafax-users-bounce@xxxxxxxxxxx]On Behalf Of Watson, Grady
Sent: Friday, July 23, 2010 6:10 PM
To: Dominique dHotman
Cc: hylafax-users@xxxxxxxxxxx
Subject: Re: [hylafax-users] hylafax-4.4.4-1, centos5, gcc 4.1.2, libtiff 3.8, dialogic diva pri pci v2, divas4linux108.123

I changed my config.ttydsX to what youre using (shown below) and now get the following in messages for all of the tty devs I have configured:
 
Jul 23 10:02:52 xx FaxGetty[5675]: /dev/ttyds10: Can not initialize modem.
Jul 23 10:02:52 xx FaxGetty[5672]: Error parsing AT+FDCC=? response: "(0,1),(0-D),(0-2),(0-2),0,(0-2),0,0"
 
CountryCode:            1
AreaCode:               303
FAXNumber:              +1.303.980.xxxx
LongDistancePrefix:     1
InternationalPrefix:    011
DialStringRules:        "etc/dialrules"
ServerTracing:          1
SessionTracing:         11
RecvFileMode:           0650
LogFileMode:            0650
DeviceMode:             0600
RingsBeforeAnswer:      2
SpeakerVolume:          off
GettyArgs:              "-b -r -s %s %l"
LocalIdentifier:        "CompanyName-OBDW1"
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
#QualifyCID:             etc/cid
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
 
Class2APQueryCmd:       none
Class2SPLCmd:           none
Class2TBCCmd:           none
Class2ECMType:          2.0     # follows Class 2.0 spec, not Class 2
 
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: "
Any thoughts? Its beginning to feel like something was misconfigured when divas was installed. Though Im not entirely sure what to check there.


From: Dominique dHotman [mailto:dominique@xxxxxxxxxxx]
Sent: Friday, July 23, 2010 1:18 AM
To: Watson, Grady
Cc: hylafax-users@xxxxxxxxxxx
Subject: Re: [hylafax-users] hylafax-4.4.4-1, centos5, gcc 4.1.2, libtiff 3.8, dialogic diva pri pci v2, divas4linux108.123

Hi Grady,

We are successfully using the Eicon Dialogic card 30 channel E1 card with our Hylafax installation.  When we first did the installation it was a real pain and didn't work that well but after making contact with the Dialogic support we managed to get everything working really well.  Here the a modem config that we are using (which I got from Dialogic's support portal):


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

#
#
CountryCode:            XX
AreaCode:               XX
FAXNumber:              XXXXXXXXXX
LongDistancePrefix:     0
InternationalPrefix:    00
DialStringRules:        "etc/dialrules"
ServerTracing:          0xfff
SessionTracing:         0xfff
RecvFileMode:           0650
LogFileMode:            0650
DeviceMode:             0600
RingsBeforeAnswer:      2
SpeakerVolume:          off
GettyArgs:              "-b -r -s %s %l"
LocalIdentifier:        "ooba(pty)ltd HylaFax"
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
QualifyCID:             etc/cid
MaxRecvPages:           500
#
#

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

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

#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


Hope this helps.
Dominique


On Thu, Jul 22, 2010 at 8:07 PM, Watson, Grady <gwatson@xxxxxxxxxxxxxxxx> wrote:
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,
 
 
 
 





Project hosted by iFAX Solutions