mkoya | 2021-08-02 05:30:31 UTC | #1
I have ever got Call Infomation by "v2.users.{id}.conversations" topic. so diverting that Class and changed a topic to "v2.routing.queues.{id}.conversations". did set the value obtained by method User.getDivision().getId() method to {id}. However not called onEvent method.
How can get Call info use by "v2.routing.queues.{id}.conversations" topic?
Jerome.Saint-Marc | 2021-08-03 06:38:03 UTC | #2
Hello,
The v2.routing.queues.{id}.conversations topic is about monitoring conversations which go through an ACD Queue. So the {id} must be replaced with the id of the Queue (Queue.getId()).
If you need an example on how to retrieve queues, you can have a look at the Routing Queue Membership Notifications tutorial. The example is not about "v2.routing.queues.{id}.conversations" notification topic. But the beginning of the tutorial shows the use of GetRoutingQueuesRequest and routingApi.getRoutingQueues to retrieve a list of queues (the request can also be leveraged to retrieve a Queue based on its name - getRoutingQueuesRequest.setName(yourqueuename)).
As an additional comment, with v2.routing.queues.{id}.conversations topic, you will receive events about a conversation as soon as the conversation reaches the ACD Queue (the one specified by its id in v2.routing.queues.{id}.conversations), and you will continue to receive events about this conversation until it is ended/terminated. I mean that even when the conversation "leaves" the queue, and is delivered to a Contact Center Agent, you will continue to receive events.
Regards,
mkoya | 2021-08-03 06:44:00 UTC | #3
Thank you, my issue has been solved.
system | 2021-09-03 06:44:22 UTC | #4
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 11639