Hi i am planning to develop a php script that will be called from AGI for the management of an IVR application. I'd like to be able to do the following things from php: - retrive callerid - play some audio files to the caller - wait for some DTMF digits - retrive the DTMF - stop the call the php have to collect some information from the user and after some check on a database inster some records into it. Can i do that directly from php or i must do something else? Maybe do you suggest other languages to do that? Thanks nik
This should get you started: http://www.voip-info.org/wiki/view/Asterisk+AGI+php http://phpagi.sourceforge.net/ Regards, Ove nik600 wrote:> Hi > > i am planning to develop a php script that will be called from AGI for > the management of an IVR application. > > I'd like to be able to do the following things from php: > > - retrive callerid > - play some audio files to the caller > - wait for some DTMF digits > - retrive the DTMF > - stop the call > > the php have to collect some information from the user and after some > check on a database inster some records into it. > > Can i do that directly from php or i must do something else? > > Maybe do you suggest other languages to do that? > > Thanks nik > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
nik600 wrote:> Hi > > i am planning to develop a php script that will be called from AGI for > the management of an IVR application. > > I'd like to be able to do the following things from php: > > - retrive callerid > - play some audio files to the caller > - wait for some DTMF digits > - retrive the DTMF > - stop the call > > the php have to collect some information from the user and after some > check on a database inster some records into it. > > Can i do that directly from php or i must do something else? > > Maybe do you suggest other languages to do that? > >Hi, We have done all the above with PHP from AGI, and it seems to work fine. So go for it! -- thanks, yusuf -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.