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 to get Incoming call information like phone number of the person called and the extension it was answered?
Tags: getting started
Aug 22, 2017 at 7:21am   •   1 replies  •  0 likes
dev-juiced

Hello ,


We are new to RingCentral. We are trying to get incoming call information with the extension the call is answered immediately (real time). We need a push notification or a trigger. That sends information to a particular URL.


How can we achieve this? We use .Net .


If it can be achieved through webhook. Where can I find a sample to create a webhook.


Any help is appreciated.


Thanks

1 Answer
answered on Aug 22, 2017 at 10:18am  
To get real-time, incoming call information, you should make a subscription with the presence event filter:

/restapi/v1.0/account/~/extension/~/presence?detailedTelephonyState=true

You can get more information on this here:

https://developer.ringcentral.com/api-docs/latest/index.html#!#RefNotifications.html

For C#, we have a PubNub subscription example:

https://github.com/ringcentral/ringcentral-csharp-client#subscription

For webhooks, we have some examples in JS and PHP:

* JS: https://github.com/grokify/ringcentral-demos-webhooks
* PHP (via Botman): https://github.com/ringcentral/glip-botman/blob/master/index.php

Try it out in C#.

 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