1

I'm trying to get click to call to work using Qutecom for a softphone and a Greesemonkey script to turn phone numbers into clickable urls. Whenever I click on the phone number link I get an error message saying the following:

Firefox doesn't know how to open this address, because the protocol (tel) isn't associated with any program.

How would I go about associating Qutecom, or any other softphone, with that link? The Greasemonkey scribt can be found at the link below:

http://userscripts.org/scripts/show/56262

Any help would be greatly appreciated.

Arthur
  • 279

1 Answers1

2

MozillaZine has a page describing how to add new protocol handlers here. On Windows, it looks like it just amounts to a couple minor modifications to the registry. Open Notepad and paste in the following:

REGEDIT4

[HKEY_CLASSES_ROOT\tel]
@="URL:Custom Telephone Protocol for Qutecom VoIP Softphone"
"URL Protocol"=""

[HKEY_CLASSES_ROOT\tel\shell]

[HKEY_CLASSES_ROOT\tel\shell\open]

[HKEY_CLASSES_ROOT\tel\shell\open\command]
@="\"C:\\Program Files\\qutecom\\qutecom.exe\" -c \"call\\%1\"" 

Save the file with a .reg extension (e.g. tel-url.reg). You will need to actually type out the .reg, otherwise Notepad will assume .txt. You can then import these settings into the PC's registry by double-clicking on the file you just created. I don't know if Firefox reads these registry keys directly, or if it depends on Explorer for that, so it's possible that you may need to restart Windows for the change to take effect.

The process for Mac and Linux is different, and involves setting the following preferences in Firefox itself:

  • network.protocol-handler.external.foo
  • network.protocol-handler.app.foo