<html><div style='background-color:'><DIV>
<P>Are there any examples for ther psql or agi scripts....can I use php with<BR>agi....</P>
<P>Thanks </P>
<P>Josh</P>
<P> </P></DIV>
<DIV></DIV>>From: Steven Critchfield <CRITCH@BASESYS.COM>
<DIV></DIV>>Reply-To: asterisk-users@lists.digium.com
<DIV></DIV>>To: asterisk-users@lists.digium.com
<DIV></DIV>>Subject: Re: [Asterisk-Users] Newbie IVR question
<DIV></DIV>>Date: 31 Aug 2003 15:54:53 -0500
<DIV></DIV>>
<DIV></DIV>>On Sun, 2003-08-31 at 15:39, Josh Edwards wrote:
<DIV></DIV>> > let me first say this is an amazing product.
<DIV></DIV>> >
<DIV></DIV>> >
<DIV></DIV>> > ok here is my question
<DIV></DIV>> >
<DIV></DIV>> > what I want to do is be able to have people call me and answar
<DIV></DIV>> > questions. The answars to there questions would need to be stored in a
<DIV></DIV>> > mysql database.
<DIV></DIV>> >
<DIV></DIV>> > so
<DIV></DIV>> >
<DIV></DIV>> > call comes in
<DIV></DIV>> >
<DIV></DIV>> > asterisks plays question
<DIV></DIV>> >
<DIV></DIV>> > asterisk waits for answar
<DIV></DIV>> >
<DIV></DIV>> > caller presses
<DIV></DIV>> > 3
<DIV></DIV>> >
<DIV></DIV>> > into a sql table goes (callerid,questionnum,3)
<DIV></DIV>> >
<DIV></DIV>> > on to next question.
<DIV></DIV>> >
<DIV></DIV>> >
<DIV></DIV>> > Can this be done in asterisks, if so, can anyone point me in the
<DIV></DIV>> > correct direction? howto's code examples etc
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>If you are stuck on mysql, then you will need to do this in agi. If you
<DIV></DIV>>could do it in postgres, then there is the PSQL commands.
<DIV></DIV>>--
<DIV></DIV>>Steven Critchfield <CRITCH@BASESYS.COM>
<DIV></DIV>>
<DIV></DIV>>_______________________________________________
<DIV></DIV>>Asterisk-Users mailing list
<DIV></DIV>>Asterisk-Users@lists.digium.com
<DIV></DIV>>http://lists.digium.com/mailman/listinfo/asterisk-users
<DIV></DIV></div><br clear=all><hr> <a href="http://g.msn.com/8HMXENUS/2740??PS="><b>Get MSN 8</b> and enjoy automatic e-mail virus protection. </a> </html>