HylaFAX The world's most advanced open source fax server

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

[hylafax-users] MT5634ZBA-USB and 3 issues



Hi,

In the search of perfect fax center solution.
I came across HylaFAX and this was love from the first
moment :-)
Shortly I've discovered that although HylaFAX is great software
modems are very poor fax hardware :-)
I've tested ASMAX modem with rockwel chipset, ZyXEL1496E+
(which is still my biggest disapointment :-))
Some conexant and lucent based modems they work in class1
and ended up with 3 most recomended MultiTech5634ZBA USB
(firmware 2.27M) modems
connected via D-link 7 port hub

So generaly speaking, this setup works but there are still 3 
things that still bugs me (and I'm a little bit of perfectionst 
so I can't sleep peacefully until I get answer how to solve 
this problems.:-))

1)Number one
This ALWAYS happens during initialisation stage.
snip from log

Mar 23 12:51:28.06: [14476]: SESSION BEGIN 00001960 1234567 Mar 
23 12:51:28.06: [14476]: HylaFAX (tm) Version 4.1.8
Mar 23 12:51:28.06: [14476]: SEND FAX: JOB 591 DEST 7654321 
COMMID 00001960 DEVICE '/dev/ttyACM2'
Mar 23 12:51:28.06: [14476]: DELAY 75 ms
Mar 23 12:51:28.14: [14476]: DELAY 2600 ms
Mar 23 12:51:31.75: [14476]: DELAY 10 ms
Mar 23 12:51:31.76: [14476]: <-- [4:ATZ\r]
Mar 23 12:52:01.76: [14476]: MODEM <Timeout>

Why is this timeout happening and is there
some option to set shorter longer timeout ?

from this point ok:
Mar 23 12:52:01.76: [14476]: DELAY 75 ms
Mar 23 12:52:01.84: [14476]: DELAY 2600 ms
Mar 23 12:52:05.45: [14476]: DELAY 10 ms
Mar 23 12:52:05.46: [14476]: <-- [4:ATZ\r]
Mar 23 12:52:05.68: [14476]: --> [2:OK]
Mar 23 12:52:05.68: [14476]: DELAY 3000 ms
Mar 23 12:52:08.68: [14476]: <-- [5:ATE0\r]
Mar 23 12:52:08.68: [14476]: --> [4:ATE0]
[CUT]

[Side note] For me its not a big deal because despite this 
sending works fine but it would be nice to correct this.:-)

2)Number two
sometimes when I send fax I get garbage(I think)
during init stage
snip from log:
[CUT (above usual init stuff)]
Mar 23 12:52:09.58: [14476]: <-- [9:AT+FIE=0\r]
Mar 23 12:52:09.68: [14476]: --> [2:OK]
Mar 23 12:52:09.68: [14476]: <-- [23:AT+FCC=1,D,2,2,3,1,0,0\r]
Mar 23 12:52:09.78: [14476]: --> [2:OK]
Mar 23 12:52:09.78: [14476]: <-- [29:AT+FLI="Test1"\r]
Mar 23 12:52:09.88: [14476]: --> [2:OK]
Mar 23 12:52:09.88: [14476]: DIAL 1234567
Mar 23 12:52:09.88: [14476]: <-- [29:AT+FCC=,,,,,,,,0;DT1234567
\r]
Mar 23 12:52:36.43: [14476]: --> [2:^P^D]

What this means ? is this some bug in modem, faulty hardware
, some electric distortion I have no idea. 
How to correct this problem any suggestions what this might be 
and how to debug this would be appreciated.

[rest of log]
Mar 23 12:52:36.43: [14476]: SEND FAILED: JOB 591 DEST 1234567 
ERR Unknown problem (check modem power)
Mar 23 12:52:36.43: [14476]: <-- [5:ATH0\r]
Mar 23 12:52:36.43: [14476]: --> [2:OK]
Mar 23 12:52:36.46: [14476]: SESSION END


the other part of session gets this in log (I've sended fax to 
myself:-)
Mar 23 12:52:17.84: [13844]: SESSION BEGIN 00001961 1234567
Mar 23 12:52:17.84: [13844]: HylaFAX (tm) Version 4.1.8
Mar 23 12:52:17.84: [13844]: <-- [20:AT+FCC=,,,,1,,,,0;A\r]
Mar 23 12:53:25.21: [13844]: --> [2:^P^D]
Mar 23 12:53:25.21: [13844]: --> [2:OK]
Mar 23 12:56:25.21: [13844]: ANSWER: Ring detected without 
successful handshake
Mar 23 12:56:25.21: [13844]: SESSION END

So it seems that my modem sends this [^P^D] to the other part
or maybe there is a problem with my usb hub?

3) Number three
Not a hardware or software problem but coincident problem:-)
log explains everything

Mar 18 11:40:16.24: [ 4396]: SESSION BEGIN 00001538 1234567
Mar 18 11:40:16.24: [ 4396]: HylaFAX (tm) Version 4.1.8
Mar 18 11:40:16.24: [ 4396]: SEND FAX: JOB 493 DEST 1234567 
COMMID 00001538 DEVICE '/dev/ttyACM0'
Mar 18 11:40:16.24: [ 4396]: DELAY 75 ms
Mar 18 11:40:16.32: [ 4396]: DELAY 2600 ms
Mar 18 11:40:19.93: [ 4396]: DELAY 10 ms
Mar 18 11:40:19.94: [ 4396]: <-- [4:ATZ\r]
Mar 18 11:40:28.67: [ 4396]: --> [4:RING]
Mar 18 11:40:28.67: [ 4396]: MODEM Ring
Mar 18 11:40:28.67: [ 4396]: DELAY 75 ms
Mar 18 11:40:28.75: [ 4396]: DELAY 2600 ms
Mar 18 11:40:32.36: [ 4396]: DELAY 10 ms
Mar 18 11:40:32.37: [ 4396]: <-- [4:ATZ\r]
Mar 18 11:40:32.59: [ 4396]: --> [2:OK]
Mar 18 11:40:32.59: [ 4396]: DELAY 3000 ms
Mar 18 11:40:35.59: [ 4396]: <-- [5:ATE0\r]
Mar 18 11:40:35.59: [ 4396]: --> [4:RING]
Mar 18 11:40:35.59: [ 4396]: MODEM Ring
Mar 18 11:40:35.59: [ 4396]: SEND FAILED: JOB 493 DEST 1234567 
ERR Can not setup modem
Mar 18 11:40:35.60: [ 4396]: SESSION END

So it looks like someone called me when I was about to sand a 
fax. It happened during init stage so modem was on hook,
is there a way to prevent modem from answering
while it is soft resetting ?

Thanks in advance for any info.

Krzysztof Cieniuch

----------------------------------------------------
John Cusack, Gene Hackman, Dustin Hoffman i Rachel Weisz: 
Ława przysięgłych, ekranizacja bestsellerowej książki Johna Grishama,
w kinach od 26 marca!
http://klik.wp.pl/?adr=http%3A%2F%2Ffilm.wp.pl%2Fp%2Ffilm.php%3Fid%3D8431&sid=148



____________________ 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