call-block can't work in 3745

Unanswered Question
Feb 5th, 2009
User Badges:

hi,


i setup a 3745 with CME 4.2. i want to block one number 2508 to call out.but the call block function can't work. the configuration below.


voice translation-rule 7

rule 1 reject /2508/

!

voice translation-profile call-block

translate calling 7


dial-peer voice 779901 pots

trunkgroup CHT

description Voice to PSTN with CHT from international call in Taiwan

call-block translation-profile incoming call-block

call-block disconnect-cause incoming invalid-number

destination-pattern 777

incoming called-number .

prefix 40667799

!

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Ayodeji Okanlawon Thu, 02/05/2009 - 23:52
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

Hi,


If this number is within your system, then I believe the direction should be outgoing. From your email, it sounds like you dont want extension 2508 to call out.


SO I suggest to change your config to

call-block translation-profile outgoing call-block.


For things like this, it is rcommended to use COR-list..


HTH

paolo bevilacqua Fri, 02/06/2009 - 03:22
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

Hi,


use call-block with voip DP only. In that case, the translation rule does not need to contain reject, any match is sufficient.


For pots DP, simply use translation-profile and reject.


mishao Sun, 02/08/2009 - 18:45
User Badges:

in my environment, i want to block the ip phone ( call manager express in voice gateway) to call out by dial-peer. But it can't work even the rule is /^.*/.


best regards.

fred.

Nicholas Matthews Sun, 02/08/2009 - 20:18
User Badges:
  • Red, 2250 points or more

Hi Fred,


Are you trying to prevent one DN from dialing out?


If so, you should apply a corlist to the ephone-dn:


ephone-dn 1

corlist incoming x


Then, on your voip dial peers:


dial-peer voice 1 voip

corlist outgoing y


You would need to add the full corlist configuration, but I think this is what you're looking for. I haven't played with call block on calling number, but there's a good chance it doesn't work on calling number.



hth,

nick

mishao Sun, 02/08/2009 - 20:25
User Badges:

thanks. corlist may be a good solution.

fred.

Actions

This Discussion