So, STDIN, STDOUT, and STDERR can be used to talk with .agi scripts to control the dialplan. Can AGI be used to have a web application talk back and forth between Asterisk and itself? What if the web application is on a separate box? Thanks, David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060919/581b473d/attachment.htm
David R. wrote:> Can AGI be used to have a web application talk back and forth between > Asterisk and itself? What if the web application is on a separate box?Yes, if its on another box you should use FastAGI (you should do this anyway for performance reasons ;), see http://www.voip-info.org/wiki-Asterisk+FastAGI =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: srt@reucon.net Jabber: srt@jabber.reucon.net -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 254 bytes Desc: OpenPGP digital signature Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060919/67b61086/signature.pgp
Le mardi 19 septembre 2006 ? 15:30 -0500, David R. a ?crit :> Can AGI be used to have a web application talk back and forth between > Asterisk and itself? What if the web application is on a separate > box?As Stefan Reuter previously stated, there's no problem running your AGI application remotely. It's extremely fast (hence the name FastAGI) and it also frees the Asterisk box from any load your application could produce (think of calculation or database query processing) However, even though AGI is a lot like CGI for Asterisk, it doesn't mean you can use web applications as AGI applications. Ok, you could "tell" Asterisk what to do. But how would you get responses back from Asterisk? Or maybe you've got a genius idea I couldn't think of. In that case, let us know! Yoann