Hello I've never built an IVR before, so I was wondering if someone could share some code from their extensions.conf that would perform some of thoses steps: 1. When a call comes in from the TDM FXO port, answer 2. If no CID, play message "No CID available. Please type the number where you wish to be called back". Loop until OK or remote party hung up 3. When CID is available, play main menu : "1 for sales, 2 for support, 3 for any other question" 4. Play "If you wish, you can leave a message to explain what problem you met". When done, save message as WAV, and play message "Your message will be sent to the department in charge. Thank you", and go back to main menu 5. Move WAV file to web server's directory where a PHP script lists available messages 6. Send an e-mail to the group involved, eg. sales at acme.com, support at acme.com , including a the caller's CID and a link to the WAV file Thanks for any tip.
Vincent wrote:> Hello > > I've never built an IVR before, so I was wondering if someone > could share some code from their extensions.conf that would perform > some of thoses steps:<snip /> Hi Vincent. Look back a few hours in this mailing list for the message called " IAX2: Incoming calls answered prematurely [RESOLVED]". I have included most of how I setup a simple IVR. It wasn't that hard to do and I have only been using asterisk for a week or so... Hope this helps. Alan -- The way out is open! http://www.theopensourcerer.com
On 10/20/07, Vincent <vincent.delporte at bigfoot.com> wrote:> I've never built an IVR before, so I was wondering if someone > could share some code from their extensions.conf that would perform > some of thoses steps:Try Google for asterisk ivr The first ten sites that come up, including voip-info.org, usually a good place to look first, each have full examples. Look also for the background application wich is used to play the file, get input and jump to the extension entered.