09-03-2018 03:29 AM - edited 03-17-2019 01:24 PM
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?
09-03-2018 03:56 AM
09-03-2018 08:24 AM
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
!
!
!
09-03-2018 09:22 AM
09-04-2018 03:47 AM
Thanks for the tip. i'm trying to apply the COR but still no changes
09-03-2018 03:58 AM
You can do this using the CME Class of Restriction feature
The link below has an overview
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