Music on Hold Limitations

dingoland

Joined
Jan 16, 2008
Messages
220
Likes
0
Points
0
#1
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
 

styelz

Joined
Sep 11, 2007
Messages
17
Likes
0
Points
0
#2
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
 

dingoland

Joined
Jan 16, 2008
Messages
220
Likes
0
Points
0
#3
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
 

dingoland

Joined
Jan 16, 2008
Messages
220
Likes
0
Points
0
#4
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
 

Members online

No members online now.

Forum statistics

Threads
30,952
Messages
130,980
Members
17,654
Latest member
janko67
Top