(very) small problem receiving faxes
Karlheinz Nolte (kano63@t-online.de)
Wed, 16 Dec 1998 20:48:14 +0100
Hello,
I'm using mgetty 1.1.18 (latest 'frozen' Version from Debian 2.1)
together with an (old) 1&1 Speedster 14400U and Linux Kernel 2.0.35.
Sending and receiving of faxes works good enough for me, but I've still a
small problem: Neither the logfile nor the received email about an incoming
fax tells me the fax station id from the sender.
Here is what the logfile says (debug 5):
------------------------------8<-----------------------------
12/16 10:00:49 yS1 waiting...
12/16 10:44:21 yS1 checking lockfiles, locking the line
12/16 10:44:21 yS1 makelock(ttyS1) called
12/16 10:44:21 yS1 do_makelock: lock='/var/lock/LCK..ttyS1'
12/16 10:44:21 yS1 lock made
12/16 10:44:21 yS1 wfr: waiting for ``RING''
12/16 10:44:21 yS1 got: [0a][0d][0a]RING[0d]
12/16 10:44:21 yS1 wfr: rc=0, drn=0
12/16 10:44:21 yS1 send: ATA[0d]
12/16 10:44:21 yS1 waiting for ``CONNECT''
12/16 10:44:21 yS1 got: ATA[0d][0d][0a]FAX
12/16 10:44:22 yS1 found action string: ``FAX''
12/16 10:44:22 yS1 start fax receiver...
12/16 10:44:22 yS1 fax receiver: entry
12/16 10:44:22 yS1 tss: set speed to 19200 (016)
12/16 10:44:22 yS1 fax_wait_for(OK)
12/16 10:44:30 yS1 fax_wait_for: string 'M+FTSI: " +49 711 82147682"'
12/16 10:44:30 yS1 fax_wait_for: string '+FDCS: 1,3,0,2,0,0,0,1'
12/16 10:44:30 yS1 transmission par.: '+FDCS: 1,3,0,2,0,0,0,1'
12/16 10:44:32 yS1 fax_wait_for: string 'OK'** found **
12/16 10:44:32 yS1 utmp + wtmp entry made
12/16 10:44:32 yS1 tio_set_flow_control( HARD XON_IN )
12/16 10:44:32 yS1 fax_send: 'AT+FDR'
12/16 10:44:32 yS1 fax_wait_for(CONNECT)
12/16 10:44:32 yS1 fax_wait_for: string 'AT+FDR'
12/16 10:44:34 yS1 fax_wait_for: string '+FCFR'
12/16 10:44:34 yS1 fax_wait_for: string '+FDCS: 1,3,0,2,0,0,0,1'
12/16 10:44:34 yS1 transmission par.: '+FDCS: 1,3,0,2,0,0,0,1'
12/16 10:44:35 yS1 fax_wait_for: string 'CONNECT'** found **
12/16 10:44:35 yS1 sending DC2
12/16 10:44:35 yS1 fax_get_page_data: wait for EOL, got: [0a][00]
12/16 10:44:35 yS1 fax_get_page_data: receiving /var/spool/fax/incoming/ff67780f5S1.01...
12/16 10:44:53 yS1 fax_get_page_data: page end, bytes received: 22203
12/16 10:44:53 yS1 fax_wait_for(OK)
12/16 10:44:53 yS1 fax_wait_for: string '+FPTS: 1'
12/16 10:44:53 yS1 page status: +FPTS: 1
12/16 10:44:54 yS1 fax_wait_for: string '+FET: 2'
12/16 10:44:54 yS1 fax_wait_for: string 'OK'** found **
12/16 10:44:54 yS1 fax_send: 'AT+FDR'
12/16 10:44:54 yS1 fax_wait_for(CONNECT)
12/16 10:44:54 yS1 fax_wait_for: string 'AT+FDR'
12/16 10:44:58 yS1 fax_wait_for: string '+FHNG: 0'
12/16 10:44:58 yS1 connection hangup: '+FHNG: 0'
12/16 10:44:58 yS1 (Normal and proper end of connection)** found **
12/16 10:44:58 yS1 fax receiver: hangup & end
12/16 10:44:58 yS1 fax_notify_mail: sending mail to: root
12/16 10:44:58 yS1 notify: '/etc/mgetty/new_fax 0 '' 1 /var/spool/fax/incoming/ff67780f5S1.01 >/dev/console 2>&1 </dev/null'
12/16 10:44:58 ##### fax dev=ttyS1, pid=2592, caller='none', name='', id='', +FHNG=000, pages=1, time=00:00:37
------------------------------8<-----------------------------
mgetty.config contains this:
------------------------------8<-----------------------------
debug 5
fax-id +49-7141-978250
speed 38400
port ttyS1
switchbd 19200
modem-type cls2
rings 1
------------------------------8<-----------------------------
As far as I remember correctely, the senders stations id was shown in
an older version of mgetty, but I'm not sure.
Can this be a configuration or an modem problem?
Thanks for your help.
Karlheinz.
--
| /
|__/ Karlheinz Nolte
| |\ | mailto:k.nolte@gmx.de
| | \|