[net.micro.att] Toggling the voice/data switch in 7300

israel@qantel.UUCP ( Renegade@ex2564) (06/12/85)

I am trying to come up with a method of toggling the voice/data status
of the phone/modem line of a 7300 from the UNIX environment.

The problem is that I have a single phone line, which I want to be able to
switch between voice and data modes at different times of the day, so I am
searching for some command, shell script, or user-accessible C routine
which I can install in a crontab file. 

The effect of executing the command should be identical to hitting the
|Line Select| key in the Telephone Manager program. This includes updating
the phone status line at the top of the screen, setting or removing the
semaphone lock on the modem line (found in /usr/spool/uucp, I believe),
and updating the /etc/inittab file to spawn a getty process on the line,
as needed. (A switch from data to voice mode should also make sure that
no one is logged onto the line when the switch is made.)

Currently, there doesn't seem to be any user-accessible hook into the
telephone Manager to permit an easy way of implementing a virtual
'pushing' of the |Line Select| key - one actually has to be there in
person to activate the Call Screen, and then hit the key physically.
There are no C library routines, no documented commands or shell scripts,
no evidence that the telephone manager (found in /usr/bin/phstub) will
except a transcript input. If anyone knows of a way to do this, please
mail to me. If anyone is interested in knowing what I find out, drop me
a letter and I'll post the result.
-- 
Renegade of Berkeley
MDS Qantel			or	Renegade Systems
ucbvax!dual!qantel!israel		ucbvax!dual!qantel!hamster!israel

Disclaimer: "Who, me? I wasn't even there!"