How can I block certains callsfrom the specific FXS ports?

Unanswered Question
Mar 4th, 2008

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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Jaime Valencia Thu, 03/06/2008 - 08:51

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

SludnevTN_2 Thu, 03/06/2008 - 16:38

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?

Actions

This Discussion