Manage Call from php in web-browser


#1

Hy,
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?

#2

phpagi.sourceforge.net

Specifically here:

phpagi.sourceforge.net/phpagi1/p … s.docs.php

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


#3

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


#4

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:

snapvine.com/code/ragi/
rubyforge.org/projects/rami/

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