what do I set to get my modem to *only* answer 'RING A'

Marc Eberhard (marc@poseidon.thphy.uni-duesseldorf.de)
Wed, 22 Jan 1997 09:53:13 +0100 (MET)


Hi!

Gert Doering wrote:
> I'm afraid this isn't possible with the current distinguished RING code in
> mgetty. Marc?

No. The voice code could actually do the trick... :-)

> Fuzzy wrote:
> > 
> > we wrote to usr re distinctive ring and what it returns. I get
> > 'RING A' for the normal ring and 'RING B' for the 1st alternate
> > ring. I want mgetty to ignore 'RING B' and only answer if the
> > type is 'RING A'. with S41=0 the ring always just returns 'RING'
> > for both. there is a 'real' FAX machine set to answer only 'RING B'
> > on the same line. it correctly ignores 'RING A' calls.

All you can do is to hack mgetty.c and remove the line

        { "RING B", A_RING2 },

(around line 69) and change

#ifdef DIST_RING
char *  ring_chat_seq[] = { "RING\r", NULL };
#else
char *  ring_chat_seq[] = { "RING", NULL };
#endif

to

#ifdef DIST_RING
char *  ring_chat_seq[] = { "RINGIMPOSSIBLE\r", NULL };
#else
char *  ring_chat_seq[] = { "RINGIMPOSSIBLE", NULL };
#endif

around line 23. Surely a hack, but it will work. :-)

Bye,
Marc

-------------------------------------------------------------------------------
Email: Marc.Eberhard@Uni-Duesseldorf.DE
WWW:   http://Poseidon.ThPhy.Uni-Duesseldorf.DE/~marc/