[Asterisk-Users] Newbie IVR question

Steven Critchfield critch at basesys.com
Sun Aug 31 16:38:45 MST 2003


On Sun, 2003-08-31 at 16:27, Josh Edwards wrote:
> So I guess what i need is an agi app that goes is passed  callerid and
> ext
> 
> then does a "wait for digit" 
> 
> then writes (callerid,ext,<the digit>) to a database. 
> 
> I do not know perl, so I guess my real question is, is this hard to
> write, has anyone else done it?

php is just perl about 1 and a half revisions ago. It isn't hard. 

> >From: Steven Critchfield 
> >Reply-To: asterisk-users at lists.digium.com 
> >To: asterisk-users at lists.digium.com 
> >Subject: Re: [Asterisk-Users] Newbie IVR question 
> >Date: 31 Aug 2003 15:54:53 -0500 
> > 
> >On Sun, 2003-08-31 at 15:39, Josh Edwards wrote: 
> > > let me first say this is an amazing product. 
> > > 
> > > 
> > > ok here is my question 
> > > 
> > > what I want to do is be able to have people call me and answar 
> > > questions. The answars to there questions would need to be stored
> in a 
> > > mysql database. 
> > > 
> > > so 
> > > 
> > > call comes in 
> > > 
> > > asterisks plays question 
> > > 
> > > asterisk waits for answar 
> > > 
> > > caller presses 
> > > 3 
> > > 
> > > into a sql table goes (callerid,questionnum,3) 
> > > 
> > > on to next question. 
> > > 
> > > 
> > > Can this be done in asterisks, if so, can anyone point me in the 
> > > correct direction? howto's code examples etc 
> > 
> > 
> >If you are stuck on mysql, then you will need to do this in agi. If
> you 
> >could do it in postgres, then there is the PSQL commands. 
> >-- 
> >Steven Critchfield 
> > 
> >_______________________________________________ 
> >Asterisk-Users mailing list 
> >Asterisk-Users at lists.digium.com 
> >http://lists.digium.com/mailman/listinfo/asterisk-users 
> 
> ______________________________________________________________________
>  Enter for your chance to IM with Bon Jovi, Seal, Bow Wow, or Mary J
> Blige using MSN Messenger 
> _______________________________________________ Asterisk-Users mailing
> list Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Steven Critchfield <critch at basesys.com>




More information about the asterisk-users mailing list