Need help with voice menus


I have set up 3 sip accounts and I need some help with setting up voice menus.

Someone can help me with that which is to enter the extension.conf?

welcome audio file is here / home/asterisk/sound/welcome.mp3

My sip accounts 1001,1002,1003 I will have 2 units a support and a sales department

all three must be connected to the support team and the 1001 and 1002 shall be connected to the sales department

I hope someone can help me a bit:)

Asterisk does not support mp3 for an IVR. Convert it to wav, WAV, SLN etc.

The default directory is /var/lib/asterisk/sounds. I personally create my own directory in there so I would do something like: mkdir /var/lib/asterisk/sounds/my_prompts. In the IVR menu when you want to play a file you would do Background(my_prompts/file_name).

As far as setting up a system and configurations you need to give a bit more details such as do you want all phones to ring ? Do you want a queue ? Do you want to append the caller ID ?

I have to voice menus. But I have some small problems. When I have created a conversation then shut it down after 20 seconds. And I have trouble getting played by the wav files.

Sorry for my bad english


exten => _33296818,1,Goto(mainmenu,s,1)
exten => s,1,Answer
exten => s,2,Background(test/welcome)
exten => s,3,SetMusicOnHold(default)
exten => s,n,WaitExten
exten => 1,1,Dial(SIP/2204,s,1)
exten => 2,1,Hangup
exten => 2204,1,Dial(SIP/2204)

What do you see in the Asterisk CLI when the call hangs up ?