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
Best way to retrieve active calls without making request each second?
Tags: phone
Nov 14, 2017 at 12:58pm   •   6 replies  •  0 likes
jeff-secord

We need to create a monitor that will show any income calls in our extranet in live time.

We were able to show active calls by using "/account/~/extension/~/active-calls", however, to achieve what we need we would need to make a request each second which I guess will be blocked by rate limits.

Is there a better solution for it?

Thanks

6 Answers
answered on Nov 14, 2017 at 2:54pm  
Thanks, I can see the permission.

Now it shows: [SubscriptionWebhook] application permission is required for [WebHook]

 0
answered on Nov 14, 2017 at 2:33pm  
Added the permission. Please make sure you test the permission in sandbox environment first. 

 1
answered on Nov 14, 2017 at 1:52pm  
Following the path you mentioned it shows: Information is not editable after you have applied for production. 

I guess its because my app is already in production.

No worries about the path, I'm using correctly, only for the post I replaced with "~".

Could you please add it for us? App name: "StripCurtains Extranet with message"

 0
answered on Nov 14, 2017 at 1:49pm  
You would need to add the permission [ReadPresence] on your application. To add the permission kindly login to https://developer.ringcentral.com using your Developer Account or Main Company number credentials and navigate to:

App-> Settings -> Under OAuth Settings -> Permissions Needed -> Add [ReadPresence] permission

Also, please note that the event filter you have provided above looks incorrect. You are supposed to pass in the extension number for the particular extension you wish to set up push notification for. 

You can look at Get Extension API endpoint for more information :
GET /restapi/v1.0/account/{accountId}/extension

https://developer.ringcentral.com/api-explorer/latest/index.html#/!/Company_Contacts/listExtensions

If you are unable to add the permission, kindly provide the app name and I can add the permission on your app. 

 0
answered on Nov 14, 2017 at 1:38pm  
I've tried to created a subscription, however, that's what I'm getting back: [ReadPresence] application permission is required for the following event filter: [/restapi/v1.0/account/~/extension/~/presence]

 0
answered on Nov 14, 2017 at 1:31pm  
Jeff,

You can setup Subscription using RingCentral API's and receive push notifications on inbound/outbound calling activity. 

Kindly take a look at our previously answered developer community article here for more information:
Using Push notifications on RingCentral

- AK

 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