<html><div style='background-color:'><DIV>
<P>So I guess what i need is an agi app that goes is passed callerid and ext</P>
<P>then does a "wait for digit"</P>
<P> </P>
<P>then writes (callerid,ext,<the digit>) to a database.</P>
<P> </P>
<P> </P>
<P>I do not know perl, so I guess my real question is, is this hard to write, has anyone else done it?</P>
<P>Josh<BR></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/2752??PS=">Enter for your chance to IM with Bon Jovi, Seal, Bow Wow, or Mary J Blige using MSN Messenger</a> </html>