Thursday 28 March 2013

Dial Peer and Rule --Playing with Digit

To see about the digit translation:

Dial peer is a topic where i always try to be more focussed because it has many variation in terms of pattern and match Translation profile,Translation rule, Destination pattern and VOIP or Pots Dial peer

Lets discuss it one by one and start with translation rule:

Voice translatio Rule: Voice translation rule  is used to define a pattern to match and relace it with another pattern:
below example will provide more clarity


voice translation−rule 1
rule 1 /^123/ /456/

so it will match all pattern that begin with 123  and replace it with 456,if the number is 123654 it will be replaced with 456654


You can verify each rule using the test commanfd as shown below:

router#
test voice translation−rule 1 123
Matched with rule 1
Original number: 123 Translated number: 456



Once you have created a translation rule next step is to create a translation profile and bid the transllation rule to that profile

The rule can be defined under the profile for calling and called number

For example:

voice translation−profile <name>
translate called <translation−rule num>
translate calling <translation−rule num>
translate redirect−called <translation−rule num>
no

The key pattern of the game are
debug voice translation will be a useful command to see realtime digit manipulation

debug voice translation-rule
debug voice translation-rule


To be Continued............!

https://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/14074-in-dial-peer-match.html

https://supportforums.cisco.com/t5/ip-telephony/inbound-dial-peer-matching-question/td-p/2321861

No comments:

Post a Comment