hi all
i need to know how can i connect telephone using php languages
hi all
i need to know how can i connect telephone using php languages
AFAIK you cannot use php to connect through telephone lines. PHP is a scripting language. You can try out Asterisk. There are questions about Asterisk dev in SO
I'd probably go with Erlang for this kind of stuff, since that is what the language originated from.
Php theoretically provides the necessary features for that, but I don't know any library implementing any VOIP protocols. And I really doubt you want to do that: PHP has a veery slow interpreter and the language was not designed for that kind of things.
If you refer to the Windows "TAPI" interface, have a look at the w32api PHP extension, which allows to call Win32 API functions from PHP.
It should be possible. There are a couple of caveats though.
Php is platform independent but telephone api's arent. For example TAPI (the windows telephone api) is COM based and won't work on linux. There is probably a telephone api on linux too.
For TAPI programming in PHP you can look here:
http://uk3.php.net/com for information on using COM api's in PHP http://en.wikipedia.org/wiki/Telephony_Application_Programming_Interface information about TAPI
Twilio is a web service that you can control with any language that you can host 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 works with PHP too; slightly different model but still very easy to implement.