Overview
TAPIGuard monitors the TAPI connection for problems. It will
attempt to correct problems by restarting TAPI. Only Datatex
applications will work with TAPIGuard. TAPIGuard runs as a
Windows service and will only work on Windows 2000/XP/2003.
TAPIGuard needs to use two TAPI devices. The first should be
a busy device (ACD group, switchboard). TAPIGuard will watch
for idle periods on this device. If more than 5 minutes passes
without TAPI data, TAPIGuard will force TAPI to communicate with
the PABX. If that fails, TAPIGuard will attempt to restart TAPI.
To force TAPI to communicate with the PABX, TAPIGuard will try to
set DND (Do-Not-Disturb) on the second TAPI device. The second
TAPI device must be a spare extension or the extension of someone
who is aware that their phone might be set to DND. TAPIGuard will
remove DND as soon as possible, but DND might remain in effect
for several seconds.
Installation
File installation
Run the TAPIGuard.Install-x.x.x.x.exe file to install TAPIGuard.
TAPIGuard will be installed as a service automatically.
Change the TAPIGuard.INI file and put in the device names:
[TAPIGUARD]
WatchDevice=EXT0110
SetDevice=EXT0123
where WatchDevice is the device that must be monitored, and
SetDevice is the device for setting DND. EXT0110 and EXT0123
are the names of the TAPI devices.
Registry changes
When TAPIGuard restarts TAPI, it kills off the TAPI processes and
notifies Datatex applications that they must reconnect to TAPI.
To avoid killing off other processes on the PC, the following registry
changes must be made:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Svchost
remove Tapisrv from existing REG_MULTI_SZ netsvcs (not the folder)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Svchost
add Tapisrv to newly created REG_MULTI_SZ tapisrv (if it does not exist)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TapiSrv\ImagePath
change %SystemRoot%\System32\svchost.exe -k netsvcs
to
%SystemRoot%\System32\svchost.exe -k tapisrv in existing REG_EXPAND_SZ ImagePath
Reboot the machine or stop/restart Telephony Service