mgetty and Usr modems

Len Ovens (root@studio.cbbs.org)
Tue, 9 Jun 1998 02:30:36 +0200


On Mon, 8 Jun 1998, Devin Redlich wrote:

> a non-existant phone number (with a regular phone), I'll get a recorded
> message from the phone company telling me the number I've dialed doesn't
> exist.  However, if I try to fax to that non-existant number, for some
> reason the modem reports the number is busy.

Some peoples voice sounds like a busy signal (mostly male that I have had
trouble with) not much a modem can do about that...

However, It looks like with your modem you may be able to hack something in
to detect this senario...

> 06/05 15:49:34 yS1  fax_send: 'ATDT6818144'
> 06/05 15:49:34 yS1  fax_wait_for(OK)
> 06/05 15:49:34 yS1    got:[0a]ATDT6818144[0d]
> 06/05 15:49:34 yS1   fax_wait_for: string 'ATDT6818144'
> 06/05 15:49:34 yS1    got:[0d][0a]RINGING[0d]
> 06/05 15:49:43 yS1   fax_wait_for: string 'RINGING'
> 06/05 15:49:43 yS1    got:[0a][0d][0a]BUSY[0d]
> 06/05 15:50:01 yS1   fax_wait_for: string 'BUSY'
> 06/05 15:50:01 yS1  ABORTING: line='BUSY'

A true busy, would not have a ringing after dialing, but before the busy. So
you can detect this condition and call it 'voice answer'. My modem doesn't
return 'RINGING' :-(

Len