07-03-2012 04:47 PM - edited 03-16-2019 12:00 PM
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?
07-03-2012 04:53 PM
sorry, ephone-dn 1 dials 5551212, it gets changed to 4085551212
ephone-dn 2 dials 5551212, it gets changed to 6505551212
07-03-2012 05:00 PM
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"
07-03-2012 05:28 PM
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!
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