I am not familiar with call center. Is a call center rep in charge of multiple call center agents?
For C# SDK to monitor all the notifications for all the extensions, please check the doc here:
http://ringcentral-csharp.readthedocs.io/en/latest/usage/notifications/Subscriptions/ and scroll down to the bottom.
Once your application get the notifications, you can filter them and do whatever to them based on your needs.
Hello Tyler,
Thanks for the reply. I checked the above link but still i have question.
Consider i have 20 call center agents using the ring central desktop app. whenever they dial or receive a call will it be possible to receive the notifications on a single app which has subscribed for all the agents , i know a filtering would be needed based on extension id but would just like to be sure on this.
Thanks.
Yes it is possible. You just setup subscription for all the 20 extensions and you will get notifications on a single app. And in order to monitor all the extensions, you might need to authorize your app with the admin account. Any more question please reply.
thanks for the answer, i just need to get the list of all the extensions and then subscribe them from my app thereafter i will start receiving the notifications for all the extensions on the same app correct?
Yes, all within the same application.
thanks for the reply it is really helpful.
Now i am trying to subscribe for multiple extensions, i am using the below code but it is not working, am i doing something wrong . Is there another way to subscribe for multiple extensions in c#. i have just pasted the line where i am adding the filter as rest of the code is well known by you guys. Please help.
subscription.EventFilters.Add("[/restapi/v1.0/account/~/extension/138705004/presence. " + "/restapi/v1.0/account/~/extension/138797004/presence]");
You need to escape the double quotes properly, and use a comma to separate array elements in JSON.
Try using this instead:
"["/restapi/v1.0/account/~/extension/138705004/presence","/restapi/v1.0/account/~/extension/138797004/presence"]"
If that doesn't work, please share the response (with headers) you are receiving.
Let me know if the above change resolves the problem.
Please post your question here:
https://github.com/ringcentral/ringcentral-csharp/issues since it if about the C# programming language.
EventFilters is List<string> so you just add the two items in your code sample one by one.
Please read this thread
https://github.com/ringcentral/ringcentral-csharp/issues/54Scroll down to the bottom and there is a fully working demo with detailed instructions.