Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

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?

  • IP Telephony
Everyone's tags (4)
3 REPLIES
New Member

dial-peer/voice translation-rule per phone

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

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

VIP Super Bronze

dial-peer/voice translation-rule per phone

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 "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
New Member

dial-peer/voice translation-rule per phone

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!

630
Views
0
Helpful
3
Replies
This widget could not be displayed.