Elastix Recording error

Discussion in 'General' started by ferdinandbabst, Mar 25, 2010.

  1. ferdinandbabst

    Joined:
    Mar 23, 2010
    Messages:
    31
    Likes Received:
    0
    Hi

    I have installed a clean install of Elastix and configured the entire server. Everything works great, except when I do a system recording by dialing *77 I record a voiceprompt and then I press * to listen to it. All is fine. When i try to save the file i get this:

    cp: cannot create regular file `/var/lib/asterisk/sounds/custom/testcall.wav': Permission denied

    any ideas what this could be and how can I resolve it?

    I am logged on as root. Its the same account used during system setup
     
  2. ferdinandbabst

    Joined:
    Mar 23, 2010
    Messages:
    31
    Likes Received:
    0
    Sorry I typed * instead of 1. typo error. I dial 1 to listen to it but cant save it
     
  3. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    /var/lib/asterisk/sounds/custom/

    must exist and be writable by asterisk(not root) the account under which runs the web server runs, create it if it's not there and then chown asterisk:asterisk it.
     
  4. ferdinandbabst

    Joined:
    Mar 23, 2010
    Messages:
    31
    Likes Received:
    0
    Thanks Dicko

    I am very new to linux so i am not completely sure how to use chown to assign asterisk permission.
     
  5. jgutierrez

    Joined:
    Feb 28, 2008
    Messages:
    5,737
    Likes Received:
    0
    You can do the command operation, or use an updated Elastix version, I remember that bug, it was corrected on a more updated elastix version.
     
  6. tataghost

    Joined:
    Apr 1, 2010
    Messages:
    46
    Likes Received:
    0
    I also faced the same problem and i donot know the solution so, could any one tell me the write one /
     
  7. ramoncio

    Joined:
    May 12, 2010
    Messages:
    1,663
    Likes Received:
    0
    Hi tataghost, wellcome to the forums!

    dicko is telling you one solution (use chown), and jgutierrez another one (update with yum).

    If you can't do that then you'll need to read A LOT before you start using Elastix or any other asterisk-based distro. Find some CentOS tutorial and study it, you'll need it.
     
  8. tataghost

    Joined:
    Apr 1, 2010
    Messages:
    46
    Likes Received:
    0
    ok thanks so much

    put now i want solution for the comming case , look i already connected 4 port fxo card to my elastix
    what i want from extention say 101 i want to pick the land line 3 which connected to the fxo card in port 3
    meaning from ext, 101 dial 6 then get the land line 3
    and from another extention 102 when dial 6 i got nothing that mean just only ext, 101 dial 6 , gets the land line no 3 and so on for more extentions and land line
    please forgive me if i was not clear as iam still new in this world (elastix)
     

Share This Page