Technical data
74
The divactrl package contains the mantool utility that allows you to access (read, write or execute) directories
and variables of the management interface. It also allows you to turn on events and receive notifications from
these events when the corresponding state of the variable changes.
This utility can be used to capture additional statistics or create ISDN firewall services [11] with its own system
of events.
Based on the information from the management interface it is possible to clear calls that meet specific criteria,
e.g., calling party number, fax ID, and fax polling address.
To start the Mantool utility, type: /usr/lib/opendiva/divas/divactrl mantool -c <x>
<parameters>"[<path>]
Where <x> is the logical Dialogic
®
Diva
®
Media Board number, <parameters> specify the action to be taken,
and <path> is the path to the directory or variable in the management interface that you want to access.[12]
[13] [14] [15]
If you use the mantool from scripts, i.e., not interactively, add the "-b" option to turn the interactive mode off.
"-m", "-a", and "-g" parameters can be used in combination.
"-m", "-a", and "-g" parameters can be used in combination.
The "-w" parameter can only be used with variables that have the "W" attribute.
The following parameters can be used with the Mantool utility:
Parameters Description
-r Reads the content of management interface directory or variable specified in <path>.
-w Sets the value of the management interface variable specified in <path>.
-e Executes the management interface function specified in <path>.
-m Monitors incoming/outgoing calls (line activity).
-a Monitors state changes of analog modem hardware (connection progress and reporting).
-g Monitors state changes of fax G3 hardware (connection progress and status reporting).
-Exclusive Obtains exclusive access to the management interface. In this mode mantool will use the file
lock to obtain exclusive access to the board. Normally, it is necessary to get access to the
management interface of the device driver that supports only one management entity. The
lock operation will time out after 10 sec. In this case mantool will return error.
-WDog Use 20 sec timeout for management interface operation. This may be necessary if mantool
is invoked from script and should not block for undetermined amount of time.
-b Informs mantool that it was invoked from the script. In this mode mantool will newer block
and wait for user input and will not print the copyright header.
Management interface access and monitoring utility