AGI And AMI In PHP — What’s Current?
I’m writing some code that needs to access AMI in PHP. (I’ll probably be doing AGI later as well.)
I’m looking at phpagi (2.20), but it hasn’t been updated since 2010 and appears to be a bit behind current Asterisk — No event handler for event
‘fullybooted’.
What PHP framework/library are you using — and why?
4 thoughts on - AGI And AMI In PHP — What’s Current?
Other than a few minor patches, we use stock phpagi. If you want simple, phpagi is the way to go.
—–Original Message—
Can you spare me a flat spot on my forehead and share the wealth?
The changes were to phpagi-asmanager.php. Looks like most of the changes are commenting out noisy log messages, but I did add wait_response2 function to phpagi, which adds a timeout option. We have not used the wait_response2 function for quite a while. I don’t recall how well it works.
diff at http://pastebin.com/wfDR6u0a
—–Original Message—
Den 2014-11-18 21:33, Steve Edwards skrev:
I use these, works very well:
https://github.com/marcelog/PAGI
https://github.com/marcelog/PAMI
More modern, uses composer, does get updates.