06-17-2019 01:17 PM
Hello,
Appreciate if any one can advice on SRST configuration with COR.
SRST is working fine I need to restrict the PRI/Dialpeer to use based on the directory number
There are 2 departments say Dep1 with DN 1XXX and Department 2 with DN 2XXX
Department 1 to use PRI 1 for PSTN and Department 2 to user PRI 2
Please advice a best way to apply COR list under call-manager-fallback
Solved! Go to Solution.
06-18-2019 03:17 AM
Try below configuration:
name 911
!
name Local
!
name LongDistance
!
name International
!
--------------------------------------------------------------
For Department-1
--------------------------------------------------------------
dial-peer cor list Dept1-911
member 911
!
dial-peer cor list Dept1-Local
member 911
member Local
!
dial-peer cor list Dept1-LongDistance
member 911
member Local
member LongDistance
!
dial-peer cor list Dept1-International
member 911
member Local
member LongDistance
member International
!
--------------------------------------------------------------
For Department-2
--------------------------------------------------------------
dial-peer cor list Dept2-911
member 911
!
dial-peer cor list Dept2-Local
member 911
member Local
!
dial-peer cor list Dept2-LongDistance
member 911
member Local
member LongDistance
!
dial-peer cor list Dept2-International
member 911
member Local
member LongDistance
member International
!
--------------------------------------------------------------
For Department-1
--------------------------------------------------------------
dial-peer voice 1001 pots
destination-pattern 911
no digit-strip
corlist outgoing Dept1-911
port 0/0/1:23
!
dial-peer voice 1002 pots
destination-pattern 9[2-9]……
corlist outgoing Dept1-Local
port 0/0/1:23
!
dial-peer voice 1003 pots
destination-pattern 91[2-9]..[2-9]……
forward-digits 11
corlist outgoing Dept1-LongDistance
port 0/0/1:23
!
dial-peer voice 1004 pots
destination-pattern 9011T
prefix 011
corlist outgoing Dept1-International
port 0/0/1:23
!
--------------------------------------------------------------
For Department-2
--------------------------------------------------------------
dial-peer voice 2001 pots
destination-pattern 911
no digit-strip
corlist outgoing Dept2-911
port 0/0/2:23
!
dial-peer voice 2002 pots
destination-pattern 9[2-9]……
corlist outgoing Dept2-Local
port 0/0/2:23
!
dial-peer voice 2003 pots
destination-pattern 91[2-9]..[2-9]……
forward-digits 11
corlist outgoing Dept2-LongDistance
port 0/0/2:23
!
dial-peer voice 2004 pots
destination-pattern 9011T
prefix 011
corlist outgoing Dept2-International
port 0/0/0:23
!
call-manager-fallback
cor incoming Dept1-LongDistance 1 1001 - 1010
cor incoming Dept1-International 2 1011 - 1020
cor incoming Dept2-LongDistance 3 2001 - 2010
cor incoming Dept2-International 4 2011 - 2020
06-18-2019 03:17 AM
Try below configuration:
name 911
!
name Local
!
name LongDistance
!
name International
!
--------------------------------------------------------------
For Department-1
--------------------------------------------------------------
dial-peer cor list Dept1-911
member 911
!
dial-peer cor list Dept1-Local
member 911
member Local
!
dial-peer cor list Dept1-LongDistance
member 911
member Local
member LongDistance
!
dial-peer cor list Dept1-International
member 911
member Local
member LongDistance
member International
!
--------------------------------------------------------------
For Department-2
--------------------------------------------------------------
dial-peer cor list Dept2-911
member 911
!
dial-peer cor list Dept2-Local
member 911
member Local
!
dial-peer cor list Dept2-LongDistance
member 911
member Local
member LongDistance
!
dial-peer cor list Dept2-International
member 911
member Local
member LongDistance
member International
!
--------------------------------------------------------------
For Department-1
--------------------------------------------------------------
dial-peer voice 1001 pots
destination-pattern 911
no digit-strip
corlist outgoing Dept1-911
port 0/0/1:23
!
dial-peer voice 1002 pots
destination-pattern 9[2-9]……
corlist outgoing Dept1-Local
port 0/0/1:23
!
dial-peer voice 1003 pots
destination-pattern 91[2-9]..[2-9]……
forward-digits 11
corlist outgoing Dept1-LongDistance
port 0/0/1:23
!
dial-peer voice 1004 pots
destination-pattern 9011T
prefix 011
corlist outgoing Dept1-International
port 0/0/1:23
!
--------------------------------------------------------------
For Department-2
--------------------------------------------------------------
dial-peer voice 2001 pots
destination-pattern 911
no digit-strip
corlist outgoing Dept2-911
port 0/0/2:23
!
dial-peer voice 2002 pots
destination-pattern 9[2-9]……
corlist outgoing Dept2-Local
port 0/0/2:23
!
dial-peer voice 2003 pots
destination-pattern 91[2-9]..[2-9]……
forward-digits 11
corlist outgoing Dept2-LongDistance
port 0/0/2:23
!
dial-peer voice 2004 pots
destination-pattern 9011T
prefix 011
corlist outgoing Dept2-International
port 0/0/0:23
!
call-manager-fallback
cor incoming Dept1-LongDistance 1 1001 - 1010
cor incoming Dept1-International 2 1011 - 1020
cor incoming Dept2-LongDistance 3 2001 - 2010
cor incoming Dept2-International 4 2011 - 2020
06-18-2019 08:22 AM
+5 to @Vaijanath Sonvane for a super-thorough answer!
06-18-2019 09:05 AM
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