Cisco IOS Voice Troubleshooting and Monitoring -- Voice Port Testing Commands
From DocWiki
These commands allow you to force voice ports into specific states for testing. The following types of voice-port tests are covered:
- Detector-Related Function Tests
- Loopback Function Tests
- Tone Injection Tests
- Relay-Related Function Tests
- Fax/Voice Mode Tests
Contents |
Detector-Related Function Tests
Using the test voice port detector command, you are able to force a particular detector into an on or off state, perform tests on the detector, and then return the detector to its original state.
To configure this feature, enter these commands beginning in privileged EXEC mode:
| Command | Purpose | |
|---|---|---|
|
1. |
Router# test voice port slot/port:ds0-group detector {m-lead | battery-reversal | loop-current | ring | tip-ground | ring-ground | ring-trip} {on | off} |
Identifies the voice port you want to test. Enter a keyword for the detector under test and specify whether to force it to the on or off state. |
|
2. |
Router# test voice port slot/port:ds0-group detector {m-lead | battery-reversal | loop-current | ring | tip-ground | ring-ground | ring-trip} disable |
Identifies the voice port on which you want to end the test. Enter a keyword for the detector under test and the keyword disable to end the forced state. |
Loopback Function Tests
To establish loopbacks on a voice port, enter the following commands beginning in privileged EXEC mode:
Tone Injection Tests
To inject a test tone into a voice port, enter the following commands beginning in privileged EXEC mode:
| Command | Purpose | ||||
|---|---|---|---|---|---|
|
1. |
Router# test voice port slot/port:ds0-group inject-tone {local | network} {1000hz | 2000hz | 200hz | 3000hz | 300hz | 3200hz | 3400hz | 500hz | quiet} |
Identifies the voice port you want to test and enter keywords for the direction to send the test tone and for the frequency of the test tone.
| |||
|
2. |
Router# test voice port slot/port:ds0-group inject-tone disable |
Identifies the voice port on which you want to end the test and enter the keyword disable to end the test tone.
|
Relay-Related Function Tests
To test relay-related functions on a voice port, enter the following commands beginning in privileged EXEC mode:
| Command | Purpose | |
|---|---|---|
|
1. |
Router# test voice port slot/port:ds0-group relay {e-lead | loop | ring-ground | battery-reversal | power-denial | ring | tip-ground} {on | off} |
Identifies the voice port you want to test.
|
|
2. |
Router# test voice port slot/port:ds0-group relay {e-lead | loop | ring-ground | battery-reversal | power-denial | ring | tip-ground} disable |
Identifies the voice port on which you want to end the test.
|
Fax/Voice Mode Tests
The test voice port switch fax command forces a voice port into fax mode for testing. After you enter this command, you can use the show voice call or show voice call summary command to check whether the voice port is able to operate in fax mode. If no fax data is detected by the voice port, the voice port remains in fax mode for 30 seconds and then reverts automatically to voice mode.
The disable keyword ends the forced mode switch; however, the fax mode ends automatically after 30 seconds. The disable keyword is available only while the voice port is in fax mode.
To force a voice port into fax mode and return it to voice mode, enter the following commands, beginning in privileged EXEC mode:
| Command | Purpose | |
|---|---|---|
|
1. |
Router# test voice port slot/port:ds0-group switch fax |
Identifies the voice port you want to test.
|
|
2. |
Router# test voice port slot/port:ds0-group switch disable |
Identifies the voice port on which you want to end the test.
|
