Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1998
  • Last Modified:

Music On Hold Trixbox 2.8.0.4

We've recently created a Trixbox 2.8.0.4 with yealink T22 phones and it's great - however the music on hold is driving the clients potty as they hate it!

I've created a new category so I can keep the default category - however I have a couple of questions;

1) How do I change the category from default (to my new category favourites) I can't see an option to change it at all - looking at the GUI menus. I'd like to keep the default category - upload new MOH to the favourites folder and then play those.

2) If I try and upload any MP3 using the upload tool on the GUI it takes forever and then times out - I'm assuming there's a size limit here ?

3) All of the files in the mohmp3 folder are ulaw files - do I need to convert mp3 to ulaw files and if so how - and are there any settings I need to do.

I've read and read and read on this but there doesn't seem to be a definitive guide for this for Trixbox 2.8.0.4

Thanks a lot
0
foxpc123
Asked:
foxpc123
  • 2
1 Solution
 
SkykingOHCommented:
trixbox is simply Asterisk for the MOH.  The music on hold files need to be mono 8Khz Wav files.

I find it easier to simply upload the content (with WinSCP or equivalent) to /var/lib/asterisk/moh

After uploading you need to restart Asterisk (service asterisk restart)

You can check your MOH with the Asterisk CLI command "moh show files"

0
 
foxpc123Author Commented:
The respondent only provided an answer to part of the question - as I still need to know how to add the Music On Hold to a new category - so I don't wipe out the existing category.
0
 
SkykingOHCommented:
Below is an example of my Christmas directory.

You can then use the category Christmas.

In trixbox (FreePBX) you go to "Music on Hold", Add Music Category.

It will then make an entry similar to this in /etc/asterisk/musiconhold_additional.conf

[Christmas]
mode=files
directory=/var/lib/asterisk//mohmp3/Christmas/
random=yes


You can then upload your files as previously descrbed.

0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now