cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
962
Views
0
Helpful
3
Replies

dial-peer/voice translation-rule per phone

Is it possible to do some sort of selective outbound dialing based on ephone?

Say for local calling.

If ephone 1 dials 5551212, it gets changed to 4085551212

and if ephone 2 dials 5551212, it gets changed to 6505551212?

3 Replies 3

sorry, ephone-dn 1 dials 5551212, it gets changed to 4085551212

ephone-dn 2 dials 5551212, it gets changed to 6505551212

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

Hi,

Yes this is possible with ephone-dns. All you need to do is configure two different translation rules and then apply them to the ephone-dn

NB: for it to work you need to apply the translation profile as incoming on ephone-dn as follows:

voice translation-rule 1

rule 1 /^5551212/ /4085551212/

voice translation-rule 2

rule 1 rule 1 /^5551212/ /6505551212/

voice transaltion-profile phone1

translate called 1

voice transaltion-profile phone2

translate called 1

ephone-dn  1

number 8001

translation-profile incoming phone1

ephoe-dn 2

number 8002

translation-profile incoming phone2

Please rate all useful posts

"There is a wideness in God's mercy Like the wideness of the sea.There's a kindness in His justice Which is more than liberty"

Please rate all useful posts

Great thanks, now to complicate things a little more, can we make it

so they can also dial with an area code?

6505551212 = 6505551212

4085551212 = 4085551212

5551234 = 4085551234

I've come up with:

voice translation-rule 2408

rule 1 /.*\([2-9].........\)/ /1\1/

rule 2 /.*\([2-9]......\)/ /1408\1/

but it doesn't seem to be wanting to work with rule 1.

Thanks for the help!