article

benjamin-dean avatar image
benjamin-dean posted Phong Vu commented

How to execute a URL on inbound calls

There are two ways to do this. The easy out-of-the-box way to do this is to use our softphone app which can open a URL upon incoming call. This is documented in our RC for Desktop User Guide (search for "external app"):


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


If you don't want to use the softphone approach, you can write an app (will need to define it in the Developer Portal first) that listens for incoming calls and opens a URL in the browser. This can be either Browser-Based app, a widget (the RingCentral Salesforce app does this) or a standalone app.

getting started
7 comments
1 |3000

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

Julio Toledo avatar image Julio Toledo commented ·
Hi Benjamin,

Is it possible to accomplish the reverse on iOS? For example, will the RingCentral app on iOS accept a URL?

Also, is there no other method (other than writing an app) to execute URLs on inbound calls from your iOS app?
0 Likes 0 ·
zach-binks5680 avatar image zach-binks5680 commented ·
Is there a way to alter this to only search when the call is answered?
0 Likes 0 ·
ak avatar image ak commented ·
Zach,

At the moment due to a limitation, we have the feature available only on call ringing. However, you can create a case with our RC Softphone Team using the support portal and they would be able to provide some updates on it:
https://success.ringcentral.com/RCContactSupp?src=

0 Likes 0 ·
brian-jones11590 avatar image brian-jones11590 commented ·
I think my question is similar to the original post, but I could not find the answer under "external app" in the pdf as noted.

Is there a method for an incoming call to trigger hitting an external URL, passing the calling number and the target number. I don't need this displayed in an app, I just need the trigger to activate external pieces of our own system.
0 Likes 0 ·
Embbnux Ji avatar image Embbnux Ji brian-jones11590 commented ·
Hi, Brian You can try to use RingCentral Embeddable to listen incoming call event.  https://github.com/ringcentral/ringcentral-embeddable  This is a demo to open google search page when got a incoming call  https://ringcentral-web-widget-demos.readthedocs.io/en/latest/salesforce_lightning_more/tutorial/
1 Like 1 ·
arjan-sahota12951 avatar image arjan-sahota12951 commented ·
Any progress on this?
0 Likes 0 ·
Phong Vu avatar image Phong Vu ♦♦ arjan-sahota12951 commented ·
Are you just looking for an event when there is an incoming call to a certain number then trigger whatever action you want to do.

Check out this blog and the example project to see if that would satisfy your need.
https://medium.com/ringcentral-developers/api-spotlight-presence-e9a725f2afa6
https://github.com/PacoVu/presence-monitor-node

Otherwise, do you mind to post your full question in a new thread.

+ Phong
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

Article

Contributors

Mary-Community_Moderator contributed to this article benjamin-dean contributed to this article