# Having Problems with changing MOH default file

**URL:** <https://community.asterisk.org/t/having-problems-with-changing-moh-default-file/38497>\
**Category:** Asterisk Support\
**Created:** [March 6, 2012, 6:14pm UTC](https://community.asterisk.org/t/having-problems-with-changing-moh-default-file/38497 "2012-03-06T18:14:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![o.olukunle1](https://avatars.discourse-cdn.com/v4/letter/o/ed655f/32.png) [@o.olukunle1](https://community.asterisk.org/u/o.olukunle1)\
**Post date:** [March 6, 2012, 6:14pm UTC](https://community.asterisk.org/t/having-problems-with-changing-moh-default-file/38497/1 "2012-03-06T18:14:23Z")

</div>

Dear All,

I will appreciate if anyone could be of help to resolve this problem. I have been trying to change the Music on hold default file to another file with i just converted to WAV file format. But on the output of asterisk, it keeps telling me it cannot load the file.  
I will appreciate if anyone could be of help.

Thanks.

---

<div class="post-metadata">

**Author:** ![malcolmd](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/malcolmd/32/5_2.png) [@malcolmd](https://community.asterisk.org/u/malcolmd)\
**Post date:** [March 6, 2012, 6:57pm UTC](https://community.asterisk.org/t/having-problems-with-changing-moh-default-file/38497/2 "2012-03-06T18:57:27Z")

</div>

16-bit 8kHz mono wav?

---

<div class="post-metadata">

**Author:** ![o.olukunle1](https://avatars.discourse-cdn.com/v4/letter/o/ed655f/32.png) [@o.olukunle1](https://community.asterisk.org/u/o.olukunle1)\
**Post date:** [March 6, 2012, 9:14pm UTC](https://community.asterisk.org/t/having-problems-with-changing-moh-default-file/38497/3 "2012-03-06T21:14:04Z")

</div>

It is not 16-bit 8kHz mono wav. Do i have to covert it in this specified format before it can work?  
And if i have to convert it in this file format can you recommend any converter that and do this for me.

Thanks

---

<div class="post-metadata">

**Author:** ![malcolmd](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/malcolmd/32/5_2.png) [@malcolmd](https://community.asterisk.org/u/malcolmd)\
**Post date:** [March 6, 2012, 9:24pm UTC](https://community.asterisk.org/t/having-problems-with-changing-moh-default-file/38497/4 "2012-03-06T21:24:38Z")

</div>

Yes, it’ll need to be that format. Try the sox utility.

Try:

```auto
sox input.wav -c 1 -b 16 -r 8000 output.wav
```

---

<div class="post-metadata">

**Author:** ![o.olukunle1](https://avatars.discourse-cdn.com/v4/letter/o/ed655f/32.png) [@o.olukunle1](https://community.asterisk.org/u/o.olukunle1)\
**Post date:** [March 6, 2012, 9:40pm UTC](https://community.asterisk.org/t/having-problems-with-changing-moh-default-file/38497/5 "2012-03-06T21:40:54Z")

</div>

Thanks i have tried using SOX once but i really don’t understand the usage. But i will give it a try once again and possibly this time i could get it right.

Thanks.

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [March 6, 2012, 10:38pm UTC](https://community.asterisk.org/t/having-problems-with-changing-moh-default-file/38497/6 "2012-03-06T22:38:09Z")

</div>

For that format, wav must be in lower case. If it is in upper case, Asterisk will expect a RIFF wrapped GSM file.
