The Call Simulator can be run from the command line to permit scripting and also running it according to a schedule using Windows Task Scheduler.
The process for doing this is:
- Download the Call Simulator and save it to the appropriate directory.
- Open a CMD window with administrative equivalent rights and change directory to the directory where the Call Simulator EXE is located
- Run:
CallSimulator -mode end-to-end -a 108.174.10.10 -c G.711(64) -n 1 -t 60 test.docx -s
The above will run the call simulator in end-to-end- test mode to 108.174.10.10 with the G.711(64) codec with 1 call for 60 seconds and save the results to test.docs.
To get a list of the command-line options availabile, you can run the Call SImulator with /help and it will display all of the options:
-mode <mode> Sets the operation mode to use:
end-to-end
link-troubleshoot
rtp-receiver
rtp-transmit
tcp-receiver
tcp-transmit
udp-firewall
dscp-loss
-a <address> Specifies the address for simulation and starts infinite auto-test
if no -t option specified.
-c <codec> Selects the codec to use:
G.711(64) (default if none is specified)
G.729(8)
G.723.1(6.3)
G.723.1(5.3)
G.726(32)
G.726(24)
G.728(16)
T.38(64)
G.722(64)
G.722(56)
G.722(48)
Data64k
Data1meg
Skype.Silk(36)
Skype.Silk(26)
Skype.Silk(20)
Skype.Silk(13)
Skype.Siren
Skype.RTAudio(29)
Skype.RTAudio(11.8)
Skype.H264(240p)
Skype.H264(480p)
Skype.H264(720p)
Skype.H264(1080p)
Skype.RTVideo(240p)
Skype.RTVideo(480p)
Skype.RTVideo(720p)
-n <calls> Specifies the number of calls to use in the simulation. Range 1 to 100.
Defaults to 1 if not specified.
-delay <delay> Specifies the delay between calls for link troubleshoot mode. Range 1 to 1000.
-port <port> Specifies the RTP/TCP port number to use in the RTP or TCP simulation.
Range 2 to 65534.
-dscp <dscp> Specifies the DSCP value for packets in the simulation. Range 0 to 63.
-t <seconds> Starts an auto-test that will run for specified seconds, then save results
to the filename specified with -f option.
-f <filename> Specifies the filename to save the test results when used with -t and/or -a option.
Filename can have the following extensions:
.MHT = Mime Encapsulated HTML
.DOCX = Microsoft Word XML
.CSV = Comma separated text
.TXT = plain text (for Firewall and DSCP Loss tests)
-csvdelimiter "<delimiter>" Specifies the delimiter for CSV file output. Defaults to "," (comma) if not specified.
-s Silent operation. Exit program after auto-test complete.
Used in conjunction with -t option.
-q <mos> Quit automated operation if MOS score drops below specified value.
-changeserver Displays TotalView server address and port change dialog.
-? Displays command line help.