Topic Last Modified: 2014-02-07
To create a test case
-
Log on to the computer as a member of the RTCUniversalServerAdmins group, or as a member of the CsVoiceAdministrator, CsServerAdministrator, or CsAdministrator role. For details, see Delegate Setup Permissions.
-
Open a browser window, and then enter the Admin URL to open the Lync Server Control Panel. For details about the different methods you can use to start Lync Server Control Panel, see Open Lync Server Administrative Tools.
-
In the left navigation bar, click Voice Routing and then click Test Voice Routing.
-
On the Test Voice Routing page, click New to create a new test case.
-
In Name, type in a unique name for the test case.
The name must be unique among all voice routing test cases in your Enterprise Voice deployment. It can be up to 32 characters in length and may contain any alphanumeric characters, in addition to the backslash (\), period (.), or underscore (_).
-
In Dialed number to test, type in the dialed number that you want to use to test the routing configuration that you specify for this test case. Based on the dial plan, route, and voice policy, this number will be normalized and displayed as output.
-
In the Dial Plan list, select the dial plan to use when running the test. Default is the Global dial plan.
-
In the Voice Policy list, select the voice policy to use when running the test. Default is the Global voice policy.
-
In Expected translation, type in the phone number in the format you expect to see it after translation. This is the value of the phone number that you are testing after it has been translated by the first normalization rule that matches in the selected dial plan. When you run the test case, if the number you are testing does not result in the value in Expected translation, the test fails.
-
(Optional) In the Expected PSTN usage list, you can select the public switched telephone network (PSTN) usage record that you expect to be used when you run the test case, based on the specified dial plan and voice policy. If a different PSTN usage record is used, the test fails.
-
(Optional) In the Expected route list, you can select the voice route that you expect to be used when you run the test case, based on the specified dial plan and voice policy. If a different voice route is used, the test fails.
-
(Optional) Click Run to run the test case. The results are shown in the right panel of the page.
-
Click OK.
-
Click Commit, and then click Commit all.
Note: Whenever you create a voice routing test case, you must run the Commit all command to publish the configuration change. For details, see Publish Pending Changes to the Voice Routing Configuration in the Operations documentation. If the dial plan being employed in the test normalizes phone numbers that begin with a plus sign (for example, +12065551219), that plan might cause the voice routing test to fail. (The dial plan and the voice route will work; in fact, Test-CsDialPlan will succeed. However, the voice routing test might fail.) This is something to keep in mind when testing voice routes.