1st I took a MP3 and converted it to a WAV in
8 bit
8000 KHZ
mono
Then, in FreePBX I went into SETTINGS > MUSIC ON HOLD
Then, I created a new CATEGORY, called “TestCategory”
Then I successfully uploaded my WAV into it.
Just to make sure i checked into
/var/lib/asterisk/moh
and there was a subfolder called “TestCategory” with my WAV file in it.
Next I went to the INBOUND ROUTE settings (in FreePBX) and chose “TestCaegory” for MOH.
And so I call the inbound route from my cell phone, dial my extension, pick-up and then put on hold.
And no music plays!!
I see this in the CLI:
– Started music on hold, class ‘RachidiAvocats’, on SIP/sip.babytel.ca-0000000c
== Extension Changed auto_hint_777[from-internal] new state Hold for Notify User 200
– Stopped music on hold on SIP/sip.babytel.ca-0000000c