VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
acabrera at sintys.gov.ar Guest
|
Posted: Wed Apr 30, 2008 11:33 am Post subject: [asterisk-users] Customize Music On Hold |
|
|
Dear all, I have Asterisk 1.4.13 with the default configuration for
Music On Hold. I have this in /etc/asterisk/musiconhold.conf:
[default]
mode=files
directory=/var/lib/asterisk/moh
and in /var/lib/asterisk/moh I have the default wav files:
fpm-calm-river.wav fpm-sunshine.wav fpm-world-mix.wav
This way the music on hold works very good.
After that I use audacity to export my own MP3 files to WAV, and finally
I put them into /var/lib/asterisk/moh and delete the default fpm* wav files.
But when we call any other and turn on the HOLD function, the music
doesn't work.
How can I customize the "music on hold" files ???
Special thanks.
Alejandro |
|
Back to top |
|
|
support at drdos.info Guest
|
Posted: Wed Apr 30, 2008 12:02 pm Post subject: [asterisk-users] Customize Music On Hold |
|
|
Alejandro Cabrera Obed wrote:
Quote: | How can I customize the "music on hold" files ???
| http://www.voip-info.org/wiki/view/Convert+WAV+audio+files+for+use+in+Asterisk&view_comment_id=13455
Doug
--
Ben Franklin quote:
"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." |
|
Back to top |
|
|
asterisk.org at sedwar... Guest
|
Posted: Wed Apr 30, 2008 12:08 pm Post subject: [asterisk-users] Customize Music On Hold |
|
|
On Wed, 30 Apr 2008, Alejandro Cabrera Obed wrote:
Quote: | I have this in /etc/asterisk/musiconhold.conf:
[default]
mode=files
directory=/var/lib/asterisk/moh
After that I use audacity to export my own MP3 files to WAV, and finally
I put them into /var/lib/asterisk/moh and delete the default fpm* wav files.
But when we call any other and turn on the HOLD function, the music
doesn't work.
|
Use the "file" command to compare the files that work and the files that
don't. They should be "RIFF (little-endian) data, WAVE audio, Microsoft
PCM, 16 bit, mono 8000 Hz."
I usually forget to change the "Hz."
Thanks in advance,
------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000 |
|
Back to top |
|
|
asterisk.org at sedwar... Guest
|
Posted: Wed Apr 30, 2008 12:22 pm Post subject: [asterisk-users] Customize Music On Hold |
|
|
On Wed, 30 Apr 2008, Doug Lytle wrote:
Personally, that seems a bit like using a sledge hammer when a tack hammer
would do the job. Plus, I'd hate to explain to my boss that I just found
an obscure bug in Asterisk and crashed it trying to create some new MOH
files
I use:
sox example.whatever -c 1 -s -w -r 8000 example.wav
normalize example.wav
Thanks in advance,
------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000 |
|
Back to top |
|
|
support at drdos.info Guest
|
Posted: Wed Apr 30, 2008 1:23 pm Post subject: [asterisk-users] Customize Music On Hold |
|
|
Steve Edwards wrote:
Quote: | On Wed, 30 Apr 2008, Doug Lytle wrote:
Quote: | Alejandro Cabrera Obed wrote:
Quote: | How can I customize the "music on hold" files ???
| http://www.voip-info.org/wiki/view/Convert+WAV+audio+files+for+use+in+Asterisk&view_comment_id=13455
|
Personally, that seems a bit like using a sledge hammer when a tack hammer
|
You've lost me on that one, under the section on how to use wav files,
it states:
Using WAV files
Asterisk has codecs for wav (pcm), gsm, g729, g726, and wav49, all of
which can be used for Playback and Background. However, Asterisk does
not understand ADPCM WAV files. To convert your WAV files to a format
which Asterisk can understand, use the following command:
sox foo-in.wav -r 8000 -c 1 -s -w foo-out.wav resample -ql
Doug
--
Ben Franklin quote:
"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|