Page 1 of 1

strange ubuntu scratch

PostPosted: Fri Oct 16, 2009 10:02 pm
by brett05
i have follow all setup in scratch ubuntu with 64bit and asterisk 1.4
just i have seen that this partie it don't want to be maked good
:
**** for asterisk 1.4
cp -a /var/lib/asterisk/moh /var/lib/asterisk/mohmp3/
cd /var/lib/asterisk/mohmp3/
sox fpm-sunshine.wav -t gsm -r 8000 -b -c 1 fpm-sunshine.gsm
sox fpm-sunshine.wav -t ul -r 8000 -b -c 1 fpm-sunshine.pcm
sox fpm-calm-river.wav -t gsm -r 8000 -b -c 1 fpm-calm-river.gsm
sox fpm-calm-river.wav -t ul -r 8000 -b -c 1 fpm-calm-river.pcm
sox -r 44100 -w -s -c 1 fpm-world-mix.raw -r 8000 -c 1 fpm-world-mix.wav
sox fpm-world-mix.wav -t gsm -r 8000 -b -c 1 fpm-world-mix.gsm
sox fpm-world-mix.wav -t ul -r 8000 -b -c 1 fpm-world-mix.pcm
mkdir ../quiet-mp3
cd ../quiet-mp3
sox ../mohmp3/fpm-sunshine.wav -r 8000 -c 1 fpm-sunshine.wav vol 0.25
sox fpm-sunshine.wav -t gsm -r 8000 -b -c 1 fpm-sunshine.gsm
sox fpm-sunshine.wav -t ul -r 8000 -b -c 1 fpm-sunshine.pcm
sox ../mohmp3/fpm-calm-river.wav -r 8000 -c 1 fpm-calm-river.wav vol 0.25
sox fpm-calm-river.wav -t gsm -r 8000 -b -c 1 fpm-calm-river.gsm
sox fpm-calm-river.wav -t ul -r 8000 -b -c 1 fpm-calm-river.pcm
sox ../mohmp3/fpm-world-mix.wav -r 8000 -c 1 fpm-world-mix.wav vol 0.25
sox fpm-world-mix.wav -t gsm -r 8000 -b -c 1 fpm-world-mix.gsm
sox fpm-world-mix.wav -t ul -r 8000 -b -c 1 fpm-world-mix.pcm

when i run this lines i see not directory found etc..
what miss in this? it is the audio file or it is a patch needed for aterisk
but finally asterisk run good and also vicidial with no probleme ??
it is strange ? :?

PostPosted: Fri Oct 16, 2009 11:50 pm
by jojo1031
when i run this lines i see not directory found etc..

fpm-sunshine.gsm, fpm-calm-river.gsm and fpm-world-mix.gsm is not available anymore. Somehow digium changed it to macroform-cold_day.gsm, macroform-robot_dity.gsm, macroform-the_simplicity.gsm, manolo_camp-morning_coffee.gsm and reno_project-system.gsm.

When doing the convertion just change the filename to the new one.
ie. macroform-cold_day.wav -t gsm -r 8000 -b -c 1 macroform-cold_day.gsm

but finally asterisk run good and also vicidial with no probleme ??
it is strange ?

This is for the Music on hold. The error will only show if someone is placed on hold.