I am trying to create a passcode for 1 IP Phone in a Network and have the following configuration in place as shown below:
The plan is that when this IP Phone wants to dial out they will have to dial out the a 4 digit number 5798 followed by the number they want to dial out.
The Router i am using is a CCME
Can you please let me know if this configuration will help setup according to the above description? Or can you please suggest any changes that i need to implement to make this work..
voice translation-rule 1
rule 1 /^5798\(.*\)/ /195\1/
voice translation-profile PHONE1
translate called 1
dial-peer voice 195 pots
label IPPhone # 8
translation-profile incoming PHONE1
Any advice will be most grateful.
Many Thanks in advance