No, the router doesnt try to route voice-calls to the agents logged in on mail, but when i use the statistic to find "logged in agents" based on the targets fetched from the Vitrual Agent Group, the router thinks that there is agents availble to handle calls to that skill..
E.g:
Agent1 has skills: Invoice, InvoiceMail
Agent2 has skills: Invoice, InvoiceMail
Agent3 has skills: Default
After 7pm, Agent1 and Agent2 logs out from the voice-dn, and Agent1 starts handling mail. He is now the only agent with the Invoice-skill that are logged in.
A call to Invoice arrives, and gets this target list:
VAG_Invoice (Skill Invoice > 0)
VAG_Default (Skill Any > 0)
First we fetch the target-list containing all agents in VAG_Invoice, Agent1 & Agent2.
Then we check if there are any agents logged in in that target list, and yes : Agent1 is logged in (though hes not logged in on Voice-DN)
So, we try to wait for the targetlist Agent1 & Agent2. When Agent1 is ready, he will NOT be selected for the call, since using UseAgentState indicates that possible targets should be ready on voice. The customer will not get to an agent before we use VAG_Default after timing out on VAG_Invoice.
What I would like to accomplice, is that the test for "any logged in agents in target-list?" should concider if the agent are on voice-dn, so if not, we could proceed directly to VAG_Default.