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?
dial-peer voice xx voip
translation-profile kk incoming
Then make as many profiles and ruleseare needed.
Please remember to rate useful posts with the scrollbox below.