Solved

Music On Hold Trixbox 2.8.0.4

Posted on 2010-11-23
3
1,987 Views
Last Modified: 2012-05-10
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
Comment
Question by:foxpc123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
SkykingOH earned 500 total points
ID: 34202431
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
 
LVL 3

Author Closing Comment

by:foxpc123
ID: 34274842
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
 
LVL 6

Expert Comment

by:SkykingOH
ID: 34278122
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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Every year the snow affects people and businesses. According to the Federation of Small Businesses (FSB), in 2009, UK businesses lost an estimated £1.2bn (http://news.bbc.co.uk/1/hi/business/7864804.stm) because of bad weather. This article was c…
Hey there Heard about jingle, the add on for XMPP that enables point to point audio between two XMPP clients. No server config necessary. Actually quite a cool feature. However, how good is it if you can not use those voice capabilities to do a P…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question