08-27-2021 08:37 PM
Hai Guys
Have a nice day
I bought 100 numbers from the provider as follows:
02180680300 - 02180680399
I want to configure the VG translation rule so that outgoing calls are random numbers from 02180680300 - 02180680399.
Here is the configuration I have done:
voice translation-rule 1
rule 1 /^7\(......$\)/ /02180680300/
!
voice translation-rule 2
rule 1 /^9\(.*\)/ /\1/
!
voice translation-profile OUTGOING
translate calling 1
translate called 2
Please suggest the voice translation rules.
Thank
Solved! Go to Solution.
08-28-2021 01:15 AM
Also have a look at this chapter in the CCNP Voice book. https://www.ciscopress.com/articles/article.asp?p=1745737&seqNum=2
08-27-2021 10:59 PM - edited 08-27-2021 11:02 PM
Hi there,
What you ask for is simply not possible to achieve with voice translation rules and profiles.
Might I ask what use case you have for presenting a random number from your DID range?
If what you mean is to show the actual calling numbers from your DID range your rule should look like this.
voice translation-rule 1
rule 1 /^7…\(...$\)/ /02180680\1/
08-27-2021 11:17 PM
Hai @Roger Kallberg
Thanks for the reply,
I don't use DID. I want to apply random outgoing number on the same Extension number.
Example of random outgoing numbers from the same extension:
And next call ......
In the range of numbers I bought at the provider 02180680300 - 02180680399 (100 number).
Thank
08-27-2021 11:24 PM - edited 08-28-2021 01:44 AM
Your assigned numbers from your service provider is per definition DIDs.
It is not possible to do what you ask about with voice translation rules as all your extensions are the same. What you could do is to set an External Phone Number Mask on the directory number, with the DID number that you want to present for calls from the specific directory number, and then set the external call routing to use the EPNM when sending the call to your voice gateway.
To be clear this will not give you a random number per call from your range of provided DIDs. It would present a specific number for a call from the specific directory number assigned to a specific device.
08-27-2021 11:52 PM
Thanks for the reply.
Can you give a guide link for External Phone Number Mask on cucm?
Thank you
08-28-2021 01:13 AM
Not much to link to as it’s a check box on the route pattern(s) or translation pattern(s), whichever you use, and a setting on the directory number in the device specific section on each directory number.
Recommend you to have a look at this chapter in the system configuration guide. https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/admin/12_5_1/systemConfig/cucm_b_system-configuration-guide-1251/cucm_b_system-configuration-guide-1251_chapter_010100.html
08-28-2021 01:15 AM
Also have a look at this chapter in the CCNP Voice book. https://www.ciscopress.com/articles/article.asp?p=1745737&seqNum=2
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: