Hylafax Mailing List Archives

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

[hylafax-users] Problem with T.38modem and/or Hylafax



Hello,

This is probably a newbie question but i haven't found anything that
could help in the FAQ or archive. 

I build HylaFax version 4.1.8 from Source on a SuSE 9.0. I also build
pwlib, openH323 and t38modem from source. 

Then i created a modem with this line:
t38modem -g <gatekeeperIP> -u t38fax -p ttyx1 -tttt

I use a gatekeeper and PBX from a german VoIP manufacturer (innovaphone
IP400)

I tested the modem with the cu command and thought it worked fine...

Then i run faxsetup and faxaddmodem. The latter accepted the T.38modem
as a Class1 modem. So far so good, i saw in the t38modem's output that
hylaFay and the t38 seemed to communicate just fine.

Now when i try to send a fax with: sendfax -d <anyfaxnumber>
/home/josef/testpage.ps, it calls up the remote faxmachine but cant
complete the Handshake. I tested this with a Canon Fax machine and a USR
Sportster Faxmodem. Here's the Hylafax Session Log:


Apr 28 14:49:19.60: [ 3212]: SESSION BEGIN 00000074 4311315
Apr 28 14:49:19.60: [ 3212]: HylaFAX (tm) Version 4.1.8
Apr 28 14:49:19.60: [ 3212]: SEND FAX: JOB 26 DEST 1315 COMMID 00000074
DEVICE '/dev/ttyx1'
Apr 28 14:49:19.60: [ 3212]: MODEM set DTR OFF
Apr 28 14:49:19.60: [ 3212]: MODEM set baud rate: 0 baud (flow control
unchanged)
Apr 28 14:49:19.60: [ 3212]: DELAY 75 ms
Apr 28 14:49:19.68: [ 3212]: MODEM set DTR ON
Apr 28 14:49:19.68: [ 3212]: DELAY 2600 ms
Apr 28 14:49:23.28: [ 3212]: MODEM set baud rate: 19200 baud, input flow
RTS/CTS, output flow RTS/CTS
Apr 28 14:49:23.28: [ 3212]: DELAY 10 ms
Apr 28 14:49:23.29: [ 3212]: MODEM flush i/o
Apr 28 14:49:23.29: [ 3212]: <-- [4:ATZ\r]
Apr 28 14:49:23.29: [ 3212]: --> [2:OK]
Apr 28 14:49:23.29: [ 3212]: DELAY 3000 ms
Apr 28 14:49:26.29: [ 3212]: <-- [5:ATE0\r]
Apr 28 14:49:26.29: [ 3212]: --> [4:ATE0]
Apr 28 14:49:26.29: [ 3212]: --> [2:OK]
Apr 28 14:49:26.29: [ 3212]: <-- [5:ATV1\r]
Apr 28 14:49:26.29: [ 3212]: --> [2:OK]
Apr 28 14:49:26.29: [ 3212]: <-- [5:ATQ0\r]
Apr 28 14:49:26.30: [ 3212]: --> [2:OK]
Apr 28 14:49:26.30: [ 3212]: <-- [7:ATS0=0\r]
Apr 28 14:49:26.30: [ 3212]: --> [2:OK]
Apr 28 14:49:26.30: [ 3212]: <-- [7:ATS8=2\r]
Apr 28 14:49:26.30: [ 3212]: --> [2:OK]
Apr 28 14:49:26.30: [ 3212]: <-- [8:ATS7=60\r]
Apr 28 14:49:26.30: [ 3212]: --> [2:OK]
Apr 28 14:49:26.30: [ 3212]: <-- [12:AT+FCLASS=1\r]
Apr 28 14:49:26.30: [ 3212]: --> [2:OK]
Apr 28 14:49:26.30: [ 3212]: <-- [5:ATM0\r]
Apr 28 14:49:26.30: [ 3212]: --> [2:OK]
Apr 28 14:49:26.30: [ 3212]: STATE CHANGE: RUNNING -> SENDING
Apr 28 14:49:26.30: [ 3212]: MODEM input buffering enabled
Apr 28 14:49:26.30: [ 3212]: <-- [12:AT+FCLASS=1\r]
Apr 28 14:49:26.41: [ 3212]: --> [2:OK]
Apr 28 14:49:26.42: [ 3212]: DIAL 1315
Apr 28 14:49:26.42: [ 3212]: <-- [9:ATDT1315\r]
Apr 28 14:49:37.85: [ 3212]: --> [7:CONNECT]
Apr 28 14:49:37.85: [ 3212]: MODEM input buffering disabled
Apr 28 14:49:39.35: [ 3212]: --> HDLC<21:FF C0 04 DB 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00>
Apr 28 14:49:39.35: [ 3212]: --> [2:OK]
Apr 28 14:49:39.35: [ 3212]: REMOTE NSF "DB 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 FA"
Apr 28 14:49:39.35: [ 3212]: NSF remote fax equipment: unknown 
Apr 28 14:49:39.35: [ 3212]: <-- [9:AT+FRH=3\r]
Apr 28 14:49:39.35: [ 3212]: --> [7:CONNECT]
Apr 28 14:49:39.35: [ 3212]: --> [10:NO CARRIER]
Apr 28 14:49:39.35: [ 3212]: MODEM No carrier
Apr 28 14:49:39.35: [ 3212]: DELAY 200 ms
Apr 28 14:49:39.55: [ 3212]: <-- [9:AT+FRH=3\r]
Apr 28 14:49:43.58: [ 3212]: --> [7:CONNECT]
Apr 28 14:49:45.17: [ 3212]: --> HDLC<21:FF C0 04 DB 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00>
Apr 28 14:49:45.17: [ 3212]: --> [2:OK]
Apr 28 14:49:45.17: [ 3212]: REMOTE NSF "DB 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 FA"
Apr 28 14:49:45.17: [ 3212]: NSF remote fax equipment: unknown 
Apr 28 14:49:45.17: [ 3212]: <-- [9:AT+FRH=3\r]
Apr 28 14:49:45.17: [ 3212]: --> [7:CONNECT]
Apr 28 14:49:45.17: [ 3212]: --> [10:NO CARRIER]
Apr 28 14:49:45.17: [ 3212]: MODEM No carrier
Apr 28 14:49:45.17: [ 3212]: DELAY 200 ms
Apr 28 14:49:45.37: [ 3212]: <-- [9:AT+FRH=3\r]
Apr 28 14:49:49.40: [ 3212]: --> [7:CONNECT]
Apr 28 14:49:50.98: [ 3212]: --> HDLC<21:FF C0 04 DB 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00>
Apr 28 14:49:50.98: [ 3212]: --> [2:OK]
Apr 28 14:49:50.98: [ 3212]: REMOTE NSF "DB 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 FA"
Apr 28 14:49:50.98: [ 3212]: NSF remote fax equipment: unknown 
Apr 28 14:49:50.98: [ 3212]: <-- [9:AT+FRH=3\r]
Apr 28 14:49:50.99: [ 3212]: --> [7:CONNECT]
Apr 28 14:49:50.99: [ 3212]: --> [10:NO CARRIER]
Apr 28 14:49:50.99: [ 3212]: MODEM No carrier
Apr 28 14:49:50.99: [ 3212]: DELAY 200 ms
Apr 28 14:49:51.19: [ 3212]: <-- [9:AT+FRH=3\r]
Apr 28 14:49:55.21: [ 3212]: --> [7:CONNECT]
Apr 28 14:49:56.80: [ 3212]: --> HDLC<21:FF C0 04 DB 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00>
Apr 28 14:49:56.80: [ 3212]: --> [2:OK]
Apr 28 14:49:56.80: [ 3212]: REMOTE NSF "DB 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 FA"
Apr 28 14:49:56.80: [ 3212]: NSF remote fax equipment: unknown 
Apr 28 14:49:56.80: [ 3212]: <-- [9:AT+FRH=3\r]
Apr 28 14:49:56.80: [ 3212]: --> [7:CONNECT]
Apr 28 14:49:56.80: [ 3212]: --> [10:NO CARRIER]
Apr 28 14:49:56.80: [ 3212]: MODEM No carrier
Apr 28 14:49:56.80: [ 3212]: DELAY 200 ms
Apr 28 14:49:57.00: [ 3212]: <-- [9:AT+FRH=3\r]
Apr 28 14:50:01.03: [ 3212]: --> [7:CONNECT]
Apr 28 14:50:02.62: [ 3212]: --> HDLC<21:FF C0 04 DB 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00>
Apr 28 14:50:02.62: [ 3212]: --> [2:OK]
Apr 28 14:50:02.62: [ 3212]: REMOTE NSF "DB 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 FA"
Apr 28 14:50:02.62: [ 3212]: NSF remote fax equipment: unknown 
Apr 28 14:50:02.62: [ 3212]: <-- [9:AT+FRH=3\r]
Apr 28 14:50:02.62: [ 3212]: --> [7:CONNECT]
Apr 28 14:50:02.62: [ 3212]: --> [10:NO CARRIER]
Apr 28 14:50:02.62: [ 3212]: MODEM No carrier
Apr 28 14:50:02.62: [ 3212]: DELAY 200 ms
Apr 28 14:50:02.82: [ 3212]: <-- [9:AT+FRH=3\r]
Apr 28 14:50:07.08: [ 3212]: --> [7:CONNECT]
Apr 28 14:50:08.43: [ 3212]: --> HDLC<21:FF C0 04 DB 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00>
Apr 28 14:50:08.43: [ 3212]: --> [2:OK]
Apr 28 14:50:08.43: [ 3212]: REMOTE NSF "DB 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 FA"
Apr 28 14:50:08.43: [ 3212]: NSF remote fax equipment: unknown 
Apr 28 14:50:08.43: [ 3212]: <-- [9:AT+FRH=3\r]
Apr 28 14:50:08.44: [ 3212]: --> [7:CONNECT]
Apr 28 14:50:08.44: [ 3212]: --> [10:NO CARRIER]
Apr 28 14:50:08.44: [ 3212]: MODEM No carrier
Apr 28 14:50:08.44: [ 3212]: DELAY 200 ms
Apr 28 14:50:08.64: [ 3212]: <-- [9:AT+FRH=3\r]
Apr 28 14:50:12.65: [ 3212]: --> [7:CONNECT]
Apr 28 14:50:13.76: [ 3212]: --> HDLC<3:FF C8 5F>
Apr 28 14:50:13.76: [ 3212]: --> [2:OK]
Apr 28 14:50:13.76: [ 3212]: COMREC error in transmit Phase B/got DCN
Apr 28 14:50:13.76: [ 3212]: SEND FAILED: JOB 26 DEST 1315 ERR COMREC
error in transmit Phase B/got DCN
Apr 28 14:50:13.76: [ 3212]: <-- [9:AT+FTH=3\r]
Apr 28 14:50:13.77: [ 3212]: --> [7:CONNECT]
Apr 28 14:50:13.77: [ 3212]: <-- HDLC<3:FF C8 DF>
Apr 28 14:50:13.77: [ 3212]: <-- data [3]
Apr 28 14:50:13.77: [ 3212]: <-- data [2]
Apr 28 14:50:14.87: [ 3212]: --> [5:ERROR]
Apr 28 14:50:14.87: [ 3212]: MODEM Command error
Apr 28 14:50:14.87: [ 3212]: MODEM input buffering enabled
Apr 28 14:50:14.87: [ 3212]: <-- [5:ATH0\r]
Apr 28 14:50:14.98: [ 3212]: --> [2:OK]
Apr 28 14:50:14.98: [ 3212]: MODEM set DTR OFF
Apr 28 14:50:14.98: [ 3212]: MODEM set baud rate: 0 baud (flow control
unchanged)
Apr 28 14:50:14.98: [ 3212]: STATE CHANGE: SENDING -> MODEMWAIT (timeout
5)
Apr 28 14:50:14.98: [ 3212]: SESSION END

If i try it the other way round, and send a fax from the remote
Faxmachine to the Hylafax-server, i see the following in the session
log:

Apr 28 14:59:27.17: [ 3190]: SESSION BEGIN 00000077 43140228581317
Apr 28 14:59:27.17: [ 3190]: HylaFAX (tm) Version 4.1.8
Apr 28 14:59:27.17: [ 3190]: <-- [4:ATA\r]
Apr 28 15:00:23.85: [ 3190]: --> [5:ERROR]
Apr 28 15:00:23.85: [ 3190]: ANSWER: Ring detected without successful
handshake
Apr 28 15:00:23.85: [ 3190]: SESSION END

Sorry, for the long post, but i'am new, not only to faxing but to VoIP
as well. I don't really know if i should start looking for my error on
side of the t38 or the HylaFax config. Anything that Points me in the
right direction is highly appreciated.

Best Regards, Josef


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



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services