Starting AppleScript/sh with incoming call #44

Open
forkthemall opened this Issue Jan 31, 2012 · 2 comments

Projects

None yet

2 participants

@forkthemall

When incoming call occurs, let be started the Apple Script (or sh script?), which can be defined in the application settings. This will considerably enlarge the functionality of application during the integrating with the CRM systems.

Transmiting callerID into the script this is a good idea.

@forkthemall

For launching script we need to execute shell command from Telephone.app like

osascript /some/path/crm-routine.scpt +79184661740

Then in crm-routine.scpt we can receive callerID from command line parameter:

on run argv
set CallerID to (item 1 of argv)
-- some actions with callerID
end run

Probably, this example on the StackOverflow will seem useful for you:
http://stackoverflow.com/questions/1475182/cocoa-objective-c-shell-command-line-execution

@fulldecent

Hello, there have been several releases of Telephone since this issue was created. Could you please download and run the latest version to confirm this issue still exists.

Sorry for the template response, just trying to clean up and close old issues here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment