cant upload wav files

Discussion in 'General' started by ronnyromero, Sep 24, 2007.

  1. ronnyromero

    Joined:
    Sep 10, 2007
    Messages:
    7
    Likes Received:
    0
    Unable to add /var/lib/asterisk/sounds/custom/main-dave2.wav - Can not read file!

    i receive this error every time i try to upload a wav file.
     
  2. saleh

    Joined:
    Apr 18, 2007
    Messages:
    249
    Likes Received:
    0
    to fix it =>

    $ cd /var/www/html/admin/modules/recordings
    $ vi page.recordings.php

    after line 130
    add this line $recordings_save_path = "/tmp/";

    before changes =>

    function recording_addpage($usersnum) {
    global $fc_save;
    global $fc_check;
    global $recordings_save_path;

    after changes =>

    function recording_addpage($usersnum) {
    global $fc_save;
    global $fc_check;
    global $recordings_save_path;
    $recordings_save_path = "/tmp/";

    so can you solved this problem.
     
  3. accesip

    Joined:
    May 16, 2007
    Messages:
    113
    Likes Received:
    0
    Very good
    IVR can work

    Thanks Saleh

    Brice
     
  4. lek

    lek Guest

    Thank you Saleh, we'll include the fix in the next version.
     

Share This Page