cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
628
Views
0
Helpful
5
Replies

Adding a Dial Prepend....

Peter_sgc_2
Level 1
Level 1

Hello,

 

We have a UC560 on CCME and our Carrier has enabled a CPS service where we have to dial 16000 to access free calls onto our company mobile phones. However I would like to configure the system so that the Staff do not need to Dail 916000 in-front of the system and the CCME adds it automatically.

Is this possible? I don't really know much about the voice config via the CLI.....

5 Replies 5

Terry Cheema
VIP Alumni
VIP Alumni

Yes you can use voice translation rules to achieve this. You can apply the voice translation rule to the mobile dial peer pre-pending the digits you need.

 

Have a look at below link to understand the voice translation rules:

http://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/61083-voice-transla-rules.html

-Terry

Please rate all helpful posts

Hey Terry,

 

Thanks for that, I've take a look at the voice translation rules but this doesn't make a lot of sense to me.. I don't know anything about the Telephony-Services in the CLI 

Where about would I add 16000 ?

 

voice translation-rule 4
 rule 1 /^413\([0-1]\)$/ /33383\1/
 rule 3 /^413\([3-9]\)$/ /33383\1/
 rule 14 /^41\(..\)$/ /3338\1/
 rule 15 /^....$/ /333800/
!
voice translation-rule 5
 rule 1 /333801/ /4005/
!
voice translation-rule 6
 rule 1 /333804/ /4111/
!
voice translation-rule 7
 rule 1 /333805/ /4105/
 rule 2 /333806/ /4106/
 rule 3 /333807/ /4107/
 rule 4 /333808/ /4108/
 rule 5 /333809/ /4109/
!
voice translation-rule 8
 rule 1 /333810/ /4110/
 rule 2 /333811/ /4111/
 rule 3 /333812/ /4112/
!
voice translation-rule 9
 rule 1 /333800/ /4898/
!
voice translation-rule 10
 rule 1 /333802/ /4102/
 rule 2 /333803/ /4103/
!
voice translation-rule 11
 rule 1 /333814/ /4114/
 rule 2 /333815/ /4115/
 rule 3 /333816/ /4116/
 rule 4 /333817/ /4117/
 rule 5 /333818/ /4118/
 rule 6 /333819/ /4119/
!
voice translation-rule 12
 rule 1 /333820/ /4120/
 rule 2 /333821/ /4121/
 rule 3 /333822/ /4122/
 rule 4 /333823/ /4123/
 rule 5 /333824/ /4124/
 rule 6 /333825/ /4125/
 rule 7 /333826/ /4126/
 rule 8 /333827/ /4127/
 rule 9 /333828/ /4128/
 rule 10 /333829/ /4129/
!
voice translation-rule 14
 rule 1 /333830/ /4130/
 rule 2 /333831/ /4131/
 rule 3 /333832/ /4132/
 rule 4 /333833/ /4133/
 rule 5 /333834/ /4134/
 rule 6 /333835/ /4135/
 rule 7 /333836/ /4136/
 rule 8 /333837/ /4137/
!
voice translation-rule 21
 rule 1 /333838/ /4894/
!
voice translation-rule 24
 rule 1 /333813/ /4895/
!
voice translation-rule 25
 rule 1 /333839/ /4896/
!
voice translation-rule 410
 rule 1 /^9\(.*\)/ /\1/
 rule 15 /^....$/ /01225636150/
!
voice translation-rule 411
 rule 1 /^9\(.*\)/ /ABCD9\1/
!
voice translation-rule 412
 rule 1 /^ABCD\(.*\)/ /\1/
!
voice translation-rule 422
 rule 1 /^ABCD909[01]......../ //
 rule 2 /^ABCD9090[89]......./ //
 rule 3 /^ABCD9098\(.*\)/ //
 rule 15 /^ABCD\(.*\)/ /\1/
!
voice translation-rule 1000
 rule 1 /.*/ //
!
voice translation-rule 1111
 rule 15 /^....$/ /01225636150/
!
voice translation-rule 1112
 rule 1 /^9/ //
!
voice translation-rule 2001
 rule 1 /333800/ /4898/
 rule 2 /333839/ /4896/
!
voice translation-rule 2222
 rule 1 /^909[01]......../ //
 rule 2 /^9090[89]......./ //
 rule 3 /^9098\(.*\)/ //
!
voice translation-rule 3265
 rule 1 /\(^..........$\)/ /90\1/
 rule 15 /\(^ABCD$\)/ /ABCD\1/
!
!

 

Could also use the Prefix command on the dial-peer to prefix 16000 to the number you are sending the carrier.

Hey kkoeper12,

That sounds easier... how would I do that.... ??

Peter -

It depends on your current dial peer config but in general it would be:

dial-peer voice 1 voip

destination-pattern 9[2-9]......

prefix 16000