koler
koler copied to clipboard
[feature] webhook on various call events
I would like to get a notification on my pc when there is an incoming call and don't want to make yet another account for this.
The easiest way to implement that is to have the app make a web request (HTTPS POST) somewhere when a call is received. The user is then free to setup their end to handle it however they see fit (e.g. netcat + shell script).
Example of payload for an incoming call:
{eventName:"INCOMING_CALL",contactName:"John Doe", phoneNumber:"0123456789"}
I suggest to add two settings to this app:
- A text field to specify the target url
- A checkbox group to select what events are to be notified externally (e.g. incoming call, missed call, call ended)
ps. It would be interesting to see if the existing windows 10 facilities from the native android notification bridge could be hijacked for re-use with koler and without a microsoft account
It is seems like work for Tasker
yeah, but having it builtin web event logging api client is way cleaner it's like 4 rows of code vs installing a whole additional app
You should create a socket server and connect with the mobile application. Your socket server listens to events from mobile pp and notifies your web application This way you have 2-way communication and can control calls from your web application.
socket server------------------------->Mobile application /|\ | <------------------------ | | | | | |/ Web application
Yes, my idea was something like that, to mimic AirDroid or PushBullet or Microsoft Android call alert.
and connect with the mobile application
is there an existing facility for this ?