To test a call to ACD number means that all extensions to which a call can be connected has to be monitored. The Scenario for the test is to:
The following batches can be used to start monitoring on all extensions in one command. Main batch to be executed: rem -------------------------------------------------------------------------- rem Test of CTI rem Define values of below listed variables. rem They are used to compose a name of log file to indicate conditions of test. rem rem TEST_NUMBER ... date when test was executed followed by ordinal number of test rem CALLED_PHONE ... a phone number which is dialed in the test, ACD or direct number rem CALLING_PHONE ... a phone number from which a call is made rem -------------------------------------------------------------------------- set TEST_NUMBER=0811_001 set CALLED_PHONE=ACD set CALLING_PHONE=1726865953 set LOG_FILE_PREFIX=Cisco85_%TEST_NUMBER%_ set PLUGIN_CLASS=de.usu.s3.cti.yaplugin.cisco.CiscoPlugin set CONNECT_INFO="10.226.244.10;login=DE_CTI_VALUMATION;passwd=sdscticisco" rem below listed addresses will be monitored start CtiTestCore.bat 885216 %CALLED_PHONE% %CALLING_PHONE% %LOG_FILE_PREFIX% %PLUGIN_CLASS% %CONNECT_INFO% start CtiTestCore.bat 885217 %CALLED_PHONE% %CALLING_PHONE% %LOG_FILE_PREFIX% %PLUGIN_CLASS% %CONNECT_INFO% start CtiTestCore.bat 885218 %CALLED_PHONE% %CALLING_PHONE% %LOG_FILE_PREFIX% %PLUGIN_CLASS% %CONNECT_INFO% start CtiTestCore.bat 885219 %CALLED_PHONE% %CALLING_PHONE% %LOG_FILE_PREFIX% %PLUGIN_CLASS% %CONNECT_INFO% CtiTestCore.bat The last value (false) on java command line defines using weaker identification of the duplicate "connected" event. Its default value is false. When true, the weaker method to identify duplicate "connected" events is used. rem -------------------------------------------------------------------------- rem Core batch of CTI test rem It should be started with defined parameters 1-6 rem I.E. DO NOT START THIS TEST DIRECTLY FROM EXPLORER rem -------------------------------------------------------------------------- call set_env.bat set MONITORED_ADDRESS=%1 set CALLED_PHONE=%2 set CALLING_PHONE=%3 set LOG_FILE=%4%CALLED_PHONE%_%MONITORED_ADDRESS%_%CALLING_PHONE%.log set PLUGIN_CLASS=%5 set CONNECT_INFO=%6 java -classpath %TCP% -Denable_cti=true de.usu.s3.cti.YaCtiTest %PLUGIN_CLASS% %CONNECT_INFO% %MONITORED_ADDRESS% %LOG_FILE% false | |||||