On 12/28/2013 7:04 AM, Shahid H wrote:
Thanks Daniel, that was useful, I will check those links :)

I am pretty good with PHP and jQuery. So I guess learning Node.js
shouldn't be too difficult.

If I decided to use Node.js - what is the best way to communicate with a
browser to AMI process? Send a XML or HTTP command from a browser to AMI
process .. or whatever I execute on the browser - it save the commands
to the database.. a process will listen the commands from a database.

Other options are http requests and do the ipc... or maybe WebSocket?

My code will probably end up on Thedailywtf.com for it, but I have a PHP-based system that uses PAMI to talk to the AMI interface. There's a daemon process that listens for commands via a FIFO buffer. Several other processes & web scripts just send commands to the controller process via that FIFO.

Seems to work well for me.


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to