I'm doing something similar, using a php script to access a postgres database. I'ts quite easy using the phpagi class.<br><br>Take a look at: <br><a href="http://phpagi.sourceforge.net/">http://phpagi.sourceforge.net/</a><br>
<br>good luck,<br><br>Mauricio Mantilla<br><br><br><div><span class="gmail_quote">On 7/19/06, <b class="gmail_sendername">Stefan Reuter</b> <<a href="mailto:srt@reucon.net">srt@reucon.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Camilo Echeverry wrote:<br>> 1- receive the call (obvious)<br>> 2- get the Caller ID<br>> 3- Send the CID to another application and get some info from a Database<br>> example: Your address is "some address"
<br>> 4- Get that info and convert it into voice (by mixing various audio files)<br>> 5- return it to the Caller (as audio)<br><br>Yes, Asterisk can do all of these. You might want to look at AGI/FastAGI<br>for implementing it.
<br># <a href="http://www.voip-info.org/wiki/view/Asterisk+AGI">http://www.voip-info.org/wiki/view/Asterisk+AGI</a><br># <a href="http://www.voip-info.org/wiki-Asterisk+FastAGI">http://www.voip-info.org/wiki-Asterisk+FastAGI
</a><br><br>If your primary development language is Java you might also be<br>interested in Asterisk-Java which allows you to easily implement AGI<br>scripts in Java: <a href="http://asterisk-java.org">http://asterisk-java.org
</a><br><br>=Stefan<br><br>--<br>reuter network consulting<br>Neusser Str. 110<br>50760 Koeln<br>Germany<br>Telefon: +49 221 1305699-0<br>Telefax: +49 221 1305699-90<br>E-Mail: <a href="mailto:srt@reucon.net">srt@reucon.net
</a><br>Jabber: <a href="mailto:srt@jabber.reucon.net">srt@jabber.reucon.net</a><br><br><br><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com
</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
<br><br><br></blockquote></div><br>