shan109 avatar image
shan109 posted John Wang Deactivated commented

Get caller number through URL using GET command

Is it possible when ever our company receive a call, we get following URL fired up and with telephone number sent in the [telephone] parameter ?

Above is common process with other companies, our system is PHP/Mysql developed CRM system and only need a caller number in a particular table to carry on with the caller id process.

Thank you for helping us out.


1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

John Wang avatar image John Wang ♦♦ commented ·
A common way to do this without programming is to install and configure the RingCentral for Desktop app for dialing purposes. The Desktop app has a configuration to launch an external application on an incoming call and will except a URL pattern that can include the Caller ID to be passed to the application.

You can read more about this in our RingCentral for Desktop User Guide here:

Open this document and go to page 28 "Personalize RingCentral Desktop" or search for "external app".

Then you just need to be logged in to receive the call which will automatically launch your CRM webpage with the caller id parameter populated.

Another method with tighter integration (as described in the presence link posted by Benjamin) is to have your code subscribe to certain extensions and listen for presence events and then open the correct URL by extracting the caller id from the call event and opening the correct browser window.
1 Like 1 ·
benjamin-dean avatar image benjamin-dean commented ·
Our awesome developer support engineering team spent some time on your question today and determined that it is possible to obtain the inbound presence (call id and more) for all extensions on an account. Your app could then proxy a GET request in the format you requested above (or digest internally).

We've outlined the process for setting this up in this article "Subscribing to presence events of multiple extensions using the RCSDK"

Please try this out in your application and let us know if it works or if you encounter any issues.
0 Likes 0 ·

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys



Mary-Community_Moderator contributed to this article shan contributed to this article