Appendix A, Detailed Event Instructions (Revised 12 Sept 94)

If your application requires placing the telephone line off-hook in excess of
4 minutes without use, or conducts unattended outbound calls, the EVENT
function is necessary. This is because the OFF-HOOK-TIMER would expire
and/or the outbound busy signals would cause redials which may look like
BAD CALLS. The EVENT function will temporarily disable telephone line
monitoring by using a Hayes compatible modem. It will also implement a
two hour EVENT timer to ensure that the event process does not become
locked-up permanently. If the EVENT timer expires a restart is conducted.

In typical applications, your event process would initiate the EVENT-ON
command described below. Your event process would then conduct its
activities with sending the EVENT-OFF command being the last activity.

You will need a program which can send modem commands to the modem
which is monitored by the FoneALIVE! device. If you don't have one, our
support BBS 609-988-1717 has a file named ALVEEVNT.ZIP which
contains the program and batch files which send the EVENT-ON and
EVENT-OFF commands through standard DOS serial ports.

Hayes compatible modems upon receipt of the "ATDT" command, places
the telephone line off-hook and waits for dialing commands. They also use
the "," command to send pauses. The default pause duration is two seconds
for each ",". The EVENT function commands use this two second pause.
If your modem has its default pause value (register S-8) modified, be sure
to set the modem's S-8 register to 2 before using the following EVENT
commands.

Hayes compatible modems also use the "!" command to cause a telephone
switch-hook operation. The switch-hook operation consists of momentarily
placing the telephone on-hook for 0.5 seconds and then placing the
telephone back off-hook. The FoneALIVE! device will count these switch-
hook signals and detect EVENT commands. Six switch-hooks within 35
seconds indicates an EVENT-ON command. More that six switch-hooks
within 35 seconds indicates an EVENT-OFF command. Less than six
switch-hooks within 35 seconds is ignored and not considered a command.
The pauses between switch-hooks prevents false EVENT commands.

Hayes compatible modems use the ";" command to return the modem back
to command mode after a sequence of dialing instructions. They also use the
"H0" (H zero) command to place the modem back on-hook.

EVENT-ON Command  - "ATDT,,!,,!,,!,,!,,!,,!,,,,,,,,,,,,;H0"
EVENT-OFF Command - "ATDT,,!,,!,,!,,!,,!,,!,,!,,!,,!,,,;H0"
