I finally got sound through all of the devices and working but I have another problem. I have been through a lot of the documentation that is out on the internet on this subject but all of them seemed to go nowhere. I have the musiconhold.conf file setup like this
[defualt]
mode=file
directory=/home/baronobeefdip/Music
and the extensions.conf file has the extension for the music on hold setup like this
[default]
exten => 3,1,Answer()
exten => 3,2,MusicOnHold()
There seems to be nothing wrong with any of theses files as far as syntax goes. I have music files in the directory specified but in mp3 format. I dial the phone when the mode is set to file, however the PBX stays on the line and doesn’t drop the call but I don’t hear any music. I changed it to mp3 it immediately dropped the call, I changed it to files and it still dropped the call. changed it back to just file and I heard nothing. Is there a different port that this operates on. I know now that the sound works but I don’t hear any music when I dial that extension.
I would also like to add that I am using Debian Squeeze and just install asterisk-mp3 and used the same settigs I did above, I am still not hearing anything and I am absolutely sure that there are mp3 files in the directory I have specified. I am using Asterisk 1.6