How to make a call to Telephone by TAPI?

1.9k views Asked by At

I need to design an API that enables phone number, when clicked, make a call via TAPI system. How should it be achieved via Programming?

I am using CakePHP application. Also, the user needs to enable Call in Desktops, mobile and Tablets. Is there any apis available for such Interfacing?

I tried using:

<a href="tel:8005550199">Call 800-555-0199</a>

But I got the following error in firefox:

The address wasn't understood

Firefox doesn't know how to open this address, because one of the following protocols (tel) isn't associated with any program or is not allowed in this context.
1

There are 1 answers

4
AudioBubble On

You can't.

TAPI is not an applicable technology here. It is only available to Windows desktop applications, and can only be used there to control voice modems and PBX systems. As such, it is not usable even on most Windows desktop systems, as they are not connected to the appropriate phone hardware. It is certainly not usable in a web page, or in a CakePHP application.

The only generally available way to initiate a telephone call from a web page is by creating a tel: link, e.g.

<a href="tel:8005550199">Call 800-555-0199</a>

Keep in mind that this will still only work on devices that have some sort of access to the telephone network, either directly, e.g. on cell phones, or indirectly, e.g. via Skype or other VOIP applications.