From the course: Cisco CCNP Collaboration 350-801 (CLCOR) Cert Prep: 3 CUCM Call Control, Quality of Service, and Collaboration Applications

Translation patterns

- [Instructor] We've seen that we can create a route pattern to match a dial string coming from something like a Cisco IP phone. And we could use wild cards like X's and we could use brackets that we've seen, but there's another entity within communications manager that can also match your dial string. In fact, it's going to be evaluated prior to the route pattern, evaluating a dial string. And what we're talking about is a translation pattern. A translation pattern, as the name suggests, allows us to match a dial string and translate it into another dial string. So in other words, the translation pattern after it does that translation, it's essentially placing the call itself. Just like a phone would place a call. So it's got to have an appropriate calling search space to have permission to place that call. And let's take a look at a really basic example in this video. Let's pretend that in our company, we want somebody to be able to dial a zero to get to our operator or our main attendant, but that's a single number. Our directory numbers are four-digit numbers. How can we have a single digit directory number assigned to phone? Well, we don't have to. We can use a translation pattern to say, "When somebody dial a zero, I want to translate that into, let's say, 2002." The directory number of HQ phone 2. Here's how we set that up. Let's go under call routing and we'll select translation pattern. There is no default translation pattern. So let's add a new translation pattern. In this pattern is what we would type in to something like our route pattern. We can use the same wildcards like X's and brackets, but I'm just going to say zero. If somebody dial a zero, then we've got a match. Provided, they have permission to dial the zero because we're going to put this in a partition. I'm going to put this in the internal partition so it can be dialed by phones within our company. And after it does the translation from a zero into 2002, it's got to have permission to call 2002. So I need to give it an appropriate calling search space. And I'm going to do that. I'll say the calling search space is HQ that has permission to call 2002. Now, if we scroll down just a bit, we can see that under the Called Party Transformations we could apply some sort of a mask to say, how are we going to take that zero and manipulate it? Maybe we want to prefix some digits, but here, I just want to replace it. I want to say if somebody dial a zero then dial 2002 instead. So I'm going to say my Called Party Transformation mask is 2002. And we'll save that. And then we should have one translation pattern created and it's going to be a pattern of zero. It belongs to the internal partition, but it's assigned to calling search space of HQ, giving it permission to call the number 2002. So let's do this. Let's go over to HQ phone 1. Let's go off hook and dial a zero. Let's say we're trying to call the operator. And if everything works correctly, we should ring into HQ phone 2 with the directory number of 2002. Well, I'm going to go off hook on HQ phone 1 and I'm going to dial zero. (phone rings) And you hear that ringing? We're ringing into HQ phone 2. And that's all look at a very basic example of translation patterns.

Contents