01-24-2020 08:57 AM
Hi,
One of our location is displaying the incorrect callerid for outbound calls, we want all calls from this location to display a specific callerid. From reading the voice translation rules document I believe the below configuration will work but hoping someone can review and inform appropriately. When the users make a outbound call they dial 8 then the number, we will need to strip the 8 when making the outbound call. Any assistance will be greatly appreciated.
Configuration
voice translation-rule 10
rule 1 /^8/ //
rule 2 /.*/ /XXXXXXXXXX/
voice translation-profile STRIP8
translate called 10
dial-peer voice 200 pots
trunkgroup FXO
description Long Distance
translation-profile outgoing STRIP8
destination-pattern 91[2-9].........
forward-digits 11
!
dial-peer voice 201 pots
trunkgroup FXO
description Local Calling
translation-profile outgoing STRIP8
destination-pattern 9[2-9].........
forward-digits 10
dial-peer voice 206 pots
trunkgroup FXO
description Local Calling
translation-profile outgoing STRIP8
destination-pattern 8[2-9].........$
forward-digits 10
01-24-2020 09:30 AM
Hi,
There are couple of points which I want to highlight.
1) Translation profile:
You can always test your translation profile whether it is actually working according to your need.
E.g
test voice translation-rule 10 8xxxxxxx
Where 8xxxxx represents number u were trying to dial. Results will indicate you whether it is fine or not. I believe your translation rule is not correct but you can check it, I can suggest below rule which can strip 8
voice translation-rule 10
rule 1 /^8\(.*\)/ /\1/
Test above rule with the command I mention to confirm
2) Dial-peer
Dial-peer 200 and 201 will not match and utilize whenever u dial 8xxxxxxx. destination-patter should start with 8 in order to hit the dial-peer. Diap-peer 206 looks good.
Question:
What is the calling ID number or format you want to get as caller ID when you dial outside. I can help here to modify your rules.
01-24-2020 10:28 AM
Hi,
Thanks for the follow up. We would like all outbound calls from any users to display a specific 10 digit number (1234567891) for say.
Thanks for your help
01-24-2020 01:48 PM - edited 01-24-2020 01:49 PM
Voice translation-rule 11
Rule 1 /.*/ /1234567891/
Voice translation-profile Out
Translate calling 11
Translate called 10
Dial-peer voice 206 ports
Translation-profile outgoing Out
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