I was doing a WAP application (not entirely the truth – I was doing a WEB site with a layout that matches the small screen on a mobile phone) for a customer.
The application is a simple integration to their contacts database. My customer then asks: “Isn’t it possible to make the phone numbers linkable so when I click them, my phone automatically rings up the selected number?”
The answer is: Yes you can. And it’s pretty simple. And it works both on my old Nokia 6021 and on the new IPhone. In fact, any phone conforming to the WTAI (Wireless Applicaton Protocol Interface) can use this.
This is a link to a phone number:
<a href="wtai://wp/mc;+4533743330">Call Pentia A/S</a>
The prefix wtai://wp/mc; WAP-enables the link so you can click on it.
There are other prefixes available:
- wtai://wp/mc; – Dial number
- wtai://wp/ap; – Put number in your contacts list
- wtai://wp/sd; – Send DTMF sequence trough voice call. For example wtai://wp/sd;555*1234