05-05-2009 02:13 AM - edited 03-15-2019 05:50 PM
Hi,
I've copied and paated a template configuration below.
Here's some background:
The voice gateway receives the last 6 digits of the DDI range (005000-005249).
If a caller dials 0117 9005053 or 0117 9005092, the call should get routed to Hunt Group 3 which has a pilot number of 100.
If a caller dials 0117 9005100 the call should get routed to Hunt Group 5 which has a pilot number of 441179005100.
If the caller dials any other number (that does not match DDI of a registered phone) the call should get routed to Hunt Group 4 which has a pilot number of 101.
Will the template configuration achieve these goals?
voice translation-rule 1
rule 1 /005053/ /100/
rule 2 /005092/ /100/
rule 3 /005/ /441179005/
rule 4 /^0/ /101
!
voice translation-rule 2
rule 1 /^.*/ /9\0/
!
!
voice translation-profile IncomingCalls
translate calling 2
translate called 1
!
voice-port 0/0/0:15
translation-profile incoming IncomingCalls
cptone GB
!
!
!
ephone-hunt 3 sequential
pilot 100
list 11706, 11707, 11708
timeout 15
!
!
ephone-hunt 4 sequential
pilot 101
list 11710, 11711, 11712
timeout 15
!
!
ephone-hunt 5 sequential
pilot 441179005100
list 11701, 11702, 11703
timeout 15
!
!
telephony-service
srst mode auto-provision none
srst dn line-mode dual
em logout 0:0 0:0 0:0
max-ephones 100
max-dn 200
ip source-address 10.91.66.251 port 2000
timeouts interdigit 5
system message secondary WAN down - SRST
time-zone 23
time-format 24
date-format dd-mm-yy
max-conferences 12 gain -6
call-forward pattern .T
moh music-on-hold.au
multicast moh 239.1.1.1 port 16384 route 10.91.66.251 10.91.66.1 10.91.66.5
transfer-system full-consult
transfer-pattern .T
secondary-dialtone 9
create cnf-files version-stamp Jan 01 2002 00:00:00
Thanks
05-05-2009 05:54 AM
Looks like it should be just fine.
Is your PRI H323 or MGCP controlled under normal condition (not SRST)? If it's H323 then appliying the translation to the voice-port will change it before it gets to CM as well, not sure if that is your intent. You may want to apply this to a voice dial-peer instead.
HTH,
Chris
05-05-2009 09:17 AM
Hi Chris,
Thanks for your response. PRI is MGCP controlled.
Gurmakh
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