Can't upload wav file-elastix 1.6

Discussion in 'General' started by tech_meister, Aug 7, 2010.

  1. tech_meister

    Joined:
    Aug 7, 2010
    Messages:
    6
    Likes Received:
    0
    Hi to everyone

    Just wondering if someone here can tell why I can't upload a wav sound file to
    a fresh install of Elastix 1.6.
    The error message I get is cp: cannot create regular file `/var/lib/asterisk/sounds/custom/eraleeivr.wav': Permission denied
    Make sure you have entered a proper name.
    doen't matter what file name I give it, won't work.

    Any help would be appreciated.
     
  2. michael880308

    Joined:
    Mar 22, 2010
    Messages:
    11
    Likes Received:
    0
    Hi,
    Maybe you can try this

    Code:
    mkdir -p /var/lib/asterisk/sounds/custom && chown -R asterisk:asterisk /var/lib/asterisk/sounds/custom
    I got the same problem when I first install Elastix and this solves the problem
     
  3. michael880308

    Joined:
    Mar 22, 2010
    Messages:
    11
    Likes Received:
    0
    Hi,
    I just test the code.
    If somthing go wrong when you execute this, maybe you can delete the custom folder and execute the command again or just type in
    Code:
    chown -R asterisk:asterisk /var/lib/asterisk/sounds/custom
    see if it works

    Michael Lu
     
  4. tech_meister

    Joined:
    Aug 7, 2010
    Messages:
    6
    Likes Received:
    0
    Thanks for your help I will try it.
     

Share This Page