cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
137
Views
0
Helpful
3
Replies

Cherry pick call from contact service queue

Phill Johntony
Level 1
Level 1

I have a use case for supervisors who are in a not ready state to be able to see calls in the queue and answer them.

Is there way to accept a queued call via the API or Desktop SDK?

I've tried with the Accept Task API but it doesn't work and the doc doesn't mention telephony task in the description.

Access this endpoint when the user has to accept either an inbound or an outbound requests. The request can be social, a chat or an email.

The Desktop SDK has a Desktop.agentContact.accept() method but the docs state it is for non-voice tasks.

Note: This method works only for non-voice tasks and isn't applicable for voice contacts.

3 Replies 3

sandiban
Cisco Employee
Cisco Employee

Hi @Phill Johntony,

Thanks for your patience so far!
So, if a item is already in queue - then definitely it has a Task got created already.
Now why that task is under queued list, because the task has not been accepted by an agent so far.

Now as you already mentioned, Accept Task API won't do the job here since it only checks for the task types of Social, chat or email.
Rather you should go for Consult Accept Task API to get a telephony call accepted by an agent by using the "taskId".
Let us know how it goes or, in case you've some further queries.

Regards!
Sandip

@sandiban thanks for the reply.

The Consult Accept Task API just responds with a 202 Accepted and nothing happens.

So I tried the Consult Task API to consult the queued call to an agent and the responds with a 202, you can see the call come into the agent desktop for a second but then you get an error.

PhillJohntony_0-1732197258371.png

 

@Phill Johntony, no I don't think the "queueId" would help here.
You have to provide the "taskId" actually in this API request.
Do you see the corresponding taskId for that queued call anyway?