Get name of available extensions from queue

Status
Not open for further replies.

Guidm

Platinum Partner
Advanced Certified
Joined
Jul 7, 2020
Messages
14
Reaction score
1
Hello.

I have a doubt if it is possible to do it in CFD. I would like to know if it is possible to obtain the name of the extension that is available in the queue before passing the call.
 
Might be possible using a combination of the GetQueueExtensions (the ExtensionList property) and the GetExtensionStatus.IsInCall. Filter the first list by the second one and you'll get a somewhat precise list of available agents.

However, if you have more than 1, there's no way to determine which one will get the call after the CFD sends it to the queue. You'd need to send the caller directly to the agent's extension that you chose from the filtered list.
 
For me, it's returning only this: System.Collections.Generic.List1[TCX.Configuration.Extension]`.
 
For me, it's returning only this: System.Collections.Generic.List1[TCX.Configuration.Extension]`.
Because it's an object List<Extension> which you need to use in a C# script, along with the second component info, to then filter out that list. Google "c# collections list iterate" and you'll get somewhere. GPT can also help you.
 
  • Like
Reactions: VoIPTools
Status
Not open for further replies.

Forum statistics

Threads
111,911
Messages
589,698
Members
164,779
Latest member
affinity123