We are currently subscribed to receive presence change notifications. We are doing this because we want to make sure people are staying within those queues when they are available. Ideally though, we are only monitoring this for a handful of call queues, so I would prefer to only subscribe for that subset of users. As it is, I get everybody's updates and then just have to check and see if they are part of my "monitored queues". Is there a way to limit the subscription and provide additional filters for presence change notifications?
The answer below is super helpful, but I wonder if we could take it a step further? I am interested in monitoring users who are part of specific Call Queues. Since a Call Queue also has an extension, is it possible to get notifications based upon the Call Queue Extension so that anybody who is currently within that Call queue would have their presence notifications sent to us?
Unfortunately, there is no such event notification. But there will be coming a new event notification for call queue presence which apps can get notified when a member turns on/off accept calls via a current call queue or not. It will give something like this
"body":{ "records": [ { "member": { "id": "411753183004" }, "acceptCurrentQueueCalls": true }, { "member": { "id": "411753646416541" }, "acceptCurrentQueueCalls": false } ] }
That's fantastic news! Any ideas when that will be coming out?
I cannot commit to a date. But if there is no delay, then it will be available in a week or so.
You can first read a call queue members, and use the id of each member (which is the user extension id) to create a list of presence notification filters so you will only receive the presence notification of those members. E.g.
// Response from reading a call queue members { ..., "records" : [ { "uri" : "https://platform.devtest.ringcentral.com/restapi/v1.0/account/11111111/extension/11112222", "id" : 11112222, "extensionNumber" : "101" }, { "uri" : "https://platform.devtest.ringcentral.com/restapi/v1.0/account/11111111/extension/11113333", "id" : 11113333, "extensionNumber" : "102" } ], ... } // Create a list of user presence notification filter var evenfilters = [ '/restapi/v1.0/account/~/extension/11112222/presence', '/restapi/v1.0/account/~/extension/11113333/presence', ... ]
A new Community is coming to RingCentral!
Posts are currently read-only as we transition into our new platform.We thank you for your patience
during this downtime.
Try Workflow Builder
Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!Try RingCentral Workflow Builder