Troubleshooting Digit Manipulation
When you are troubleshooting digit manipulation, first verify the configuration. Test the digit manipulations as much as possible before deploying them in a live network. If they do not work as expected, check to make sure that they are correctly configured and that other rules do not interfere. Remember the order in which the router processes rules.
This chapter discussed several troubleshooting and verification commands, some of the most useful of which are as follows:
- test voice translation-rule rule-number phone-number Shows the results of a translation rule, enabling you to test it to ensure that it does what you planned
- debug voice translation Shows the translations happening
- show dialplan numbernumber Verifies number expansion and which dial peers a phone number matches
- debug voip ccapi inout Shows inbound and outbound dial peers being matched
- show num-exp[number] Displays the number expansion rules configured
- show dial-peer voice [tag] Displays any CLID, translation profiles, call blocking, disconnect cause, digit stripping, forwarding, or prefixing that is configured on the dial peer
- show voice translation-rule [number | sort [ascending|descending]] Lists the translation rules that are configured on the router and all translation patterns configured for each one
- show voice translation-profile [name | sort [ascending|descending]] Lists the translation profiles configured on the router and all translation rules associated with each one
- debug isdn q931 Shows the called and calling numbers sent out a PRI link for troubleshooting CLID commands
- csim start phone-number Simulates a phone call from the router; can be used with debugs