you could use both tg manipulation, and vectoring to do this.
This all assumes you have ANI, and ISDN trunks. If you are not getting the calling number on the inbound side you'd need to add another work around.
On your local TG
Page 3
Serv/feat Call Len Called Number Del Instert
CBC\Public* 4 1234 4 abcd
*this depends on how tg is set up.
1234 = extension of person recieving harrasing phone calls.
abcd = new vdn.
abcd points to new vector
New vector looks like.
01 goto step 06 if ani = (harrasing number)
02 got step 08 if ani = none
03 route to 1234 unconditionally
04 stop
05
06 busy
07 stop
08 collect 10 digits atfter announcement 9999
09 goto step 07 if digits = (harrasing number)
10 goto step 1
11 stop
The step 2 is not neccessary, its the work around you'd want to add if the person is calling from a blocked number or you do not have ani. Still it would only work the first time probably once the person figures it out.
announcement 9999 says something like "please enter your 10 digit phone number"
RTMCKEE