cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
341
Views
0
Helpful
2
Replies

Queries

singh-ashok
Level 1
Level 1

I have 2 queries - what does th command "num-exp" do & how is tit different from translation-rule command ?

What is the difference between AIM-CUE & NM-CUE ?

1 Accepted Solution

Accepted Solutions

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

Hi,

Number Expansion

In most corporate environments, the telephone network is configured so  that you can reach a destination by dialing only a portion (an extension  number) of the full E.164 telephone number. You can define an extension  number as the destination pattern for a dial peer. The router can be  configured to recognize the extension number and expand it into its full  E.164 dialed number when the num-exp global  configuration command is used with the destination-pattern dial-peer voice configuration command.

Number expansion is a globally applied rule that enables you to define a  set of digits for the router to prepend to the beginning of a dialed  string before passing it to the remote telephony device. Automatically  prepending digits in the dial peer configuration reduces the number of  digits that a user must dial to reach a remote location. Number  expansion is similar to using a prefix, except that number expansion is  applied globally to all dial peers.

Using a simple telephony-based example, suppose that user A works in a  company where employees extensions are reached by dialing the last four  digits of the full E.164 telephone number. The E.164 telephone number is  555-2123; user A's extension number is 2123. Suppose that every  employee on user A's floor has a telephone number that begins with the  same first four digits: 5552. You could define each dial peer's  destination pattern using each extension number, and then use number  expansion to prepend the first four digits onto the extension. In this  example, the router could be configured as follows:

num-exp 2... 5552...
dial peer voice 1 pots
 destination pattern 2123

Number expansion can also be used to replace a dialed number with  another number, as in the case of call forwarding. Suppose that for some  reason, user A needs to have all of his telephone calls forwarded to  another number, 555-6611. In this example, you would configure the  router as follows:

num-exp 2123 5556611
dial peer voice 1 pots
 destination pattern 2123


Translation Rules



Digit translation rules are used to manipulate the calling number (ANI)
or called number (DNIS) digits for a voice call, or to change the
numbering type of a call. Translation rules are used to convert a
telephone number into a different number before the call is matched to
an inbound dial peer or before the call is forwarded by the outbound
dial peer. For example, within your company you may dial a 5-digit
extension to reach an employee at another site. If the call is routed
through the PSTN to reach the other site, the originating gateway must
use translation rules to convert the 5-digit extension into the 10-digit
format that is recognized by the central office switch.



Translation rules are defined by using the translation-rule
command. After you define a set of translation rules, you can apply the
rules to all inbound VoIP calls, to all inbound calls that terminate at
a specific voice port, and to individual inbound or outbound call legs
according to the dial peer.



The following example shows a dial peer that is configured to use
translation-rule set 1, which contains ten translation rules. The first
rule defined is rule 0, in which 910 is the pattern that must be matched

and replaced, and 0 is the pattern that is substituted for 910.



translation-rule 1
rule 0 ^910 0
 rule 1 ^911 1
rule 2 ^912 2
 rule 3 ^913 3
rule 4 ^914 4
 rule 5 ^915 5
rule 6 ^916 6
rule 7 ^917 7
 rule 8 ^918 8
rule 9 ^919 9

From this excellent doc:

http://www.ciscorouters.biz/en/US/docs/ios/12_3/vvf_c/dial_peer/dp_confg.html#wp1067070.

Under digit manipulation scroll down to number expansion and translation rules


For AIM_CUE and NM-CUE have a look here and see the differneces

http://www.cisco.com/en/US/solutions/collateral/ns340/ns517/ns477/ns296/data_sheet2_c78_390196.html

Hope this helps..dont forget to rate useful posts


Please rate all useful posts

View solution in original post

2 Replies 2

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

Hi,

Number Expansion

In most corporate environments, the telephone network is configured so  that you can reach a destination by dialing only a portion (an extension  number) of the full E.164 telephone number. You can define an extension  number as the destination pattern for a dial peer. The router can be  configured to recognize the extension number and expand it into its full  E.164 dialed number when the num-exp global  configuration command is used with the destination-pattern dial-peer voice configuration command.

Number expansion is a globally applied rule that enables you to define a  set of digits for the router to prepend to the beginning of a dialed  string before passing it to the remote telephony device. Automatically  prepending digits in the dial peer configuration reduces the number of  digits that a user must dial to reach a remote location. Number  expansion is similar to using a prefix, except that number expansion is  applied globally to all dial peers.

Using a simple telephony-based example, suppose that user A works in a  company where employees extensions are reached by dialing the last four  digits of the full E.164 telephone number. The E.164 telephone number is  555-2123; user A's extension number is 2123. Suppose that every  employee on user A's floor has a telephone number that begins with the  same first four digits: 5552. You could define each dial peer's  destination pattern using each extension number, and then use number  expansion to prepend the first four digits onto the extension. In this  example, the router could be configured as follows:

num-exp 2... 5552...
dial peer voice 1 pots
 destination pattern 2123

Number expansion can also be used to replace a dialed number with  another number, as in the case of call forwarding. Suppose that for some  reason, user A needs to have all of his telephone calls forwarded to  another number, 555-6611. In this example, you would configure the  router as follows:

num-exp 2123 5556611
dial peer voice 1 pots
 destination pattern 2123


Translation Rules



Digit translation rules are used to manipulate the calling number (ANI)
or called number (DNIS) digits for a voice call, or to change the
numbering type of a call. Translation rules are used to convert a
telephone number into a different number before the call is matched to
an inbound dial peer or before the call is forwarded by the outbound
dial peer. For example, within your company you may dial a 5-digit
extension to reach an employee at another site. If the call is routed
through the PSTN to reach the other site, the originating gateway must
use translation rules to convert the 5-digit extension into the 10-digit
format that is recognized by the central office switch.



Translation rules are defined by using the translation-rule
command. After you define a set of translation rules, you can apply the
rules to all inbound VoIP calls, to all inbound calls that terminate at
a specific voice port, and to individual inbound or outbound call legs
according to the dial peer.



The following example shows a dial peer that is configured to use
translation-rule set 1, which contains ten translation rules. The first
rule defined is rule 0, in which 910 is the pattern that must be matched

and replaced, and 0 is the pattern that is substituted for 910.



translation-rule 1
rule 0 ^910 0
 rule 1 ^911 1
rule 2 ^912 2
 rule 3 ^913 3
rule 4 ^914 4
 rule 5 ^915 5
rule 6 ^916 6
rule 7 ^917 7
 rule 8 ^918 8
rule 9 ^919 9

From this excellent doc:

http://www.ciscorouters.biz/en/US/docs/ios/12_3/vvf_c/dial_peer/dp_confg.html#wp1067070.

Under digit manipulation scroll down to number expansion and translation rules


For AIM_CUE and NM-CUE have a look here and see the differneces

http://www.cisco.com/en/US/solutions/collateral/ns340/ns517/ns477/ns296/data_sheet2_c78_390196.html

Hope this helps..dont forget to rate useful posts


Please rate all useful posts

Thanks for your help aokanlawon.

.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: