* IVR with other PBX?

Hello everyone,

I would like to know if it’s possible to set up the following using Asterisk and if it’s the best program for this purpose.

When a user dails the extention 123, they want a IVR that does the following:

  • Ask for a x-digit code
  • Checks if that codes exists in a database
  • If the previous code exist in the DB, enter x-digit code
  • Various database operations using with both codes entered previously
  • Have a message to let the user know if the queries were successful or not.

I have no control over the main PBX system (the system where the 123 extention is programmed) but I have complete control over the server where the 123 extention arrives. They already have a multiple lines analog card plugged into that server.

After reading a bit on the subject, I think the IVR setup can work but I’m unsure if Asterisk can be setup like I want it to. I’d also like to know if anyone has done a similar setup and if there’s been any difficulties?