cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6834
Views
40
Helpful
8
Replies

Difference between translation and transformation pattern and their usage

techToddler
Level 1
Level 1

Hello Friends 

I am trying to understand the difference and usage between translation and transformation pattern. How are they used and where. An example would much be preferred to understand. Read few docs from cisco which again not fully clear about it. 

Your help is really appreciated.

Sanjay.

2 Accepted Solutions

Accepted Solutions

Sanjay,

1) Translation Pattern in simple words change the destination of a call. This is usually used for incoming calls. However, it can be used for outgoing calls as well but that really does not make much sense to do since it is actually the Route Pattern that is taking the calls out using Trunks/Gateways. In your example, you already have a RP created that matches as soon as agent dials the number 91.7458563514 and call goes out. Now you can simplify this using TP wherein you can create a TP for lets say 1200 and then you can transform this to 91.7458563514 under Called Party Transform Mask. What it does is that, user does not actually need to dial the complete long distance number and will just dial 1200 that in turn will change the called number to 91.7458563514 and will then hit the RP and call will go out. Hence, it is actually changing the destination.

2)Transformation Pattern simply changes the number mask, your understanding is correct in that

 It does not change the destination, only the display i.e., how ANI and DNIS will looks like once the transformation had been applied.

Regards

Deepak

View solution in original post

1. You can apply TP to both inbound and outbound calls. Moreover to internal calls as well. Beauty of TP is it doens't select the trunk/gateway and you always have a choice where to take this call further. And in either case, whether to apply or not can be controlled through CSS.

2. Not exactly. If you see the manipulation parameters under TP (with respect to called party number) and Called Party Transformation, all manipulation parameters are same. Difference is at which part of call flow, you apply the same.

In your example, let see how we can apply either translation pattern or called party transformation to strip prefix viz 91.

1. If we use translation pattern, instead of creating RP like 91.[2-9]xxxxxxxxx, create TP as 91.[2-9]xxxxxxxxx. Now under translation pattern, strip predot. This will change the number to [2-9]xxxxxxxxx

Since TP can't decide the gateway/trunk, you need a RP like [2-9]xxxxxxxxx. This RP will get match as the output of translated number.

So here is the flow;

Phone -> TP (apply manipulation here) -> RP -> RL -> RG -> Trunk/Gateway

Basically here you've used TP for digit manipulation during outbound call.

2. If we use called party transformation, lets have RP like 91.[2-9]xxxxxxxxx. You also need to create Called Party Transformation Pattern which can match the configured RP.

Called Party Transformation can look similar to 91.[2-9]xxxxxxxxx. Now you will strip the pre-dot here under called party transformation which will translate the number to [2-9]xxxxxxxxx. This transformation pattern is then assigned to trunk/gateway with the help of CSS.

So here is the flow;

Phone -> RP -> RL -> RG -> Trunk/Gateway (apply manipulation here)

- Vivek

View solution in original post

8 Replies 8

Brandon Buffin
VIP Alumni
VIP Alumni

Translation patterns are used for digit manipluation before a destination (gateway, trunk, etc.) is chosen. Transformation patterns are used once the destination is chosen.

Translation pattern example:

When a user dials 0 you need to translate this to an internal extension of 1234.

Transformation pattern example:

You need to translate the called number to conform with the dial plan of different countries depending on the gateway chosen

Take a look at the following link for more detailed explanations and examples.

http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/srnd/collab09/clb09/dialplan.html#wp1135388

Brandon

Thank You Brandon.

I have asked few questions above to understand more on this. 

Sanjay.

Sanjay,

1) Translation Pattern in simple words change the destination of a call. This is usually used for incoming calls. However, it can be used for outgoing calls as well but that really does not make much sense to do since it is actually the Route Pattern that is taking the calls out using Trunks/Gateways. In your example, you already have a RP created that matches as soon as agent dials the number 91.7458563514 and call goes out. Now you can simplify this using TP wherein you can create a TP for lets say 1200 and then you can transform this to 91.7458563514 under Called Party Transform Mask. What it does is that, user does not actually need to dial the complete long distance number and will just dial 1200 that in turn will change the called number to 91.7458563514 and will then hit the RP and call will go out. Hence, it is actually changing the destination.

2)Transformation Pattern simply changes the number mask, your understanding is correct in that

 It does not change the destination, only the display i.e., how ANI and DNIS will looks like once the transformation had been applied.

Regards

Deepak

Vivek Batra
VIP Alumni
VIP Alumni

Hi Sanjay,

To clearly understand the difference, you need to know in cucm, where all digit manipulation techniques can be applied;

1. Phone/Device

You can apply calling party transformation patter at phone level to change the CLI for all calls made from this phone irrespective of to whom call is made.

2. Translation Pattern

Applicable for both internal and external calls. You control this through CSS. There could be many use cases why you would like to use Translation Pattern.

You can use it for speed dialing. Say you dial 1 which can be converted to 9925801882.

You can use it to add prefix for inter-site calling. Say extensions in remote offices are 2XXX. However you want caller to dial site prefix as 10, means caller should dial 102XXX. You can achieve this user translation pattern and further, TP can remove prefix 10 and match the extension 2XXX.

3. Route Pattern

Applicable only for gateway/trunk calls.

4. Router List per Route Goup

Applicable only for gateway/trunk calls.

5. Gateway/Trunk

At gateway/trunk level, you can apply callling or called party transformation patterns which will be applicable for all calls processed through this gateway/trunk.

PS: Digit manipulation at route pattern, route list and gateway/trunk doesn't work together. Priority is gateway/trunk -> route list -> route pattern.

Coming back to your original question, translation pattern originally applied only to DNIS (with the exception of new feature added viz route to next hop on the basis of CLI) and same pattern can manipulate both ANI and DNIS. On the other side with transformation pattern, calling and called party transformation are configured and applied separately.

All techniques doing the same thing. The only difference is at which part of call flow, you manipulate the ANI/DNIS depends on your requirement.

- Vivek

Thanks again Vivek,

So I have few questions below,

1. Translation Patter applies on DNIS - You mean to say incoming call to CUCM only or is it managed with CSS for outbound as well.

2. Translation is kind of a rule where transformation is kind of a change on a number mask. Am I correct? Correct me If I am wrong.

Below is a example which I would like to understand.

Phone ---> CUCM---->Gateway---->ISDN PRI.

1. Phone Internal Extension is 5544.

2. Dials a LD number as 91.7458563514

3. We have a RP with 91.[2-9]xxxxxxxxx

4. Matches and goes to SIP trunk.

5. Sip Trunk to GW and to PSTN.

So here how are these applied. Do you require any more information. Let me know. Thanks.

Sanjay.

Hi Sanjay,

Just adding to the good tips from everyone here, Translation pattern is not always DNIS based. There are scenarios where it can be used to block numbers based on ANI ( like in case of fraudulent calls from a specific number to an IP phone in your network ). How the translation pattern works in such a scenarion to block calls based on ANI is explained here

https://supportforums.cisco.com/document/77241/technotes-how-block-incoming-calls-cucm-8x-based-ani-mgcp-gateway

Manish

1. You can apply TP to both inbound and outbound calls. Moreover to internal calls as well. Beauty of TP is it doens't select the trunk/gateway and you always have a choice where to take this call further. And in either case, whether to apply or not can be controlled through CSS.

2. Not exactly. If you see the manipulation parameters under TP (with respect to called party number) and Called Party Transformation, all manipulation parameters are same. Difference is at which part of call flow, you apply the same.

In your example, let see how we can apply either translation pattern or called party transformation to strip prefix viz 91.

1. If we use translation pattern, instead of creating RP like 91.[2-9]xxxxxxxxx, create TP as 91.[2-9]xxxxxxxxx. Now under translation pattern, strip predot. This will change the number to [2-9]xxxxxxxxx

Since TP can't decide the gateway/trunk, you need a RP like [2-9]xxxxxxxxx. This RP will get match as the output of translated number.

So here is the flow;

Phone -> TP (apply manipulation here) -> RP -> RL -> RG -> Trunk/Gateway

Basically here you've used TP for digit manipulation during outbound call.

2. If we use called party transformation, lets have RP like 91.[2-9]xxxxxxxxx. You also need to create Called Party Transformation Pattern which can match the configured RP.

Called Party Transformation can look similar to 91.[2-9]xxxxxxxxx. Now you will strip the pre-dot here under called party transformation which will translate the number to [2-9]xxxxxxxxx. This transformation pattern is then assigned to trunk/gateway with the help of CSS.

So here is the flow;

Phone -> RP -> RL -> RG -> Trunk/Gateway (apply manipulation here)

- Vivek

techToddler
Level 1
Level 1

Thank you everyone. 

Sanjay.

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: