cnd-program doesn't work
Paul Miller (pmiller@mtu.edu)
Tue, 24 Nov 1998 12:07:04 -0500
Gert Doering wrote:
>
> Hi,
>
> On Tue, Nov 24, 1998 at 10:39:29AM -0500, Paul Miller wrote:
> > 11/23 11:33:12 yS1 wfr: waiting for ``RING''
> > 11/23 11:33:12 yS1 got: [0a][0d][0a]RING[0d]
> > 11/23 11:33:12 yS1 CND: RING
> > 11/23 11:33:12 yS1 wfr: rc=0, drn=0
> > 11/23 11:33:12 yS1 wfr: waiting for ``RING''
> > 11/23 11:33:12 yS1 got: [0a][0d][0a]DATE = 1123[0d]
> > 11/23 11:33:15 yS1 CND: DATE = 1123
> > 11/23 11:33:15 yS1 CND: found: 1123
> > 11/23 11:33:15 yS1 got: [0a]TIME = 1134[0d]
> > 11/23 11:33:15 yS1 CND: TIME = 1134
> > 11/23 11:33:15 yS1 CND: found: 1134
> > 11/23 11:33:15 yS1 got: [0a]NMBR = ##########[0d]
> > 11/23 11:33:15 yS1 CND: NMBR = ##########
> > 11/23 11:33:15 yS1 CND: found: ##########
> > 11/23 11:33:15 yS1 got: [0a]NAME = CALLER[0d]
> > 11/23 11:33:15 yS1 CND: NAME = CALLER
> > 11/23 11:33:15 yS1 CND: found: CALLER
> > 11/23 11:33:15 yS1 got: [0a]
> > ---->>> I think this is where the problem is:
> > 11/23 11:33:22 yS1 mdm_read_byte: read returned -1: Interrupted system
> > call
> > 11/23 11:33:22 yS1 wfr: timeout waiting for RING
>
> cnd-program is executed after "enough" RINGs have been seen - in your
> case, it is still waiting for a second RING, which doesn't seem to come in
> the required 8 seconds.
>
> > 11/23 11:33:22 yS1 wfr: rc=-1, drn=0
> > 11/23 11:33:22 ##### phone stopped ringing (rings=1)
>
> ... which is exactly what mgetty is telling you.
>
> *WHY* your modem stopped ringing: ask your modem!
>
> gert
Other times it has rung more than two times and still not executed the
program. It still always ends with the same messages:
mdm_read_byte: read returned -1: Interrupted system call
wfr: timeout waiting for RING
wfr: rc=-1 drn=0
phone stopped ringing (rings=2)
... when looking through my log file, I've gotten up to 5 rings and the
program never gets executed. About the hanging up issue, I have no
idea, it seems to be random.
-Paul