Wait Time Calculation - CSQ

Answered Question
Oct 18th, 2008
User Badges:

Hi,


I want to calculate caller time for every call. It shouldnt be queue time, but caller time instead and based on that i need to route the call(if greater than 120 secs) than give caller option for VM.


IF < 120 secs, put the call back in queue.


I am using "Get reporting Stat" node.

and under that i am selecting

Report Object -- CSQ IPCC Express

Field - I have tried almost all of them

Storing the result in Int variable.


System is always checking the wait time of the queue, but not the caller.


How can i check the wait time of the caller? Please advise.


Thanks



Correct Answer by Chris Deren about 8 years 9 months ago

the intQueueTime is just a varaible, it's initally 0, as you go through the look it increments by 1, then when it reaches 120 seconds the timer is 4, look at the logic I provided and notice the increment step.



HTH, please rate all useful posts!


Chris

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.5 (2 ratings)
Loading.
Chris Deren Sat, 10/18/2008 - 07:05
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,
  • Cisco Designated VIP,

    2017 IP Telephony, Contact Center, Unified Communications

You can track the time by look counters, so assume your queue logic looks like this:


queue

play prompt (10 sec long)

hold

wait 30 sec

unhold

goto queue


you can create a new varaible intQueueTime, and change your logic to following


queue

if intQueueTime >= 4 then

goto VM

else

play prompt (10 sec long)

hold

wait 30 sec

unhold

increment intQueueTime

goto queue


HTH,


Chris

daljeetsingh1_2 Sat, 10/18/2008 - 07:41
User Badges:

Thanks Chris,

But how will i calculate the first wait time? i mean intQueuetime? isnt it by Get reporting stats?


How intQueuetime will check first If i.e "if intQueueTime >= 4 then" shall i pass it in value?,? and forget about calculate the system wait time using Get Reporting Stat node? any inputs?

Correct Answer
Chris Deren Sat, 10/18/2008 - 08:16
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,
  • Cisco Designated VIP,

    2017 IP Telephony, Contact Center, Unified Communications

the intQueueTime is just a varaible, it's initally 0, as you go through the look it increments by 1, then when it reaches 120 seconds the timer is 4, look at the logic I provided and notice the increment step.



HTH, please rate all useful posts!


Chris

daljeetsingh1_2 Sun, 10/19/2008 - 07:24
User Badges:

Yeah sounds good, lemme give it a try tomorrow morning and will give you the feedback.


One more thing, after calculating intQueueueTime variable, say for 3 times if its greater than 3 than send to VM.

When i send this to VM, if timed out i have goto to go to hold music.... i am using the menu node, and menu option is very annoying when it times out or unsuccessfull it says "are u still there" or "please try again" and than play the prompt of the menu node, although i have mentioned time out input as '0', it go to the menu prompt twice,and then executes goto step.


Any thoughts on this? or shall i use some other node? though i know very less of get digit string, i believe get digit string will help me.., if i use get digit string step. than can you help me in making the logic out of it.


I will appreciate..

Chris Deren Sun, 10/19/2008 - 15:45
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,
  • Cisco Designated VIP,

    2017 IP Telephony, Contact Center, Unified Communications

To elimiate the annoying retry prompt, on the menu step under Input tab chnage the Max Retries setting to 0, this way it will not play the prompt.

Get digits step behaves the same way.


HTH, please rate all useful posts!


Chris


daljeetsingh1_2 Sun, 10/19/2008 - 23:00
User Badges:

I've tried putting 0, but it behaves the same way. any thoughts?. Also if i want menu to be played three times atleast than what to do?

Chris Deren Mon, 10/20/2008 - 05:05
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,
  • Cisco Designated VIP,

    2017 IP Telephony, Contact Center, Unified Communications

To play it 3 times create your own logic with loop, i.e.


LOOP

if intCounter > 3

true

goto VM

false

menu

1. xxxx

2. xxxx

timout/unsuccessful

increment intCounter

goto LOOP



Chris

Actions

This Discussion