Audio Listing Directory ... is it possible?

Hi guys,

What i want to do is create an audio Secretary some how, so when someone calls a 1-800 number (which i will register) it goes into asteriska and the person calling is going to be faced with multiple options such as…
-Press #1 if you wish to speak to a representivtive
-Press #2 for an audio directory of all whatever

So when they hit the #1 the call will be forwarded to my cell phone (simple)… The harder part is this…

When they hit #2 they will be required to enter an 5 to 8 digit code (product listing code). When they enter a 5 to 8 digit code it will not transfer the caller HOWEVER it will activiate a recording which will play an audio recording which will detail a product description. After the recording they have the option of listing to another audio discription or going back to the main menu

Can this be done with Asterisk… i’m running out of options and cannot find a solution.

I’d greatly appericate anyones help regarding this as i would like to use this to setup a business.



Yes, this should be fairly easy to do with asterisk. Here is some psuedo code:

exten => menu,1,Answer
exten => menu,n(main-menu),Background(menu)
exten => menu,n,WaitExten(5)
exten => menu,n,goto(main-menu)

exten => 1,1,Dial(Your Cell Phone)

exten => 2,1,Read(PRODUCTID,,8,3,10)
exten => 2,n,Do something to validate the productid is valid, and set the recording name
exten => 2,n,GotoIF(productid is invalid, 2,1)
exten => 2,n,Playback()
… other logic to send to menu, or to listen to another product

I double posted…