Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site qantel.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!cornell!uw-beaver!tektronix!hplabs!intelca!qantel!israel From: israel@qantel.UUCP ( Renegade@ex2564) Newsgroups: net.micro.att Subject: Toggling the voice/data switch in 7300 Message-ID: <463@qantel.UUCP> Date: Tue, 11-Jun-85 17:51:58 EDT Article-I.D.: qantel.463 Posted: Tue Jun 11 17:51:58 1985 Date-Received: Sat, 15-Jun-85 06:03:20 EDT Reply-To: israel@qantel.UUCP (Paul Israel - Renegade@ex2564) Organization: MDS Qantel, Hayward, CA Lines: 32 Keywords: 7300, Modem, Aggravation 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!"