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
How do acquire the phone number of an incoming call?
Tags: phone
Jan 9, 2017 at 12:31pm   •   2 replies  •  0 likes
kobie-williams

What api do I use to get a notification of an incoming call on a particular extension with a Json response containing the phone number of the incoming call?

2 Answers
answered on Aug 22, 2017 at 6:34am  
Is there a example to achieve this through asp.net

 0
answered on Jan 10, 2017 at 10:38am  
This is largely going to depend upon "when" you need the data, but to broadly answer your question, you can use either the active-calls or presence for a particular extension.

If you need the data in near-real-time, I would recommend creating a Subscription (Push Notification) or Webhook (also Push Notification) for the Extension(s) you wish to receive this information. Here is a sample application showing how to use RingCentral Subscriptions. Here is a sample application showing how to use RingCentral Webhooks. Here is the documentation for Push Notifications.

If you need the incoming caller's phone number you can also use the active-calls or presence as I listed initially, but the rate limiting on these may restrict your usage of these resources which is why I suggested Subscriptions or Webhooks.

If you need this for analysis, I would recommend using Call-Log, and set the query parameter 'view=Detailed'.

 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