by clipbrd » Mon Aug 10, 2015 3:53 am
Fred ...
Although there are many audio formats that Asterisk can play, Asterisk will only play "AUDIO files" (music or announcement audio files) at a bit rate of 128 and 8khz, it's unlikely you have any files in your music collection at that low a rate.. you can however use files from your collection and resample them to the rate for asterisk, then copy those resampled files to your PBX drive /var/lib/asterisk/moh, at least on Asterisk4, Asterisk10 / FreePBX and Trixbox this is the location, I doubt it's different on any system. I have left my files in .wav, it's just easier to edit anything if need be..
Also, at that rate, they are already small, a 3 minute .wav song is only 3 megs.
I know it seems dumb to have music folders all over the place, but consider that anyone listening to your MOH, would never possibly listen to your entire collection.. so just pick 50 songs you'd love to share with others...
I have setup the radio streamers into FreePBX and TrixBox before (I have no idea as to what bit rates they use), but something always goes wrong. I find files in the MOH folder and subfolders (subfolders for other music IE: Christmas etc. (not default)) works best and never fails..
There is no way to link your PBX to the Subsonic system, only possible way might be if you are able to mount the Subsonic drive from the PBX computer via your network, but unless the 2 are Linux,, it will be a pain to try and mount an NTFS drive from Linux, I found it simpler and faster to resample the files..
Addition,, if you are using analog phones on your PBX via ATAs,, the hold button does not tell the PBX you've put the caller on hold.. this feature will only work if you are using IP phones..
clipbrd