I would like to get caller name and other details for incoming call in
RingCentral. Till now, I am able to get incoming call details using DetailedTelephonyState
event but this does not provide the caller name it only gives the calling number.
Thanks in advance...
This information isn't in the event at the moment. You can see the definition in the OpenAPI 2.0 spec here in the
ActiveCallInfo
definition which is included in theDetailedExtensionPresenceWithSIPEvent
definitio. I've included the relevant excerpt below.If you want this information in real-time, you may need to do a lookup via (a) user's RingCentral personal address book, (b) account's RingCentral company address book, (c) your CRM/helpdesk app, or (d) a third-party Caller-Id (CNAM) API.
To see if we can add this to the event as an enhancement, please contact me at my email address on my profile page.
ActiveCallInfo
Definition