Cisco ICM simulator

This section describes the use of the Cisco ICM simulator which is provided to enable you to test your applications without having to be connected to an ICM processor.

To start the simulator, start the Cisco ICM custom server from the command line. Use the -T parameter. You must start the custom server from the command line because the simulator issues messages to which you must reply.

You are presented with the following simulator options:

Enter O to Open, C - Close, I - Initialize, H - Heartbeat, Q - Quit, A - Auto

Enter one of these letters (in either uppercase or lowercase). If you press Enter without keying a letter, the default is Q, to quit. The options mean:

O
Opens the connection with the Cisco ICM custom server. The IdleTimeout value is set to 30 seconds.
C
Closes the connection with the Cisco ICM custom server. The text in the message is “Goodbye”.
I
Requests an initial snapshot of Blueworx Voice Response.
H
Issues a heartbeat request to the Cisco ICM custom server.
Q
Ends the simulator.
A
Performs the following actions in autopilot mode.
1
Opens connection.
2
Requests a snapshot.
3
Issues heartbeats.
4
On receipt of a CLOSE_CONF message, it closes the connection, waits 2 seconds, then reopens the connection.

When the simulator is in autopilot mode, enter Ctrl+C to end it.

The simulator lists the messages that are returned from the Cisco ICM custom server on the standard output.

For Call Routing the following is provided:

If you use a CrossRefID that is greater than 9999, the Get_Route custom server function returns a status code of 12. For other values of CrossRefID the Get_Route custom server function returns the following values:

1
The LabelType is set to the same value as the CrossRefID is.
2
The Label text is set to “a test label”.
3
CallVariable10 is set to “CallVariable10 has been set”.