MOH problem after lastest upgrades

Discussion in 'General' started by DjBac, Mar 31, 2010.

  1. DjBac

    Joined:
    May 20, 2009
    Messages:
    137
    Likes Received:
    0
    Hi,

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

    Anyone else having the same problem?
     
  2. Bob

    Bob

    Joined:
    Nov 4, 2007
    Messages:
    2,400
    Likes Received:
    1
    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
     
  3. DjBac

    Joined:
    May 20, 2009
    Messages:
    137
    Likes Received:
    0
    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!
     
  4. DjBac

    Joined:
    May 20, 2009
    Messages:
    137
    Likes Received:
    0
    Thanx!!

    Perfect!!
     

Share This Page