User guide
A-4
Cisco H.323 Signaling Interface User Guide
OL-2156-04 Rev. A1
Appendix A MML User Interface and Command Reference
Batch Files
prov-add:name="ras",responsetimeout=10,allowcallswhennonreg=1
prov-add:name="ras",terminaltype=”gateway”,timetolive=900
prov-add:name="q931",reponsetimeout=20,connecttimeout=20,maxcalls=5000
prov-cpy
The prov-sta command establishes a provisioning session. The prov-cpy command copies configuration
settings from the current provisioning session to the Cisco HSI and activates the configuration. If the
command is successful, it also terminates the current provisioning session. If you are not ready to
commit a session, use the prov-stp command to save and stop the provisioning session.
The application provides a log function (diaglog command) that records the MML commands and
responses in a log file.
In the MML batch file, you can place a diaglog command at the beginning to start logging and a diaglog
command at the end to stop logging. For more information about the diaglog command, see the “MML
Command Reference” section on page A-6
For commands executed in both the process manager and the application, the application logs the user
ID, the login date and time, and the name of each command that is executed in batch mode to the
mml_batch_log file.
Note Batch files can be defined for complete systems or to modify parts of an existing system.
Creating a Batch File
To create a batch file, use an ASCII text editor program to create a new file. Each command should be
on a separate line.
Starting a Batch File
To start executing a batch file, type mml -b batchfilename at the UNIX prompt.
After you enter the batch file command, the application displays the result of each MML command as it
is executed. Each command and its results are saved in the mml.log file. When the batch file is
completed, the MML session is ready to accept user commands.
The following example shows the start of a batch file named nolog.bat with these contents:
prov-sta:srcver=active,dstver=nolog
prov-ed:name=logging,eisup=0x0000
prov-cpy
and this output:
gp-capetown-16-> mml -b nolog.bat
Starting in batch mode.
Connecting to port 10129 on host gp-capetown
Welcome to the Cisco H.323 Signaling Interface.
gw mml> gw mml> prov-sta:srcver=active,dstver=nolog
H323 Signaling Interface Tue Jan 22 05:57:12 2002
M SUCC
Successfully started provisioning session "nolog" from "active".Note: This provisioning
session has not been verified.
gw mml> prov-ed:name=logging,eisup=0x0000
H323 Signaling Interface Tue Jan 22 05:57:12 2002
M SUCC