cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1392
Views
10
Helpful
3
Replies

SRST with COR list

saleem pc
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

Vaijanath Sonvane
VIP Alumni
VIP Alumni

Try below configuration:

 

  • Configure Dial-Peer COR custom and assign a meaningful name

name 911

!

name Local

!

name LongDistance

!

name International

!

  • Create the actual lists of the restrictions that apply to the dial-peer.

--------------------------------------------------------------

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

!

  • Create dial-peers and specify the COR list to be used.

--------------------------------------------------------------

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

!

  • Apply the COR list to the range of extensions.

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

 

 

 

Please rate helpful posts and if applicable mark "Accept as a Solution".
Thanks, Vaijanath S.

View solution in original post

3 Replies 3

Vaijanath Sonvane
VIP Alumni
VIP Alumni

Try below configuration:

 

  • Configure Dial-Peer COR custom and assign a meaningful name

name 911

!

name Local

!

name LongDistance

!

name International

!

  • Create the actual lists of the restrictions that apply to the dial-peer.

--------------------------------------------------------------

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

!

  • Create dial-peers and specify the COR list to be used.

--------------------------------------------------------------

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

!

  • Apply the COR list to the range of extensions.

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

 

 

 

Please rate helpful posts and if applicable mark "Accept as a Solution".
Thanks, Vaijanath S.

+5 to @Vaijanath Sonvane for a super-thorough answer!

Thanks Maren.
Please rate helpful posts and if applicable mark "Accept as a Solution".
Thanks, Vaijanath S.