Closed Bug 468182 Opened 16 years ago Closed 12 years ago

Fix the order of chat offers, with older chats given priority

Categories

(support.mozilla.org Graveyard :: Chat, defect)

defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: zzxc, Assigned: zzxc)

References

Details

Chats are currently offered to agents in random order.  When an agent sets available, the order of chats should be:
1) Any chats with the user's nickname or JID as the "Preferred helper"
2) Chats offered in chronological order, oldest first, not including chats rejected in the past 2 minutes
3) Chats rejected in the past 2 minutes

This will reduce the need for helpers to reject newer chats to get to older ones and make the process of following up via 'preferred helper' quicker.  The order above should be followed any time the agent is available to take chats.  This includes every time the user sets available and every time the user's chat count drops below max-chats.
For reference sake, I don't believe it's random. Let's say there are 5 chats in the queue, chat 1, chat 2, chat 3, chat 4 and chat 5 where chat 1 has been waiting the longest and chat 5 has just entered the queue.

The server seems to offer the next chat in numerical order than it offered previously.

So if it offers chat 1 to helper A, and helper A rejects it, it then offers chat 2 to helper A. If helper B signs on it will then offer chat 3 to helper B. If helper A has been offered chat 4 in the mean time it will then offer chat 5 to helper B. Then it will start again from the beginning.
Target Milestone: 0.9 → 0.8.2
Target Milestone: 0.8.2 → 0.9
Target Milestone: 0.9 → 1.0
Target Milestone: 0.9.5 → 1.0
we missied 1.0 so remilestoneing to future
Target Milestone: 1.0 → Future
Blocks: 495308
The current chat dispatching behavior seems to be causing Openfire to freeze occasionally (bug 495308), so I'm adding this bug to the next release.
Severity: normal → critical
Target Milestone: Future → 1.3
Target Milestone: 1.3 → 1.5
Target Milestone: 1.5 → 1.4.2
I'm WONTFIXing this, since we don't have Live Chat at the moment and even if we decide to have one in the future it would be using different technology.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Product: support.mozilla.org → support.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.