Can i use phone api in PHP?
If you are referring to the Windows TAPI interface , take a look at the w32api PHP extension , which allows you to call Win32 API functions from PHP.
a source to share
It should be possible. However, there are a few caveats.
Php is platform independent but phone is apient. For example, TAPI (phone windows api) is COM based and will not work on Linux. There is probably also a phone api on linux.
For TAPI programming in PHP you can have a look here:
http://uk3.php.net/com for information on using COM api in PHP http://en.wikipedia.org/wiki/Telephony_Application_Programming_Interface information on TAPI
a source to share
Twilio is a web service that you can control from any language that can be hosted on a web server, including PHP. The question is unclear, but if you want to handle incoming and outgoing phone calls, they are a good solution.
Tropo is a similar service that also works with PHP; slightly different model, but still very easy to implement.
a source to share