Manage Call from php in web-browser

I must do an application (web application) with the following characteristics:

  • receive calls (I’m using xlite softphone and I want to respond when I click on button in webpage)
  • transfer calls
  • hung up
    How can I do?

Specifically here: …

Or you could use simple ‘.call’ files in Asterisk.

I want to make a web application. I understand phpagi is for making scripts can I run from my pbx not from my webserver.

Yes, PHPAGI has the ability to connect via a TCP socket for AGI or ManagerAPI requests. This library is exactly for enabling such functionality in websites in conjunction with a webserver. You could also go with the likes of Ruby or Ruby on Rails:

Unless of course you are not talking about Asterisk at all?