Re: tel: URI for phone numbers
Helge Hess <[email protected]> Thu, 15 Feb 2007 13:49:12 +0100
| Newsgroups | gmane.comp.cms.opengroupware.discuss.general |
|---|---|
| Message-ID | <[email protected]> |
On Feb 14, 2007, at 20:15, Helge Hess wrote: >> e.g. if the phone number is +44 20 7135 7000, the contact list >> would display >> <a href="tel:+442071357000">+44 20 7135 7000</a> > > You should be able to do this using SkyDialNumber: > http://www.opengroupware.org/en/users/docs/snippets/CTI/index.html From an offlist reply: Well, in theory it would be this: Defaults write NSGlobalDomain SkyDirectActionDialer_Link '"tel: $number$"' Defaults write NSGlobalDomain SkyDirectActionDialer_Target '""' But I just noticed that it doesn't work because ':' is URL escaped ... Anyways, I fixed that in trunk (r1878). You can now do: Defaults write NSGlobalDomain SkyDirectActionDialer_Link '"tel: $numberEscaped$"' And escaping is off per default. If you don't want to install trunk for the demo, a workaround would be a small CGI script which you specify as the link and which then does a simple redirect to the tel: URL. Greets, Helge -- Helge Hess http://www.helgehess.eu/ -- OpenGroupware.org Discussion [email protected] http://mail.opengroupware.org/mailman/listinfo/discuss