06-07-2021 02:16 PM - edited 06-07-2021 07:35 PM
Hi all good day
I have a CUCM v9.0 and voice gateway ISR4331 with 1 trunk number and 30 DID,
Trunk number 555-441-0000
DID Range 555-441-00xx to 0050
Ext 4074 link to DID 0010 (num-exp 4074 0010 )
the issue I have is the following:
user with DID assigned when calling someone the customer get the calls from 555-441-0000 and when they recall they get to AutoAttendand system. Until here all is OK.
Recently I add another ext with the corresponding DID but this user needs while calling to show his full DID number (555-441-0010) instead of the trunk number
I got a possible solution for voice gateway:
voice translation-rule 2
rule 1 /^4074/ /5554410010/
voice translation-profile OUTDID
translate calling 2
dial-peer voice 9000 pots
description === PSTN LOCALES ===
translation-profile outgoing ADD
translation-profile outgoing OUTDID
destination-pattern 9[1-9]......
port 0/1/0:1
forward-digits 10
the question here, do I need to apply this profile to all my dial-peer voice #### pots?
dial-peer voice 9001 pots
description === PSTN LDN ===
destination-pattern 901..........
port 0/1/0:1
forward-digits 10
!
dial-peer voice 9002 pots
description === PSTN CEL LOC ===
destination-pattern 9044..........
port 0/1/0:1
forward-digits 10
!
dial-peer voice 9003 pots
description === PSTN CEL LDN ===
destination-pattern 9045..........
port 0/1/0:1
forward-digits 10
!
dial-peer voice 9004 pots
description === PSTN 01800 ===
destination-pattern 901800.......
port 0/1/0:1
forward-digits 12
!
dial-peer voice 9005 pots
description === PSTN LD INTERNACIONAL ===
destination-pattern 9001..........
port 0/1/0:1
forward-digits 13
is there anything that I could miss before apply this?
if I want to make this happen in CUCM how can I do this?
I rather apply in cucm than voice gateway.
thanks in advance
Regards
Solved! Go to Solution.
06-09-2021 08:40 AM
This would be required to be set on the route pattern(s).
Apart from defining the EPNM on the directory number as per below, or whatever format that works for your setup, there should be not more to it.
06-07-2021 11:29 PM
the question here, do I need to apply this profile to all my dial-peer voice #### pots? if you want to display caller-ID as 555-441-0010 when calling international number, landline gsm , yes you need to apply it on outgoing dial-peers.
its possible to do with CUCM using translations, but i prefer to do it on gateway.
06-08-2021 01:38 PM
Hi Nithin, thanks for your reply.
Applied the translation profile to dial-peers but I am still getting the trunk numbers, when testing the 4 digits number I get the result I want:
test voice translation-rule 2 4074
Matched with rule 1
Original number: 4074 Translated number: 5554410010
but when calling it is not showing this number.
could I miss something?
06-09-2021 09:16 AM
Please share debug isdn q931 while making the call.
You need just one number or you need to do translation for the entire block ? Can you provide bit more information so that we can share the required configuration.
06-08-2021 10:28 PM
Why don’t you use external phone number mask on your directory numbers and set the route patterns to use it for calling number? With this you should be able to control what number is sent from CM to the gateway and consequently what you send to your service provider. If you know that you send the proper information to your service provider, aka number length and type/plan of number and the number is still not presented correctly you’ll need to contact your provider to have them look at why they mask the calling number with the circuit number.
06-09-2021 08:04 AM
Hi Roger;
I did that without success, not sure if I miss something checked many times and I did not find why is not working, gateway continues to get 4 digits ext number.
by chance do you have a document on how to do that or a link with examples?
06-09-2021 08:40 AM
This would be required to be set on the route pattern(s).
Apart from defining the EPNM on the directory number as per below, or whatever format that works for your setup, there should be not more to it.
06-11-2021 09:29 AM
Hi Roger, thanks for your support, i made a call to TELCO and they tell me the only option i have is to hire another independent line, as the trunk one it is handle all the outgoing calls by the main number. sadly her in MX is the way its works.
Thanks
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