10-17-2017 02:14 AM - edited 03-17-2019 11:23 AM
Hi,
We currently have CUCM 10.5 and a CUBE/SIP setup and are looking at ways to stop users from dialling our DDIs from internal phones and being routed out to the PSTN and back in to our organisation (from what I understand this is known as tromboning?).
My understanding is this can be achieved with a translation pattern? I have read up on translations and found some good material and a tester app but it is more relating to CME I believe as it seems the patterns are written a bit differently.
Example:
Our DDI range 020 8555 2000 to 020 8555 7999
Our internal extensions are 6XXXX (mapping to 020 8555 XXXX)
Would the correct pattern to catch these be 90208555[2-7]XXX translated to 6XXXX?
I know it would catch the right numbers but would it translate correctly?
Using the guides I found for CME I came up with /90208555\([2-7]...)/ /6\1/ which seems to work ok when I test it but I am not quite sure how to write this for CUCM. Unfortunately I don't have a test environment in CUCM to test this.
Thanks.
Solved! Go to Solution.
10-17-2017 02:46 AM - edited 10-17-2017 02:48 AM
Hi,
If you have a CUCM in your setup then just create translation pattern in your cucm.
TP == 0208555[2-7]XXX OR 90208555[2-7]XXX
Partition == TP_PT
Calling Search Space == should be one which contains the partition to dial 6XXXX OR use originator calling search space.
Called party transform mask == 6XXXX
make sure you have the CSS applied on the Phones containing the TP_PT and it should in higher priority list.
In this way the call will remain inside the CUCM always.
Regards,
Raaj
10-17-2017 03:29 AM
As I see keeping it separate is always best practice. It helps to achieve priority as well within CSS contained partition.
However in your scenario even if you keep in same internal PT, I think it will hit this first and match the TP rather then going to the PT containing the PSTN RP.
My advice would be separate, however it would work in your scenario with same PT.
Regards,
Raaj
10-17-2017 02:46 AM - edited 10-17-2017 02:48 AM
Hi,
If you have a CUCM in your setup then just create translation pattern in your cucm.
TP == 0208555[2-7]XXX OR 90208555[2-7]XXX
Partition == TP_PT
Calling Search Space == should be one which contains the partition to dial 6XXXX OR use originator calling search space.
Called party transform mask == 6XXXX
make sure you have the CSS applied on the Phones containing the TP_PT and it should in higher priority list.
In this way the call will remain inside the CUCM always.
Regards,
Raaj
10-17-2017 02:55 AM
Many thanks for the reply.
Just wondering about the partition. Majority of our translation patterns are in a partition that contains all our extension numbers, would the translation work ok being in this partition? Is there a design benefit to creating a separate partition for all translations? Our partitions and CSS are a bit of a mess as they were set up by a 3rd party some time ago and the structure of our phone system has changed a lot since.
Thanks.
10-17-2017 03:29 AM
As I see keeping it separate is always best practice. It helps to achieve priority as well within CSS contained partition.
However in your scenario even if you keep in same internal PT, I think it will hit this first and match the TP rather then going to the PT containing the PSTN RP.
My advice would be separate, however it would work in your scenario with same PT.
Regards,
Raaj
10-20-2017 08:15 AM
It worked perfectly BTW. I was a little worried as looking at translations on CME it seemed you had to specify where it would chop up the number and then insert the digits in to the translation but it seems CUCM is a bit more intelligent. I wasn't sure it was going to understand moving the [2-7]XXX over to XXXX and instead just copy over 3 digits instead of 4.
Thanks!
10-17-2017 04:58 AM
The best way to test this in CUCM is to used the dialed number analyzer that is accessible thru the CUCM web portal. I think you got it with your TP.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide