cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1283
Views
0
Helpful
7
Replies

mask ext number to DID number when calling

Adrián Moran
Level 1
Level 1

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

 

 

 

MSE Adrian M.
1 Accepted Solution

Accepted Solutions

This would be required to be set on the route pattern(s).

Snag_54e5c3.png

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.

image.png



Response Signature


View solution in original post

7 Replies 7

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.



Response Signature


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?

MSE Adrian M.

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. 



Response Signature


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.



Response Signature


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?

MSE Adrian M.

This would be required to be set on the route pattern(s).

Snag_54e5c3.png

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.

image.png



Response Signature


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

MSE Adrian M.