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] Addmodem script produces incorrect results



Hi Kevin,

 

>What else should I try or is sending faxes for me just totally out of the question.

Well, you really have to define ‘just totally out of the question’... if you want to send fax’s with any degree of reliability then in my opinion the answer is “yes with a Win/Lin modem it’s totally out of the question”.  We have undertaken extensive testing of soft modems including the mars chipset and it’s just not reliable enough to be used for fax.  My suggestion to you would be to find yourself a modem based on the Agere (LSI) Venus or CFAX34 chipsets.

 

If on the other hand you are not worried about the reliability then changes to the Kernel version and driver will change (but not fix) some of the issues you find.

 

Regards

 

ANDREW RINALDI

Mainpine Limited - Support

USA +1 503 822 9944 | Asia/Europe +44 1225 869439  

andrew.rinaldi@xxxxxxxxxxxx | www.mainpine.com

 

From: hylafax-users-bounce@xxxxxxxxxxx [mailto:hylafax-users-bounce@xxxxxxxxxxx] On Behalf Of Kevin Hilton
Sent: 03 May 2007 20:45
To: hylafax-users@xxxxxxxxxxx
Subject: [hylafax-users] Addmodem script produces incorrect results

 

Currently using hylafax version 4.3.1 on ubuntu feisy 7.04 on dell laptop 5000e with modem "LT V.92 Data+Fax Modem Version 8.30". This has the agere mars chipset.  I installed martian drivers in order to make it work in Ubuntu.

Using probemodem I received the following:

robing for best speed to talk to modem: 38400 OK.

This looks like a Class 1 modem.

ATI0    RESULT = "OK"   RESPONSE = "LT V.92 Data+Fax Modem Version 8.30"
ATI1    RESULT = "OK"   RESPONSE = "E851"
ATI2    RESULT = "OK"   RESPONSE = "OK"
ATI3    RESULT = "OK"   RESPONSE = "LT V.92 Data+Fax Modem Version 8.30"
ATI4    RESULT = "OK"   RESPONSE = "72"
ATI5    RESULT = "OK"   RESPONSE = "8.30,0,19,11C1,0448,1668,2000"
ATI6    RESULT = "OK"   RESPONSE = "OK"
ATI7    RESULT = "OK"   RESPONSE = "OK"
ATI8    RESULT = "OK"   RESPONSE = "OK"
ATI9    RESULT = "OK"   RESPONSE = "North America"

Class 1 stuff...

AT+FCLASS=?     RESULT = "OK"   RESPONSE = "0,1"
AT+FCLASS?      RESULT = "OK"   RESPONSE = "1"
AT+FCLASS=0     RESULT = "OK"   RESPONSE = "OK"
AT+FCLASS=1     RESULT = "OK"   RESPONSE = "OK"
AT+FCLASS?      RESULT = "OK"   RESPONSE = "1"
AT+FJUNK=?      RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FJUNK?       RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FAA=?        RESULT = "OK"   RESPONSE = "0,1"
AT+FAA? RESULT = "OK"   RESPONSE = "0"
AT+FAE=?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FAE? RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FTH=?        RESULT = "OK"   RESPONSE = "3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FRH=?        RESULT = "OK"   RESPONSE = "3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FTM=?        RESULT = "OK"   RESPONSE = "3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FRM=?        RESULT = "OK"   RESPONSE = "3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FTS=?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FRS=?        RESULT = "ERROR"        RESPONSE = "ERROR"


It appears by the output I am unable to send AT+FTS and AT+FRS commands.

This is problematic because the addmodem script returns the following:

Class1PPMWaitCmd:    AT+FTS=7    # command to stop and wait before PPM
Class1TCFWaitCmd:    AT+FTS=7    # command to stop and wait before TCF
Class1EOPWaitCmd:    AT+FTS=9    # command to stop and wait before EOP
Class1SwitchingCmd:    AT+FRS=7    # silence between HDLC recv and trans

When sending a fax with the above config I would receive:
Stop and wait failure (modem on hook)

Based on another post (the only one I could find, I changed the above to:

#Class1PPMWaitCmd:       "<delay\0727>"  # \072 == : to avoid awk problem
#Class1TCFWaitCmd:       "<delay\0727>"
#Class1EOPWaitCmd:       "<delay\0729>"
#Class1SwitchingCmd:     "<delay\0727>"  # assumption: +FRS not supported


Still however I would receive the following (unable to send a fax - Just a sample of the log file):
                                                SEND training at v.27ter 4800 bit/s
May 03 12:03:43.46: [14419]: DELAY 70 ms
May 03 12:03:43.53: [14419]: <-- [9:AT+FTH=3\r]
May 03 12:03:43.53: [14419]: MODEM WRITE ERROR: errno 5
May 03 12:03:43.53: [14419]: Error sending T.30 prologue frames
May 03 12:03:43.53: [14419]: SEND training at v.27ter fallback mode 2400 bit/s
May 03 12:03:43.53: [14419]: DELAY 70 ms
May 03 12:03:43.60: [14419]: <-- [9:AT+FTH=3\r]
May 03 12:03:43.60: [14419]: MODEM WRITE ERROR: errno 5
May 03 12:03:43.60: [14419]: Error sending T.30 prologue frames
May 03 12:03:43.60: [14419]: TRAINING failed
May 03 12:03:43.60: [14419]: SEND: Failure to train remote modem at 2400 bps or minimum speed; Giving up after 3 attempts to send s
ame page "docq/doc12.ps;c1", dirnum 0
May 03 12:03:43.60: [14419]: <-- [9:AT+FTH=3\r]
May 03 12:03:43.60: [14419]: MODEM WRITE ERROR: errno 5
May 03 12:03:43.60: [14419]: <-- [5:ATH0\r]
May 03 12:03:43.60: [14419]: MODEM WRITE ERROR: errno 5
May 03 12:03:43.60: [14419]: SESSION END


What else should I try or is sending faxes for me just totally out of the question.


Kevin Hilton  kev_hilton@xxxxxxxxxxx




Project hosted by iFAX Solutions