cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1211
Views
0
Helpful
5
Replies

call-block can't work in 3745

mishao
Level 1
Level 1

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

!

5 Replies 5

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

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

Please rate all useful posts

paolo bevilacqua
Hall of Fame
Hall of Fame

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.

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.

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

thanks. corlist may be a good solution.

fred.