2009年6月24日 星期三

CCME Digit manipulation

 

CCME have several method to perform digit manipulation. It depends on the actual requirement you wish to accomplish to choose the appropriate method.

Here is the list:

  1. exp-num (Global)
  2. digit-strip (POTS)
  3. translation-profile (VoIP & POTS)
  4. prefix (POTS)
  5. forward-digit (POTS)

If multiple of digit manipulation methods is applied, they are executed as the order shown above. So be careful when you mix them together.

 

Translation profile configuration example:

Configuration of voice translation profile is divided into 2 parts.

1. create voice translation-rules and associate them to voice translation-profile with appropriated target (calling or called number)

Router(config)# voice translation-rule rule number
Router(cfg-translation-rule)# rule 1 /match/ /set/
Router(cfg-translation-rule)# rule 2 /match/ /set/
Router(cfg-translation-rule)# rule 3 /match/ /set/ ...and so on

Router(config)# voice translation-profile CHANGE_DID
Router(cfg-translation-profile)# translate ?
called           Translation rule for the called-number
calling          Translation rule for the calling-number
redirect-called  Translation rule for the redirect-number
redirect-target  Translation rule for the redirect-target
Router(cfg-translation-profile)# translate called ?
<1-2147483647>  Translation rule tag
Router(cfg-translation-profile)# translate called 1

2. apply the voice translation-profile on the appropriate dial-peer with appropriate direction (incoming or outgoing).

Router(config)# dial-peer voice 100 pots
Router(config-dial-peer)# translation-profile incoming CHANGE_DID

Reference: CCNA Voice

沒有留言: