Hallo, 

since longer time I am trying to get  sendfax working with SuSE 6.4, without
results. Perhaps some one can give me a hint, where to start looking for a
solution ?

I use a "Creatix" modem 2834 working through an Istec 1008 Analog/digital
device to the ISDN network of Telecom in Germany. The modem is working fine (
tested with "minicom" ) on ttys0. The program "sendfax" also recognizes the
modem, dials, the bell of the fax/telefon rings once, and then the program
hangs with an "no carrier" comment. The total time seems to be always 21
seconds, see the last line of the sendfax.log. It is my impression, that 
faxing could go better if the program ( modem ? ) would permit a longer
ringing, let me say some 45 sec., allowing the fax device to respond, but any
attempt to prolong the time through the S7 register has failed up to now. Do
some one have any Ideas ? The worst: all was functioning perfect under SuSE 6.1
until I decided to upgrade ;-(

Regards,
Edgar
Weinheim/Germany

Attachments:
Sendfax configuration file and sendfax.log

# SENDFAX CONFIGURATION FILE
#
# this is a sample configuration file, see mgetty.info for details
#
# comment lines start with a "#", empty lines are ignored


# ----- global section -----
#
# In this section, you put the global defaults, per-port stuff is below

# tell everybody what's going on
verbose y

# ... and send everything to the log file (quite detailed)
debug 5

# which devices to use for outgoing faxes
fax-devices ttyS0:ttyS2

# which fax number to transmit to the receiving station
fax-id 49 6201 961253

# which command is used to dial out? (Could be ATD, ATDP, ATX3D0W...)
dial-prefix ATDT

# try transmitting every page three times, continue if 3rd try fails as well
max-tries 3
max-tries-continue y

# ----- port specific section -----
# 
# Here you can put things that are valid only for one line, not the others
#

# Modem on ttyS0 needs special initialization to do h/w handshaking
# port ttyS0
modem-init ATS6=6S7=4L3&c1
# Standard für Faxmodembetrieb:
modem-handshake AT&K3
modem-type cls1

# Modem on ttyS1 doesn't work reliably in class 2.0, use class 2 instead
# port ttyS1
# modem-type cls2

SENDFAX.LOG

08/02 15:15:52  sendfax: experimental test release 1.1.21-Jul24
08/02 15:15:52   sendfax.c compiled at Mar 25 2000, 01:38:16
08/02 15:15:52  sending fax to 0,961254
08/02 15:15:52  checking /var/spool/fax/outgoing/F000016/f1.g3
08/02 15:15:52   makelock(ttyS0) called
08/02 15:15:52   do_makelock: lock='/var/lock/LCK..ttyS0'
08/02 15:15:52   lock made
08/02 15:15:52   tss: set speed to 38400 (017)
08/02 15:15:52   tio_set_flow_control( HARD )
08/02 15:15:52 yS0   fax_open_device succeeded, ttyS0 -> 4
08/02 15:15:52 yS0   reading specific data for port 'ttyS0'
08/02 15:15:52 yS0   reading /etc/mgetty+sendfax/sendfax.config...
08/02 15:15:52 yS0   conf lib: read: 'verbose y'
08/02 15:15:52 yS0   conf lib: read: 'debug 5'
08/02 15:15:52 yS0   conf lib: read: 'fax-devices ttyS0:ttyS2'
08/02 15:15:52 yS0   conf lib: read: 'fax-id 49 6201 961253'
08/02 15:15:52 yS0   conf lib: read: 'dial-prefix ATDT'
08/02 15:15:52 yS0   conf lib: read: 'max-tries 3'
08/02 15:15:52 yS0   conf lib: read: 'max-tries-continue y'
08/02 15:15:52 yS0   conf lib: read: 'modem-init ATS6=6S7=4L3&c1'
08/02 15:15:52 yS0   conf lib: read: 'modem-handshake AT&K3'
08/02 15:15:52 yS0   conf lib: read: 'modem-type cls1'
08/02 15:15:52 yS0   key: 'fax-devices', type=1, flags=4, data=(ignored)
08/02 15:15:52 yS0   key: 'modem-init', type=1, flags=3, data=ATS6=6S7=4L3&c1
08/02 15:15:52 yS0   key: 'modem-handshake', type=1, flags=3, data=AT&K3
08/02 15:15:52 yS0   key: 'modem-type', type=1, flags=3, data=cls1
08/02 15:15:52 yS0   key: 'modem-quirks', type=0, flags=0, data=(empty)
08/02 15:15:52 yS0   key: 'fax-send-flow', type=4, flags=1, data=7
08/02 15:15:52 yS0   key: 'fax-rec-flow', type=4, flags=1, data=7
08/02 15:15:52 yS0   key: 'max-tries', type=0, flags=3, data=3
08/02 15:15:52 yS0   key: 'max-tries-continue', type=3, flags=3, data=TRUE
08/02 15:15:52 yS0   key: 'speed', type=0, flags=1, data=38400
08/02 15:15:52 yS0   key: 'switchbd', type=0, flags=1, data=0
08/02 15:15:52 yS0   key: 'open-delay', type=0, flags=0, data=(empty)
08/02 15:15:52 yS0   key: 'ignore-carrier', type=3, flags=1, data=TRUE
08/02 15:15:52 yS0   key: 'dial-prefix', type=1, flags=3, data=ATDT
08/02 15:15:52 yS0   key: 'fax-id', type=1, flags=3, data=49 6201 961253
08/02 15:15:52 yS0   key: 'poll-dir', type=1, flags=1, data=.
08/02 15:15:52 yS0   key: 'normal-res', type=3, flags=1, data=FALSE
08/02 15:15:52 yS0   key: 'fax-min-speed', type=0, flags=1, data=0
08/02 15:15:52 yS0   key: 'fax-max-speed', type=0, flags=1, data=14400
08/02 15:15:52 yS0   key: 'debug', type=0, flags=3, data=5
08/02 15:15:52 yS0   key: 'verbose', type=3, flags=3, data=TRUE
08/02 15:15:52 yS0   key: '', type=3, flags=1, data=FALSE
08/02 15:15:52 yS0   key: 'page-header', type=1, flags=0, data=(empty)
08/02 15:15:52 yS0   key: '', type=3, flags=1, data=FALSE
08/02 15:15:52 yS0   key: '', type=3, flags=1, data=FALSE
08/02 15:15:52 yS0   key: '', type=1, flags=1, data=
08/02 15:15:52 yS0   tss: set speed to 38400 (017)
08/02 15:15:52 yS0  mdm_send: 'ATV1Q0'
08/02 15:15:52 yS0   mdm_command: string 'ATV1Q0'
08/02 15:16:02 yS0  Warning: got alarm signal!
08/02 15:16:02 yS0  mdm_read_byte: read returned -1: Interrupted system call
08/02 15:16:02 yS0  mdm_get_line: cannot read byte, return: Interrupted system call -> 
ERROR
08/02 15:16:02 yS0  mdm_send: 'ATV1Q0'
08/02 15:16:02 yS0   mdm_command: string 'ATV1Q0'
08/02 15:16:02 yS0   mdm_command: string 'OK' -> OK
08/02 15:16:02 yS0  retry succeded, dev=ttyS0
08/02 15:16:02 yS0  fax_send: 'ATS6=6S7=4L3&c1'
08/02 15:16:02 yS0  fax_wait_for(OK)
08/02 15:16:02 yS0   fax_wait_for: string 'ATS6=6S7=4L3&c1'
08/02 15:16:02 yS0   fax_wait_for: string 'OK'** found **
08/02 15:16:02 yS0  mdm_send: 'AT+FCLASS=2'
08/02 15:16:02 yS0   mdm_command: string 'AT+FCLASS=2'
08/02 15:16:03 yS0   mdm_command: string 'OK' -> OK
08/02 15:16:03 yS0  mdm_send: 'AT+FLID="49 6201 961253"'
08/02 15:16:04 yS0   mdm_command: string 'OK' -> OK
08/02 15:16:04 yS0  mdm_send: 'AT+FDCC=1,5,0,2,0,0,0,0'
08/02 15:16:04 yS0   mdm_command: string 'AT+FDCC=1,5,0,2,0,0,0,0'
08/02 15:16:04 yS0   mdm_command: string 'OK' -> OK
08/02 15:16:04 yS0  mdm_send: 'AT+FBOR=0'
08/02 15:16:04 yS0   mdm_command: string 'AT+FBOR=0'
08/02 15:16:04 yS0   mdm_command: string 'OK' -> OK
08/02 15:16:04 yS0  mdm_send: 'AT&K3'
08/02 15:16:04 yS0   mdm_command: string 'AT&K3'
08/02 15:16:04 yS0   mdm_command: string 'ATQ0V1H0'
08/02 15:16:04 yS0   mdm_command: string 'OK' -> OK
08/02 15:16:04 yS0  fax_send: 'ATDT0,961254'
08/02 15:16:04 yS0  fax_wait_for(OK)
08/02 15:16:25 yS0   fax_wait_for: string 'NO CARRIER'
08/02 15:16:25 yS0  ABORTING: line='NO CARRIER'
08/02 15:16:25 ##### failed dialing, phone="0,961254", +FHS:-4, dev=ttyS0, time=21s, 
acct=""

08/02 15:16:25 yS0  fax_send: 'AT+FCLASS=0'
08/02 15:16:26 yS0   removing lock file

-- 
_______________________________
Dr.-Ing.Edgar Alwers
Weinheim, Germany
Mailto: [EMAIL PROTECTED]

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to