MOH problem after lastest upgrades

DjBac

Joined
May 20, 2009
Messages
137
Likes
0
Points
0
#1
Hi,

What I discovered today is that MOH no longer works after the latest upgrades!!

Anyone else having the same problem?
 

Bob

Joined
Nov 4, 2007
Messages
2,400
Likes
1
Points
36
#2
DjBac,

Just a couple of things to check

under ssh or your console,

check the rights and ownership of the /var/lib/asterisk/mohmp3 directory
which should be similar to

drwxrwxr-x 3 asterisk asterisk 4096 Oct 17 15:34 mohmp3

Next check the rights and ownership on the following files in the /var/lib/asterisk/mohmp3 are correct similar to

-rwxrwxr-x 1 asterisk asterisk 1310764 Oct 15 04:10 fpm-calm-river.wav
-rwxrwxr-x 1 asterisk asterisk 1310764 Oct 15 04:10 fpm-sunshine.wav
-rwxrwxr-x 1 asterisk asterisk 1376300 Oct 15 04:10 fpm-world-mix.wav


and finally check that the

/etc/asterisk/musiconhold_additional.conf file contains similar to

[acc_1]
mode=files
directory=/var/lib/asterisk/mohmp3/acc_1/
[default]
mode=files
directory=/var/lib/asterisk/mohmp3/
[test]
mode=files
directory=/var/lib/asterisk/mohmp3/test/
[none]
mode=files
directory=/dev/null

You might not have the exact same file, but make sure the directory listed are fully spelt out e.g. directory=/var/lib/asterisk/mohmp3/ not directory=/mohmp3/

Hope this helps.....

Regards
Bob
 

DjBac

Joined
May 20, 2009
Messages
137
Likes
0
Points
0
#3
I do get these

drwxrwxr-x 5 asterisk asterisk 4096 Mar 31 14:59 mohmp3

-rw-rw-r-- 1 asterisk asterisk 1310764 Nov 9 2005 fpm-calm-river.wav
-rw-rw-r-- 1 asterisk asterisk 1310764 Nov 9 2005 fpm-sunshine.wav
-rw-rw-r-- 1 asterisk asterisk 1376300 Nov 9 2005 fpm-world-mix.wav



[default]
mode=files
directory=/
[xx]
mode=files
directory=/xx/
[xxxxx]
mode=files
directory=/xxxxx/
[none]
mode=files
directory=/.nomusic_reserved

I guess I will have to sort this out!!

will give it a try tomorrow and let you know!!

Thanx for your help!
 

DjBac

Joined
May 20, 2009
Messages
137
Likes
0
Points
0
#4
Thanx!!

Perfect!!
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,901
Messages
130,885
Members
17,561
Latest member
marouen
Top