Next Topic

Previous Topic

Home

Book Contents

Book Index

Icon Text - Topic Parent
How to make the MonTel Server automatically re-start after a PABX.INI file update.

In the Service based MonTel system ExitServerIfINIisUpdated = 2 is the only setting required.

In the older DOS MonTel Server:

If you set The MonTel ExitServerIfINIisUpdated = 1 in the PABX.INI file it will cause the server to exit with an DOS error level of 32 every time the PABX.INI file is modified.

When can then use this to create a batch file that automatically restarts MonTel Server if the PABX.INI file is modified.

This example batch file it also prevents Netware 3.11 messages to appear on the screen blocking the DOS MonTel Server from working. The batch file is stored in the MonTel Server login directory (f:\users\montel\) and the MonTel Application directory is (h:\appln\montel).

If the server exits with an error level of 31 or greater it will loop back to :RESTART. This way you need not restart the server after editing the PABX.INI file.

castoff ALL
map h:=h:\appln\montel
:RESTART
h:
h:SERVER
f:
if errorlevel 31 goto RESTART
caston
cd f:\users\montel

The settings, mapping and parameters will be different from network to network and network operating system to operating system. A good network support person should be able to modify this batch file for your computer network.

------------------------------