question

doris-ulysse9699 avatar image
doris-ulysse9699 asked ·

Applescript notice incoming calls

Use AppleScript to detect incoming calls?
aaa
1 |1000 characters needed characters left characters exceeded

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

1 Answer

· Write an 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

Share
1 |1000 characters needed characters left characters exceeded

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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