hi,I understand your requirements
below is what I can do
1. same callerid cannot dial toll free number 3 times within one time range
2. same callerid cannot dial prefix 5 times within 5 seconds of each other
3. if you want ,you can provide me one url ,I can pass callerid ,toll free did etc to your url ,and if ur url reply 'blocked' ,then I will stop the call
4. same as 3 , I can also pass client IP when posting to your url
5. besides that ,I will provide u one web ui ,to add block rules ,to view all toll free call history.,you can always block any callerid ,and add block rules like (caller id prefix ,toll free did prefix ,client ip)