Routing calls out to multiple numbers

Hi,

I am relatively new to Genesys Cloud Architect still and my backgroud was with Cisco previously so please bear with me on this one.

I have a situation coming up where we will need to route calls out to cell numbers for a period of time.

I have a data table lookup that will accommodate this for me but my problem is it is only good for 1 number.

My IVR routing script needs to be updated so that I can add 2 more numbers to route out to. I need to basically have a 33% split so that the first call goes to the 1st cell, the second call goes to the 2nd cell and the 3rd call goes to the 3rd cell. The 4th call would then be routed back to the 1st cell again and so on.

This is happening during off peek hours so not too concerned about the number of cells we are targeting.

I am able to update the table and the logic is basically there.

I am trying to understand how I can tag a call and then increment that number for the next caller so that I can do a switch to send to a different number.

I am sure I am overcomplicating this in my head but I just can't wrap my brain about how to do this.

There is no persistent variables that I am aware of that you could increment.
However there is some other ways you can achieve this
A bit dirt but you could store that variable in a data table and do a database look up.
Or what I would do, is take the current time, take the seconds value as a integer and mod by 3 for 33% mod by 2 for 50%

eg if the seconds is 20 and i do 20 % 2 i will get 0 if its 21 and i do 21 % 2 I will get 1, and so i can then split the calls by this that mod result. It won't be completely even, but since calls arrive randomly anyway it will be close enough.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.