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 caller info (caller ID and called Nr.) from telephony presence events?
Tags: caller id
Jun 23, 2015 at 5:13pm   •   4 replies  •  0 likes
tt

Whenever you want to be able to find out the Caller ID or the number being called during the progress of a call you can use this example:

var subscription = rcsdk.getSubscription();
 subscription.on(subscription.events.notification, function(msg) {
       console.log(msg.body.activeCalls[n].from); // activeCalls is array
        console.log(msg.body.activeCalls[n].to);
   })
    .register({
       events: ['/account/~/extension/~/presence?detailedTelephonyState=true'],
   })
    .then(...);
4 Answers
answered on Jul 13, 2016 at 2:36pm  
If you are using the C# SDK, it is recommended to ask questions pertaining to it using the Github Issue tracker for the associated repository. In the case of the C# SDK, that is here: https://github.com/ringcentral/ringcentral-csharp/issues

 0
answered on Jul 13, 2016 at 1:49am  
Hi,
TT
As I can see there is no such rcsdk.getSubscription(); method found in C# sdk . Am i missing something or Please guide me which SDk i have to use

 0
answered on Jul 13, 2016 at 1:24am  
Hi,
TT
As I can see there is no such rcsdk.getSubscription(); method found in C# sdk . Am i missing something or Please guide me which SDk i have to use

 0
answered on Oct 1, 2015 at 4:01pm  
Please can you provide an example as how I can achieve this via PHP/MySQL system.
Thanks

 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