I need to block IP phones from calling a specific list of numbers. What's the best way to do this? I saw that it can be done with translation patterns and also I think it can be done with dial-peers too. The translation pattern way seems elegant enough, but I need to block 100+ numbers and I don't think that translations can handle that many.
Something like this would do the trick, won't it?
Dial-peer voice 100 voip
call-block disconnect-cause incoming call-reject