Telephone icon indicating copy to clipboard operation
Telephone copied to clipboard

Run command on call received

Open fulldecent opened this issue 7 years ago • 10 comments

Here is the new feature:

screen shot 2018-06-13 at 12 18 42 pm

I don't know if running a command line is better or running an Apple Script makes more sense. Either way I can figure out how to use it.


This will enable all kinds of fun things. But here is how I would use it:

On each incoming phone call my script would open a web browser to https://myserver/?phone=FROM

and this would load all the customer details on the screen before I even start talking.


Other potential uses cases:

  • Save call information to a log somewhere
  • Pause video or mute something on incoming call
  • Open up a prefilled post-call survey / follow-up form when you make a call
  • Send a text message to somebody when you are online

fulldecent avatar Jun 13 '18 17:06 fulldecent

I plan to add this after the next release. I haven’t thought about the details yet, but it’s in the direction of adding flexible integration with other systems by running scripts at certain points in time.

eofster avatar Jun 13 '18 21:06 eofster

This is very interesting. The format doesn't really matter (it could be an URL request, an terminal command, AppleScript, etc), although I would personally prefer an URL request.

Have you done any more thinking around this @eofster?

cjnqt avatar Sep 15 '18 13:09 cjnqt

Ping @eofster Any news about this?

cjnqt avatar Oct 31 '19 16:10 cjnqt

I am leaning towards opening a URL and passing all relevant parameters to it.

eofster avatar Oct 31 '19 17:10 eofster

Great idea! A customizable URL that receives all parameters like a webhook. Would be extremely useful!

cjnqt avatar Nov 01 '19 10:11 cjnqt

I am leaning towards opening a URL and passing all relevant parameters to it.

That would be great, but please consider including the Applescript or keyboard shortcuts too. This would be great for setting presence in other applications, or notifying a time tracking app, changing to a specific workspace, etc. While calling a URL is useful, things I'd want my machine to do shouldn't be pushed off on the user to find/code some kludgy POST solution using Node. From a security perspective, it forces users of the feature to take risks, because let's face it. Few people bother to sanitize their input carefully.

playaspec avatar Jan 11 '20 08:01 playaspec

I just subscribed to the app ❤️ Hope this feature is still planned- ?

luckman212 avatar Mar 21 '20 02:03 luckman212

Yes, it is.

eofster avatar Mar 22 '20 20:03 eofster

For anyone who can't wait... you can watch the following directory for changes:

~/Library/Containers/com.tlphn.Telephone/Data/Library/Application Support/com.tlphn.Telephone/CallHistories/

abhibeckert avatar Jun 02 '21 03:06 abhibeckert

Yes, it is.

Any news about this? It is a potential deal breaker for us using the software.

cjnqt avatar Oct 22 '21 10:10 cjnqt