Habe das nie ordentlich für alles gemacht (und vor allem nicht dokumentiert), weil ich es selbst nicht benutze, ist aber sehr einfach mit Automator (Bestandteil von macOS) umzusetzen.
Neuen Dienst erstellen, Telefonnummern in jedem Programm, Eingabe 1: nur Telefonnummern
Dann müsste das AppleSkript für das Adressbuch angepasst werden, siehe hier für Aastra (weil ich das selbst benutze):
Code:
[COLOR=#942192][FONT=Menlo]
[/FONT][/COLOR]
[COLOR=#942192][FONT=Menlo]
[/FONT][/COLOR]
[COLOR=#942192][FONT=Menlo]property phoneURL : "http://192.168.xx.xx"[/FONT][/COLOR]
[COLOR=#942192][FONT=Menlo]on run {input, parameters}[/FONT][/COLOR]
[COLOR=#942192][FONT=Menlo] [/FONT][/COLOR]
[COLOR=#942192][FONT=Menlo] set theNumber to filter(input as text)[/FONT][/COLOR]
[COLOR=#942192][FONT=Menlo] do shell script "curl -d xml=\"<AastraIPPhoneExecute><ExecuteItem URI=\\\"Dial:" & theNumber & "\\\"/></AastraIPPhoneExecute>\" " & phoneURL[/FONT][/COLOR]
[COLOR=#942192][FONT=Menlo] [/FONT][/COLOR]
[COLOR=#942192][FONT=Menlo] [/FONT][/COLOR]
[COLOR=#942192][FONT=Menlo] return input[/FONT][/COLOR]
[COLOR=#942192][FONT=Menlo]end run[/FONT][/COLOR]
[COLOR=#942192][FONT=Menlo]
[/FONT][/COLOR]
[COLOR=#942192][FONT=Menlo]on filter(theNumber)[/FONT][/COLOR]
[COLOR=#942192][FONT=Menlo] set newNumber to ""[/FONT][/COLOR]
[COLOR=#942192][FONT=Menlo] repeat with c in every character of theNumber[/FONT][/COLOR]
[COLOR=#942192][FONT=Menlo] if "+01234567890" contains c then[/FONT][/COLOR]
[COLOR=#942192][FONT=Menlo] set newNumber to newNumber & c[/FONT][/COLOR]
[COLOR=#942192][FONT=Menlo] --display dialog newNumber[/FONT][/COLOR]
[COLOR=#942192][FONT=Menlo] end if[/FONT][/COLOR]
[COLOR=#942192][FONT=Menlo] end repeat[/FONT][/COLOR]
[COLOR=#942192][FONT=Menlo] if newNumber contains "+49" then[/FONT][/COLOR]
[COLOR=#942192][FONT=Menlo] set newNumber to "0" & text 4 through -1 of newNumber[/FONT][/COLOR]
[COLOR=#942192][FONT=Menlo] end if[/FONT][/COLOR]
[COLOR=#942192][FONT=Menlo] if character 1 of newNumber is equal to "+" then set newNumber to "00" & text 2 through -1 of newNumber[/FONT][/COLOR]
[COLOR=#942192][FONT=Menlo] [/FONT][/COLOR]
[COLOR=#942192][FONT=Menlo] return newNumber[/FONT][/COLOR]
[COLOR=#942192][FONT=Menlo]end filter
[/FONT][/COLOR]
Das ganze dann in ~/Library/Services legen (sollte Automator automatisch machen).
Über Systemeinstellungen -> Tastatur -> Kurzbefehle kann man sogar einen Shortcut zuweisen. Ansonsten z.B. in Safari eine Telefonnummer markieren, Rechtsklick und dann unter Dienste.
Für eigene webbasierte Systeme könnte man noch etwas bauen womit man z.B. auf tel:012345 oder call:012345 Links in Webseiten reagieren kann. Das ist aber umständlicher.