Music on Hold Limitations

Discussion in 'General' started by dingoland, Jan 19, 2008.

  1. dingoland

    Joined:
    Jan 16, 2008
    Messages:
    220
    Likes Received:
    0
    Hi everybody,

    When i trying to upload a mp3 file, the upload stops after (about) 700kb but the files is 2Mb in size.
    Are there some limitations in MOH for mp3 files ?
    I didn't found any information on this forum on this upload limitation :(
    Thanks.

    Greg
     
  2. styelz

    Joined:
    Sep 11, 2007
    Messages:
    17
    Likes Received:
    0
    Hello,

    The maximum file upload size is 20MB.
    This is set in /etc/php.ini

    Your problem may be the time taken to upload the file to the server, you will need to change the line in /etc/php.ini.

    max_input_time = 60

    to

    max_input_time = 300

    the times are in seconds, change it to what suits you. After that do /etc/init.d/httpd restart

    Cheers,
    JD<br><br>Post edited by: styelz, at: 2008/01/19 00:20
     
  3. dingoland

    Joined:
    Jan 16, 2008
    Messages:
    220
    Likes Received:
    0
    Thanks for your answer.
    I changed the line in php.ini but the result is the same : upload blocks after 700Kb of 2Mb.
    It is the first file i upload so i don't think i reach the 20Mb limit :(
    I remarked also the uploaded file size is the half of the file on my HDD. (the file is mp3 lame codec)
    and the MOH page is never reloading entirely and it is very long.
    Is there a specific mp3 format for the MOH mp3 files ?
    Thanks

    Greg<br><br>Post edited by: dingoland, at: 2008/01/19 01:14
     
  4. dingoland

    Joined:
    Jan 16, 2008
    Messages:
    220
    Likes Received:
    0
    I found something:
    - the mp3 file is 32k bitrate on the server and it is 64K bitrate on my HDD.
    There is a conversion of the file when uploading to server, sorry for this question because i didn't know this detail.
    The only problem ( it should not be one) is the time of the MOH page to reload, too much time but maybe it is normal also....
    Regards

    Greg
     

Share This Page