home *** CD-ROM | disk | FTP | other *** search
- /* REXX program for use with ZOC and AWACS */
-
- /* This releases the com port that AWACS uses to monitor caller-ID */
- /* before Zoc starts, and opens it back when Zoc exits */
-
-
- parse arg Event " '" DeviceName "'" "'" DeviceOpts "'"
- select
-
- /* ZOC device open */
-
- when Event="DEVOPEN" & DeviceName="SERIAL/MODEM" then do
- awacs "-close"
- call Beep 32767,1250
- /* wait a sec or so for it to close */
-
- end
-
-
- /* ZOC device close */
-
- when Event="DEVCLOSE" & DeviceName="SERIAL/MODEM" then do
- awacs "-open"
- end
- end
-
- exit
-