News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Push notification in a single application for all the subscribed extensions
Tags: sdk
Aug 31, 2016 at 12:50pm   •   9 replies  •  0 likes
z-admin

Hello Team,


I have a simple application that would run on the server. I would like to achieve the below using this application.


  1. Subscribe for all the extensions using the single account
  2. Once subscribed I would like to receive the notifications(call) for each extension on this application
  3. I would then like to filter each notification based on the extension number and accordingly send the call details using my software on the call center rep's desktop.
  4. So basically RingCentral's desktop app will run on every agent's desktop but my notification application will run only on one server where it should be able to receive all the call notifications .
  5. After the above I would send the call details received from the notification app to my CRM web app running on the call center rep's machine.

I hope the above is clear, the whole idea is to make call center representatives

receive the call notifications in real time without running the subscription apps on their respective machines.


I am using C# SDK.


Please let me know if the above is possible to do, if yes then how can we achieve it using the C# SDK.


Thanks.

9 Answers
answered on Sep 4, 2016 at 8:19pm  
Please read this thread https://github.com/ringcentral/ringcentral-csharp/issues/54

Scroll down to the bottom and there is a fully working demo with detailed instructions.

 0
answered on Sep 4, 2016 at 8:06am  
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.

 0
answered on Sep 2, 2016 at 11:43am  
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.

 0
answered on Sep 2, 2016 at 11:36am  
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]");



 0
answered on Sep 1, 2016 at 1:02pm  
Yes, all within the same application.

 0
answered on Sep 1, 2016 at 6:50am  
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?

 0
answered on Sep 1, 2016 at 5:33am  
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.

 0
answered on Sep 1, 2016 at 12:14am  
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.

 0
answered on Aug 31, 2016 at 5:57pm  
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.

 0



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

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us