02-05-2009 10:36 PM - edited 03-15-2019 04:02 PM
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
!
02-05-2009 11:52 PM
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
02-06-2009 03:22 AM
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.
02-08-2009 06:45 PM
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.
02-08-2009 08:18 PM
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
02-08-2009 08:25 PM
thanks. corlist may be a good solution.
fred.
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