Telephone icon indicating copy to clipboard operation
Telephone copied to clipboard

Initiate calls via command line arguments?

Open j-dimension opened this issue 3 years ago • 1 comments

Hi,

is there an option to initiate a call with Telephone using command line arguments (with the target phone number being one argument)

Thanks, Jens

j-dimension avatar Apr 11 '21 19:04 j-dimension

Yes, it is. Telephone can be set as the handler for tel: URLs. This can be done by selecting it as "Standard for calls" in FaceTime preferences. When a tel: URL is being opened, the OS should activate Telephone and pass the URL to it. Here's how one can open a URL from Terminal:

open tel:1234567890

Note that tel: URLs don't have slashes.

eofster avatar Jun 30 '21 20:06 eofster