Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

How to calculate expected wait time in ICM scripting?

when all agents will be busy, we want to play the expected wait time to the calls in a queue. How can we calculate the expected wait time?

14 REPLIES
New Member

Re: How to calculate expected wait time in ICM scripting?

it's calculated by the system,

you can generate this value, create prompt and play the prompt

Green

Re: How to calculate expected wait time in ICM scripting?

sounds like an Enterprise question. The Express is a no brainer.

Regards,

Geoff

New Member

Re: How to calculate expected wait time in ICM scripting?

I've tried many things, but I've finally settled with using the value in "RouterLongestCallQ" for the skill group.

New Member

Re: How to calculate expected wait time in ICM scripting?

HI,

I have ICM 7.5 enterprise system and would like to implement this estimate wait time. Can you please explain in details.

Thanks in advance

New Member

Re: How to calculate expected wait time in ICM scripting?

The way mine is set up, I set a peripheral variable with the value of RouterLongestCallQ, and when announcing wait time, I have a string of if nodes (example: if peripheral variable 1 < 60, play EWT1min prompt; the not leg points to the next if node, if peripheral variable 1 < 120, play EWT2min prompt, etc.

New Member

Hey folks,

Hey folks,

Thanks for this question raised. Am also looking to deploy EWT logic at client site. I have requirement to announce EWT value to caller. As per the above I have worked on same.

Set PV1=(SkillGroup.XXXX.RouterCallsQNow+1)  Then If PV1 =<10 Then Play (How to play EWT seconds)

can I play using Play element and selecting Data and defining formula for it.

regards,

Ritesh Desai

New Member

I think you have the values

I think you have the values backwards? Just do an IF to look at SkillGroup.XXXX.RouterCallsQNow > 10 or whatever you want the threshold to be to play EWT, then set whatever you decide is going to be your EWT value in PV1 in minutes, and then do a play Media of whatever is in PV1.

New Member

Hey billking,

Bill king,

RouterCallsQNow returns output of queue call in seconds OR count of queue call? I think as per grammar its caller count in queue. Which parameter to multiply with to get queue call in seconds.

Thanks. Can we play audio using Play element? Audio path is defined in Set Variables node to fetch from sys/app libraries bbut dint worked. I tried playing audio after configuring Network VRU Script for ''PM'' and it played. I have to announce dynamic EWT like "your EWT is XX"

My doubt is EWT data stored under PV1 will get played using PLAY element (ICM Queue Palatte)? 

regards,

Ritesh Desai

New Member

Hey folks,

Hey folks,

((CallsQNow + 1) * AHTto5) / Max ((Ready,(talkingIN+talkingOUT+talkingOTHR),100) using these formula am getting value in 1.xxx, 1.xxxx else 1.xxxxx. 

I want to round-off the decimals to nearest value. Because I cannot announce decimals to customers.

regards,

Ritesh Desai.

you can use trunc(n) to

you can use trunc(n) to truncate the decimal to integer.

e.g trunc(19.55) = 19.

and i think you can use LoggedOn value from skill instead of (talkinIN+talkingOUT+talkingOTHR) for better calculation.

 

regards

Chintan

New Member

Chintan,

Chintan,

Thanks for suggestion for using "trunc()" function. I tried with "left()" function and it worked for me.

I used function left(PV1) and it gives output of single integer.

By using trunc(PV1) value will return pre-dot values?

Eg: If PV1 returns 1.1234 then using trunc(1.1234) will give output of 1. correct?

regards,

Ritesh Desai.

I see one problem in using

I see one problem in using left(), it fails to give you correct result when you have integer part more then 10.

e.g. left(10.56) =1 and not 10.

the trunc() is similar standard truncate function you would have seen while working with any programming language. it truncates the decimal value to nearest possible integer value. and use of it is recommended.

New Member

team,

team,

using this formula

((SkillGroup.Test_123.RouterCallsQNow+1)*SkillGroup.Test_123.AvgHandledCallsTimeTo5/max(SkillGroup.Test_123.LoggedOnTimeTo5-SkillGroup.Test_123.NotReadyTimeTo5,1))

I have 1 agent available in Test_123 skillgroup. ICM is not calculating goes to next node and finally disconnects.

regards,

RItesh Desai.

4329
Views
5
Helpful
14
Replies
CreatePlease to create content