====== Gateway Class of Service ======
===== General =====
* Apply only when we have both an incoming and outgoing COR list
* If there is only one, then all calls are allowed.
* Use in CCME and SRST
{{gw-cos1.png|}}\\
{{gw-cos2.png|}}
===== Configuration =====
==== COR Custom ====
* Define tags for each type of call that you want to distinguish.
* Like creating partitions.
dial-peer cor custom
name Emergency
name VMail
name Local
name LD
name Intl
==== COR List lock ====
* Assign "basic" outgoing corlists (equivalent to partitions), containing a single member tag, to the respective POTS dial peers that route each type of call.
* Like creating locks
dial-peer cor list EmPt
member Emergency
dial-peer cor list VMailPt
member VMail
dial-peer cor list LocalPt
member Local
dial-peer cor list LDPt
member LD
dial-peer cor list IntlPt
member Intl
==== COR List Keys ====
* Assign "complex" incoming corlists (equivalent to calling search spaces), containing subsets of the member tags, to the IP phones that belong to the various classes of service.
* Like creating keys
dial-peer cor list InternalCSS
member Emergency
member VMail
dial-peer cor list LocalCSS
member Emergency
member VMail
member Local
dial-peer cor list LDCSS
member Emergency
member VMail
member Local
member LD
dial-peer cor list IntlCSS
member Emergency
member VMail
member Local
member LD
member Intl
==== COR List Dial Peer ====
* Using the command corlist outgoing corlist-name, configure the basic “partition” corlists as outgoing corlists assigned to the corresponding POTS dial peers:
* Like assigning locks to destination or dial-peer
dial-peer voice 100 pots
corlist outgoing EmPt
destination-pattern 911
no digit-strip
direct-inward-dial
port 1/0:23
dial-peer voice 101 pots
corlist outgoing VMailPt
destination-pattern 914085551234
forward-digits 11
direct-inward-dial
port 1/0:23
dial-peer voice 102 pots
corlist outgoing LocalPt
destination-pattern 9[2-9]......
forward-digits 7
direct-inward-dial
port 1/0:23
dial-peer voice 103 pots
corlist outgoing LDPt
destination-pattern 91[2-9]..[2-9]......
forward-digits 11
direct-inward-dial
port 1/0:23
dial-peer voice 104 pots
corlist outgoing IntlPt
destination-pattern 9011T
prefix-digits 011
direct-inward-dial
port 1/0:23
==== COR EPhone DN ====
* Using the command corlist outgoing corlist-name, configure the basic “CSS” corlists as incoming corlists assigned to the IP Phones:
* Like assigning keys
ephone dn 2001
corlist incoming InternalCSS
ephone dn 2002
corlist incoming IntlCSS
==== COR Voice Register Pool ====
* Using the command cor outgoing corlist-name, configure the basic “CSS” corlists as incoming corlists assigned to the IP Phones:
voice register pool 3001
cor incoming InternalCSS default
voice register pool 3002
cor incoming IntlCSS default
===== Debug =====
* Show cor list with members
Router# show dial-peer cor