Bug 407666 - Dial phone number with tel:// and sms:// via xdg
Summary: Dial phone number with tel:// and sms:// via xdg
Status: REPORTED
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-17 21:18 UTC by John Scott
Modified: 2025-03-20 19:58 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Scott 2019-05-17 21:18:34 UTC
Support for dialing phone numbers from contacts is handled in the Configure dialog, choosing a program such as Ekiga or Skype. With KDE Connect's tel:// URL handler, most programs on my system can tell my phone to dial a number this way without extra configuration, including Firefox and Okular.

KAddressBook is an exception, because it seems to require its own configuration for setting how to dial a number instead of using the mechanism these other programs utilize.
Comment 1 eemantsal 2019-07-04 19:44:27 UTC
Yes, would be nice to have Kaddressbook better integrated with KDE Connect. 
Among the actual options in the contact options, in Kaddressbook's actions (the first section, I don't know if it is "Contact options" exactly in english) regarding the phone numbers, besides ekiga ans Skype a new option "Dial via KDE Connect" or just "KDE Connect" would be a plus. The simple command "kdeconnect-handler tel:%n" does the trick and sends the number in question to your phone's dial app just like when you click a tel:// link in Firefox.
Comment 2 eemantsal 2019-07-04 19:45:18 UTC
(In reply to eemantsal from comment #1)
> Yes, would be nice to have Kaddressbook better integrated with KDE Connect. 
> Among the actual options in the contact options, in Kaddressbook's actions
> (the first section, I don't know if it is "Contact options" exactly in
> english) regarding the phone numbers, besides ekiga ans Skype a new option
> "Dial via KDE Connect" or just "KDE Connect" would be a plus. The simple
> command "kdeconnect-handler tel:%n" does the trick and sends the number in
> question to your phone's dial app just like when you click a tel:// link in
> Firefox.

Sorry, "present" no "actual options".
Comment 3 Muhammadhussein Ammari 2025-03-20 19:58:14 UTC
On Windows, you can try this:

```reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Classes\tel]
"URL Protocol"=""
@="URL:TEL Protocol"

[HKEY_CURRENT_USER\Software\Classes\sms]
"URL Protocol"=""
@="URL:SMS Protocol"

[HKEY_CURRENT_USER\Software\Classes\KDEConnectURL.tel\DefaultIcon]
@="C:\\Windows\\System32\\imageres.dll,42"

[HKEY_CURRENT_USER\Software\Classes\KDEConnectURL.tel\shell\open\command]
@="\"C:\\Users\\user\\AppData\\Local\\Programs\\KDE Connect\\bin\\kdeconnect-handler.exe\" %1"

[HKEY_CURRENT_USER\Software\Classes\KDEConnectURL.sms\DefaultIcon]
@="C:\\Windows\\System32\\imageres.dll,42"

[HKEY_CURRENT_USER\Software\Classes\KDEConnectURL.sms\shell\open\command]
@="\"C:\\Users\\user\\AppData\\Local\\Programs\\KDE Connect\\bin\\kdeconnect-handler.exe\" %1"

[HKEY_CURRENT_USER\Software\KDEConnect\Capabilities]
"ApplicationDescription"="Transfer data between devices"
"ApplicationIcon"="C:\\Windows\\System32\\imageres.dll,42"
"ApplicationName"="KDE Connect"

[HKEY_CURRENT_USER\Software\KDEConnect\Capabilities\URLAssociations]
"tel"="KDEConnectURL.tel"
"sms"="KDEConnectURL.sms"

[HKEY_CURRENT_USER\Software\RegisteredApplications]
"KDEConnect"="Software\\KDEConnect\\Capabilities"

[HKEY_CURRENT_USER\Software\Classes\Applications\kdeconnect-handler.exe]
"FriendlyAppName"="KDE Connect"

[HKEY_CURRENT_USER\Software\Classes\Applications\kdeconnect-handler.exe\DefaultIcon]
@="C:\\Windows\\System32\\imageres.dll,42"
```