Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

How can I block certains callsfrom the specific FXS ports?

How can i block certains callsfrom the specific FXS ports?

I have to block the use of dial-peer voice 9 voip from the voice-port 1/2, what technology shold I use? COR? but I can not find clear documentation for me, please help me thank you.

voice-port 1/0

cptone RU

timeouts wait-release 5

!

voice-port 1/1

cptone RU

timeouts wait-release 5

!

voice-port 1/2

cptone RU

timeouts wait-release 5

!

voice-port 1/3

cptone RU

timeouts wait-release 5

!

dial-peer cor custom

!

!

!

dial-peer voice 1 pots

destination-pattern 244

port 1/0

!

dial-peer voice 2 pots

destination-pattern 241

port 1/1

!

dial-peer voice 3 pots

destination-pattern 242

port 1/2

!

dial-peer voice 4 pots

destination-pattern 243

port 1/3

!

dial-peer voice 5 pots

destination-pattern 244

!

dial-peer voice 6 pots

destination-pattern 245

!

dial-peer voice 7 pots

destination-pattern 246

!

dial-peer voice 8 pots

destination-pattern 247

!

dial-peer voice 10 voip

description ---- Central Office ----

destination-pattern 1..

session target ipv4:192.168.254.1

codec g729r8 bytes 40

!

dial-peer voice 9 voip

description ---- Town destination ----

destination-pattern 9[1-6,9].....

session target ipv4:192.168.254.1

codec g729r8 bytes 40

3 REPLIES
Hall of Fame Super Gold

Re: How can I block certains callsfrom the specific FXS ports?

Yes you should use cor.

Have you seen this document?

http://cisco.com/en/US/tech/tk652/tk90/technologies_configuration_example09186a008019d649.shtml

Note, it is not necessary to copy all the configuration example, just adapt to you need, basically you need cor only on the incoming and outgoing voice port.

hope this helps, please rate post if it does!

Cisco Employee

Re: How can I block certains callsfrom the specific FXS ports?

i wrote this down for a customer of mine a few days ago, maybe this helps you:

dial-peer cor custom

name FXO1

name FXO2

dial-peer cor list out1

member FXO1

dial-peer cor list out2

member FXO2

dial-peer 1 pots

corlist outgoing out1

destination-pattern 9T

port 0/1/0

dial-peer 2 pots

corlist outgoing out2

destination-pattern 9T

port 0/2/0

ephone-dn 1 dual-line

number 101

call-forward busy 500

call-forward noan 500 timeout 10

cor incoming out1

ephone-dn 2 dual-line

number 108

call-forward busy 500

call-forward noan 500 timeout 10

cor incoming out2

HTH

javalenc

HTH

java

if this helps, please rate

www.cisco.com/go/pdi
New Member

Re: How can I block certains callsfrom the specific FXS ports?

Thank you all. As I understand, I can use COR only if I have IP-Phones and Call manager? From the config above you have permited the use of ephone-dn 1 only on dial-peer 1 pots, correct? But I do not understand how can I restrict the use of specific dial-peer voip on specific FXS port?

149
Views
5
Helpful
3
Replies
CreatePlease to create content