- Joined
- Nov 3, 2017
- Messages
- 2
- Reaction score
- 0
Wondering if someone can help me out with this issue (apologies in advance if this is not the right forum category).
I'm using the CallControl API and am trying to get the login state for each QueueMember in a given Queue. Problem being, whenever I call to get the QueueStatus of a given QueueMember, it ALWAYS returns QueueStatusType.LoggedIn. Here is a sample output of my program. Below that will be a snippet of code of what is triggering this.
[QUEUE MEMBER] Support; DN: Ext.2100 xxxxxxxxx; QueueStatus: LoggedIn
[QUEUE MEMBER] Support 2; DN: Ext.3103 xxxxxxxxx; QueueStatus: LoggedIn
Can anyone confirm this is definitely a glitch/issue with the API? If you've experienced it and have a work around or an idea for me?
I'm using the CallControl API and am trying to get the login state for each QueueMember in a given Queue. Problem being, whenever I call to get the QueueStatus of a given QueueMember, it ALWAYS returns QueueStatusType.LoggedIn. Here is a sample output of my program. Below that will be a snippet of code of what is triggering this.
[QUEUE MEMBER] Support; DN: Ext.2100 xxxxxxxxx; QueueStatus: LoggedIn
[QUEUE MEMBER] Support 2; DN: Ext.3103 xxxxxxxxx; QueueStatus: LoggedIn
Code:
foreach (Queue q in PhoneSystem.Root.GetQueues())
{
foreach (QueueAgent g in q.QueueAgents)
{
System.Console.WriteLine("[QUEUE MEMBER] " + q.Name + "; DN: " + g.DN + "; QueueStatus: " + g.QueueStatus.ToString());
}
}
Can anyone confirm this is definitely a glitch/issue with the API? If you've experienced it and have a work around or an idea for me?