Cisco IOS Voice, Video, and Fax Commands: R Through Sh

rule

Release

Modification

12.1(1)T

This command was first supported on the T train for Voice over IP on the

 

following platforms: Cisco 1750 routers, Cisco 2600 and 3600 series

 

routers, Cisco AS5300 universal access servers, Cisco 7200 series

 

routers, and Cisco 7500 series routers.

 

 

12.1(2)T

This command was first supported for Voice over IP on the

 

Cisco MC3810 multiservice concentrator.

 

 

Usage Guidelines When configuring your dial peers, you are provided with an option called the translation rule. This option applies a translation rule to a calling party number (Automatic Number Identification [ANI]) or a called party number (Dial Number Information Service [DNIS]) for both incoming and outgoing calls within Cisco H.323 voice-enabled gateways. Also, the rule allows translation of the type of number.

Examples

The following example applies a translation rule. If a called number starts with 5552205 or 52205, then

 

translation rule 21 will use the rule command to forward the number to 14085552205 instead.

 

translation-rule 21

 

rule

1

555.% 1408555 subscriber international

 

rule

2

7.% 1408555 abbreviated international

In the next example, if a called number is either 14085552205 or 014085552205, then after the execution of the translation rule 345, the forwarding digits will be 52205. If the match type is configured and the type is not “unknown,” then the dial peer matching will be required to match input string numbering type.

translation-rule 345

rule 1 .%555.% 7 any abbreviated

Related Commands

Command

Description

 

numbering-type

Specifies number type for the VoIP or POTS dial peer.

 

 

 

 

test translation-rule

Tests the execution of the translation rules on a specific name tag.

 

 

 

 

translate

Applies a translation rule to a calling party number or a called party number

 

 

for incoming calls

 

 

 

 

translate-outgoing

Applies a translation rule to a calling party number or a called party number

 

 

for outgoing calls

 

 

 

 

translation-rule

Creates a translation name and enters translation-rule configuration mode.

 

 

 

 

voip-incoming

Captures calls that originate from H.323-compatible clients.

 

translation-rule

 

 

 

 

Cisco IOS Voice, Video, Fax Command Reference

VR-589

Page 29
Image 29
Cisco Systems VR-561 manual VR-589