question

doris-ulysse9699 avatar image
doris-ulysse9699 asked Phong Vu answered

Applescript notice incoming calls

Use AppleScript to detect incoming calls?

integrations
1 |3000

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

1 Answer

Phong Vu avatar image
Phong Vu answered
Hi Doris,

I don't know AppleScript. So I can only guide you to the right RingCentral APIs for getting incoming call alerts. The rest will be you to investigate how to implement an http server with AppleScript for listening to incoming webhook post requests.

You need to call the subscription API and subscribe for presence events to get push notification of presence events. When your app receives an event via webhook, check the  telephonyStatus and if it is in 'Ringing' status, it is an incoming call alert.

Hope this helps,
Phong Vu

1 |3000

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

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