Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calls Per Hour 1

Status
Not open for further replies.

PappaG

Technical User
Nov 21, 2003
288
GB
Hi

Can anyone help i am looking to use ICM to send calls to one of our retail sites. I will just be directing calls to a label and if not answered within an allotted time pull the calls back and route via the call centre as per normal. My problem is i only want to allow 25 calls per hour to be sent....i know sounds like a waste of time and effort but what the buisness wants unfortunatly i have to deliver. Im sure i can use some sort of IF statemenmt to achieve this but unsure what it should look like....anyone any idea's on this...?
 
Hello,

I would setup a Persistent user variable that is reset back to 0 after every hour in an admin script.

In your routing script, I would have a set node that adds 1 to this variable for every call that comes through your script.

After this, I would setup an if statement that says if your Global.userVariable <= 25 go to the label.

Good luck!
Barry
 
Thanks Mclellan

I am quite new to ICM and havent done to much with the variables the only experience i have of these is using an IVR in a routing script you choose an option which sets a global user variable to different numbers and use If statments in my script so the buisness can change routing via a dialup number

I am guessing that i would set the rate it would check the admin script to one hour and have a variable set to = 0 this would reset it evry time it checks the admin script.

can you tell me what the add 1 variable in the script would look like ?
 
Hello,

You are correct!

To add 1 to a variable (make sure it is setup as a persistent integer)

Create a SET node and inside the node select
Global under the Object Type dropdown
Select the user variable you made in the Variable dropdown

In the value column type in:
Global.user(yourvariablename) + 1

Good luck
Barry

 
Hi mclellan

Thanks for you help just heading up to give it a try now....fingers crossed. I am kinda new to ICM and any interesting things you have done in ICM scripts i would be interested in hearing about.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top