Get caller number through URL using GET command

  • 2
  • Article
  • Updated 3 years ago
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 ?
http://tbmslive.com/demo/mydbaccess.php?callerid=%telephone

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.

Regards
Photo of shan

shan

  • 90 Points 75 badge 2x thumb

Posted 3 years ago

  • 2
Photo of Benjamin Dean

Benjamin Dean

  • 8,602 Points 5k badge 2x thumb
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.
Photo of John Wang

John Wang, Official Rep

  • 4,798 Points 4k badge 2x thumb
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:

http://netstorage.ringcentral.com/guides/rc_for_desktop_user_guide.pdf

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.
(Edited)