I have a scenario where I have 20 extensions in no particular order. I presently map DIDs inbound to these 20 extensions using these translation rules which works fine.
voice translation-rule 1
rule 1 /^6880$/ /7250/
rule 2 /^6881$/ /7106/
rule 10 /^6883$/ /7245/
voice translation-rule 2
rule 1 /^6890$/ /7230/
rule 10 /^6891$/ /7225/
I now need to have the reverse take effect when making outbound calls. So if extension 7230 makes an oubound call it would show on the Caller ID as 6890.
I am only able to apply one translation profile to the outbound POTs peer but this only will accomodate half the translations.
How do I get all these translations to appear on a single outbound POTS?
Solved! Go to Solution.
Not sure I understand. Inbound calls are working using the dial-peers below. How do I accomplish the same thing but for outbound dialing?
dial-peer voice 702 pots
translation-profile incoming DID1
incoming called-number 688.
dial-peer voice 703 pots
translation-profile incoming DID2
incoming called-number 689.
Below is what have done so far. Could you provide an example of how this would be done using answer-address?
voice translation-rule 3
rule 1 /^7230$/ /5552226890/
voice translation-profile DID3
translate calling 3
dial-peer voice 100 pots
translation-profile outgoing DID3
I am just missing how this is going to work for outbound calls. In your example which command is triggering the outbound translation to the PSTN.
Please review the fundamentals of Cisco VoIP. for each call there is an incoming and an outgoing DP, you can use either or both for number manipulation.