05-16-2016 12:09 PM - edited 03-17-2019 06:56 AM
All of my extensions begin with 842 and are 7 digits. When in normal operating mode I have a translation pattern in CM that allows internal dialing of just the last 4 digits. When I'm SRST mode I want to allow the same 4 digit dialing between phones.
I have created the following translation rule:
voice translation-rule 101
rule 1 /^\(.*\)/ /842\1/
I've tested this rule and it's working as I expect it too:
test voice translation-rule 101 3422
Matched with rule 1
Original number: 3422 Translated number: 8423422
Original number type: none Translated number type: none
Original number plan: none Translated number plan: none
What I'm not sure is where do I apply this rule? I've tried on the SRST dial peer I've created but that did not work.
Here is my SRST config. Can someone tell me where and how to apply this? so they can dial just the 4 digits from phone to phone when in SRST Mode.
Thanks
call-manager-fallback
secondary-dialtone 9
max-conferences 4 gain -6
transfer-system full-consult
max-ephones 75
dial-peer voice 8 voip
translation-profile incoming 4DIGIT-to-7DIGIT
translation-profile outgoing SRST-IN
preference 9
destination-pattern 8......
session protocol sipv2
session target ipv4:10.7.53.1
voice-class codec 1
dtmf-relay rtp-nte
no vad
voice register global
mode esrst
system message FALLBACK NET DOWN
max-dn 100
max-pool 100
voice register dn 1
number 8421190
shared-line
voice register pool 1
id network 0.0.0.0 mask 0.0.0.0
session-transport tcp
voice-class codec 1
voice register pool 2
id mac 0041.D293.EAA6
number 1 dn 1
voice register pool 3
id mac 00DA.5527.79FD
number 1 dn 1
voice register pool 4
id mac 00DA.5527.28A7
number 1 dn 1
voice translation-rule 101
rule 1 /^\(.*\)/ /842\1/
voice translation-profile 4DIGIT-to-7DIGIT
translate called 101
05-16-2016 01:01 PM
Add number expansion for internal calls during SRST.
num-exp x... 842x...
05-18-2016 11:39 PM
Hello,
You can try applying the translation profile to "call-manager-fallback" in inbound direction. Also you can use the "alias" command for this purpose.
http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cusrst/command/reference/srstcr/srsa_a_m.html
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