external player, asterisk music on hold

Need help? Post your questions here.

Moderator: moderators

external player, asterisk music on hold

Postby espressodaily » Mon Oct 28, 2013 11:37 pm

I have asterisk for my house. It's an open source PBX. Asterisk supports streaming music for music on hold. Basically I need a URL to a playlist that will always be available and it must auto play.
I want to use a subsonic stream for asterisk. What is the process for this?

Thanks in advance

fred
espressodaily
 
Posts: 9
Joined: Sat Sep 11, 2010 3:50 pm

Re: external player, asterisk music on hold

Postby espressodaily » Fri Jul 10, 2015 9:19 pm

any help on this?
espressodaily
 
Posts: 9
Joined: Sat Sep 11, 2010 3:50 pm

Re: external player, asterisk music on hold

Postby alphawave7 » Sat Jul 11, 2015 4:34 am

What have you tried, and what was the result? Have you tried a Share link of the playlist? Does Asterisk have a place to insert the link?
alphawave7
 
Posts: 1042
Joined: Thu Feb 11, 2010 9:54 am

Re: external player, asterisk music on hold

Postby 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
clipbrd
 
Posts: 8
Joined: Mon Aug 10, 2015 3:03 am


Return to Help

Who is online

Users browsing this forum: No registered users and 18 guests