Wednesday, 9 April 2014

Use Corlist to Restrict Outgoing Calls



The purpose of this document is aimed to guide you to create a corlist on  Cisco CME to restrict outgoing calls
Step 1: Create partitions:
dial-peer cor custom
 name pt-loc-ld
 name pt-block
 name pt-internal

Step 2 : Create CSS for unlocking partitions which just are created in previous step:
dial-peer cor list css-internal
 member pt-internal
!
dial-peer cor list css-ld
 member pt-loc-ld
 member pt-internal
!
dial-peer cor list css-block
 member pt-block
!
dial-peer cor list css-international
 member pt-loc-ld
 member pt-block
 member pt-internal

Step 3: Assign the partition which just are created in step 1 to dial-peers:

For internal calls to 2001, we assign css-interal :

dial-peer voice 1 voip
 corlist outgoing css-internal
 destination-pattern 2001
 voice-class codec 1
 session protocol sipv2
 session target ipv4:142.100.64.11
 dtmf-relay sip-notify

For long-distance and international dial-peers, we assign css-block to them:

dial-peer voice 2 voip
 corlist outgoing css-block
 translation-profile outgoing no-9
 destination-pattern 91T
 voice-class codec 1
 session protocol sipv2
 session target ipv4:142.100.64.11
 dtmf-relay sip-notify rtp-nte
!
dial-peer voice 3 voip
 corlist outgoing css-block
 translation-profile outgoing no-9
 destination-pattern 9011T
 voice-class codec 1
 session protocol sipv2
 session target ipv4:142.100.64.11

Step 4:  assign privileges to different phone lines:

!
ephone-dn  1  dual-line
 number 4001 no-reg primary
 description +85224044001
 name HK-PHONE1
 corlist incoming css-international        # number 4001 is able to match all dial-peers
!
!
ephone-dn  2  dual-line
 number 3001
 description +14082023001
 name US-PHONE1
 corlist incoming css-internal              # number 3001 is only able to call 2001 which is internal.

No comments:

Post a Comment