cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
460
Views
0
Helpful
5
Replies

Block Extension Range From using specific voice-ports

dersonmanhique
Level 1
Level 1

Hello, 

 

I have 5 Voice-ports configured on a CME (1 PSTN and 4 FX0) and i have a extension range that goes from 100 to 120 and another from 200-220. I would like to only allow the range from 200 to 220 to use Voice-port's 0/0/1, 0/0/2 and 0/0/3.

 

How can i accomplish this?

Dérson Manhique
5 Replies 5

You can use corlists for this. Basically create a corlist which allows DNs
200-220 to access outgoing dialpeers over FXO ports listed. Another corlist
which don't have access to outgoing dialpeers
Example:

https://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/42720-configuring-cor.html

Can you help me, i'm kinda lost in this. Just took over Voip in the company and i have ZERO experience with this. the //\\\ are mind blowing, lol.

 

voice translation-rule 10
rule 1 /^21246000/ /100/
!
!
voice translation-profile Inbound_TDM
translate called 10
!
controller E1 0/0/0
framing NO-CRC4
pri-group timeslots 1-31
description ## ISDN_PRI-TDM 21246000 ##
!

interface Serial0/0/0:15
no ip address
encapsulation hdlc
no cdp enable
isdn switch-type primary-net5
isdn incoming-voice voice
isdn bchan-number-order ascending
!
voice-port 0/0/0:15
!
voice-port 0/1/0
cptone PT
connection plar opx 100
impedance complex2
description TDM-1_Recepcao_PDE(MOVEL)
station-id name L00
caller-id enable type 1
!
voice-port 0/1/1
cptone PT
connection plar opx 201
impedance complex2
description TDM-2_Recepcao (FIXO)
station-id name L01
caller-id enable type 1
!
voice-port 0/1/2
cptone PT
connection plar opx 201
impedance complex2
description TDM-1_Recepcao (FIXO)
station-id name L02
caller-id enable type 1
!
voice-port 0/1/3
cptone PT
connection plar opx 201
impedance complex2
description TDM-2_Recepcao (FIXO)
station-id name L03
caller-id enable type 1
!
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
!
!
dial-peer cor custom
name 0
name 02
name 082
name 084
name 086
name 087
!
!
dial-peer cor list Call-Nacional
member 02
member 082
member 084
member 086
member 087
!
dial-peer cor list Call-International
member 0
member 02
member 082
member 084
member 086
!
dial-peer cor list Call-Local
!
dial-peer cor list Call-Nacional-2
member 02
member 082
member 084
member 086
member 087
!
!
dial-peer voice 2 pots
description #PRI-NACIONAL#
destination-pattern 02T
direct-inward-dial
port 0/0/0:15
forward-digits 8
!
dial-peer voice 1 pots
description #In_TDM PRI#
translation-profile incoming Inbound_TDM
incoming called-number 212460..
direct-inward-dial
!
dial-peer voice 3 pots
description #PRI-MOVEL#
preference 1
destination-pattern 08T
direct-inward-dial
port 0/0/0:15
forward-digits 9
!
dial-peer voice 4 pots
description #PRI-INTERNAC#
preference 1
destination-pattern 00T
direct-inward-dial
port 0/0/0:15
forward-digits all
!
dial-peer voice 10 pots
corlist outgoing Call-Nacional
description #MOVEL-FIXO#
preference 1
destination-pattern 02T
port 0/1/0
forward-digits 8
!
dial-peer voice 11 pots
corlist outgoing Call-Nacional
description #MOVEL-MOVEL#
destination-pattern 08T
port 0/1/0
forward-digits 9
!
dial-peer voice 12 pots
corlist outgoing Call-Nacional
description #MOVEL-INTERNAC#
preference 1
destination-pattern 00T
port 0/1/0
forward-digits all
!
dial-peer voice 20 pots
corlist outgoing Call-Nacional
description #FIXO-FIXO#
preference 2
destination-pattern 02T
port 0/1/1
forward-digits 8
!
dial-peer voice 21 pots
corlist outgoing Call-Nacional
description #FIXO-MOVEL#
preference 2
destination-pattern 08T
port 0/1/1
forward-digits 9
!
dial-peer voice 22 pots
corlist outgoing Call-International
description #FIXO-INTENAC#
preference 2
destination-pattern 00T
port 0/1/1
forward-digits all
!
dial-peer voice 30 pots
corlist outgoing Call-Nacional-2
description #FIXO_2-FIXO#
preference 3
destination-pattern 02T
port 0/1/2
forward-digits 8
!
dial-peer voice 31 pots
corlist outgoing Call-Nacional-2
description #FIXO_2-MOVEL#
preference 3
destination-pattern 08T
port 0/1/2
forward-digits 9
!
dial-peer voice 32 pots
corlist outgoing Call-Nacional-2
description #FIXO_2-INTENAC#
preference 2
destination-pattern 00T
port 0/1/2
forward-digits all
!
dial-peer voice 40 pots
corlist outgoing Call-Nacional-2
description #FIXO_3-FIXO#
preference 3
destination-pattern 02T
port 0/1/3
forward-digits 8
!
dial-peer voice 41 pots
corlist outgoing Call-Nacional-2
description #FIXO_3-MOVEL#
preference 2
destination-pattern 08T
port 0/1/3
forward-digits 9
!
dial-peer voice 42 pots
corlist outgoing Call-Nacional-2
description #FIXO_3-INTENAC#
preference 2
destination-pattern 00T
port 0/1/3
forward-digits all
!
!
!

Dérson Manhique

This is called translation rule and this is to manipulate calling and called numbers at voice gateway level.
In your case it is used for incoming calls
voice translation-rule 10
rule 1 /^21246000/ /100/ ( meaning: when an incoming call comes in with 21246000 as called number, and it is translated to 100)
Hope this is helpful

Thanks for the tip. i'm trying to apply the COR but still no changes

 

Dérson Manhique

James Hawkins
Level 8
Level 8

You can do this using the CME Class of Restriction feature

The link below has an overview

http://www.learncisco.net/courses/icomm-ccna-voice/call-flows-in-cuc-systems/cuc-manager-express-cor.html