Thanks Mark,
Yes you understand the scenario correctly.
Can you please brief more in detail related to "DTS package running on SQL" and simplify your provided solution also.... I mean how its possible that by using DB LOOKUP node in my script can count the number of hits for any CLI.
Okay, so the DTS and the SQL code are the bits that do the couting. Here's a step by step guide:
Create SQL code to populate a new table with all of the ANI/CLI that have called 10 times or more (pseudo code below):
UPDATE TABLE (TBLRESTRICT)
COUNT OF ANI SELECT FROM ROUTECALLDETAIL
GREATER THAN 10 COUNT
Create a new DTS package that runs the above code on a schedule every 15 minutes.
You now have a table of ANIs that have called more than 10 times
In your ICM script, you do a DBLOOKUP of your current ANI and if it matches one in the list (True/False) then perform whatever action in the script.
I know this is probably just as confusing but hope you get it working.
Regards
MT
Mark Tindal
Engineering Manager
JAMIP