Average wait time for chat should be exact 5 minutes

Vikram3
Giga Guru

I have gone through many threads and came to know that the only possibility to change 'Average wait time' for chat is modifying the BR in chat_queue_entry table. But I am not sure where to modify. I have tried changing line number 35.

gr.average_wait_time.setDateNumericValue(300);

But nothing worked.

find_real_file.png

Please assist.

1 ACCEPTED SOLUTION

Rohit Kaintura
Mega Guru

You can set this BR false and set average wait time in chat_queue table to 5 minutes which will be then remain static and will not change.

 

Please mark my answer correct and helpful if my answer helped u. Thank you.

View solution in original post

8 REPLIES 8

Rohit Kaintura
Mega Guru

You can set this BR false and set average wait time in chat_queue table to 5 minutes which will be then remain static and will not change.

 

Please mark my answer correct and helpful if my answer helped u. Thank you.

Thanks for the quick reply. Will there be any impact if this BR set to inactive. Because condition for this BR is current.action.changesTo('accepted')

Please advise..

 

This BR is only for average wait time. I have checked the code. Its only updating average wait time for the particular queue.

What you can do here is put a filter like queue is not equal to yours so that it will not run for your queue only and doesnot effect other queues.

 

Please mark my answer correct and helpful if my answer helped u. Thank you.

Thanks. I just tried your 1st approach as deactivating it and change in chat_queue table. But after five minutes chat session is not ending. It is idle. It only displays on top as 'Average wait time - 5 min'

It is not working as expected. Any other changes do I have to make?