Page 1 of 1
Base Install - Probems with SSL key
Posted:
Tue May 13, 2008 12:30 pm
by mtaib
Hi team,
This is probably my first post after our Tampa meeting. Hope all are doing great..
I was just doing a 5 agent system install, doing the pilot actually, everything is smooth (but very slow progress), i came across couple of issues (not really errors). while i was doing the Apache part, in 'required apps install' guide, there are two openssl lines. i executed both of them.
1) for the first one, i got the 'Enter PEM phrase' and simply supplied 'Vici'.
2) for the second 'openssl' line, i got the 'Enter pass phrase' once more, entered the same 'vici', but this time got an error message saying 'unable to load private key'..
I dunno how big it is.. not installed Vicidial yet.. please let me know if this behavior is normal..
Regards
mohamed kondela
Posted:
Tue May 13, 2008 1:05 pm
by mflorell
What version of openssl?
what version of Apache?
Posted:
Tue May 13, 2008 1:59 pm
by mtaib
Matt,
It is exactly the same version as per your 'Required Apps Install'
Apache 2.0.61
openSSL 0.9.8
BTW, Which asterisk should i try? 1.2 family or or 1.4.19..? someone told me 1.4.19 is stable..
I did all other apps as per the 'Required Apps..' guide.. Mysql is 5.0.51. can i try 1.4.19.. any issues reported..?
Regards
Mohamed kondela
Posted:
Tue May 13, 2008 2:23 pm
by mflorell
I have not had any problems with that in the past and do not know what could cause the problem you had, maybe a google search would help.
As for Asterisk versions, I still recommend 1.2.27, but 1.4.19 is getting better although there are still a few miror issues with it that still make 1.2.27 preferrable at this time.
Posted:
Wed May 14, 2008 6:41 am
by mtaib
Matt,
yesterday, late night i just repeated the Apache and SSL part, everything went smooth. That means, i definitely misstyped something.
Now, a new one. I am almost done with the 1.2 tree. in the last portion of sox configuration part, after creating 'quit-mp3' directory, following sox commands are not working.. When i tried to execute:
'sox -r 44100 -w -s -c 1 /var/lib/asterisk/mohmp3/fpm-sunshine.raw -r 8000 -c 1 -v 0.25 fpm-sunshine.wav'
i got the following :
'root@Vici:/var/lib/asterisk/quiet-mp3# sox -r 44100 -w -s -c 1 ../mohmp3/fpm-sunshine.raw -r 8000 -c 1 -v 0.25 fpm-sunshine.wav
sox: SoX v14.0.1
Failed: -v can only be given for an input file;
use `vol' to set the output file volume'
Posted:
Wed May 14, 2008 7:39 am
by mtaib
Additionally, Why i need to convert these files..? if thes problems cannot be solved, can i try without converting.? if yes what is the impact/performance issues..
Regards
Mohamed Kondela
Posted:
Wed May 14, 2008 8:21 am
by mflorell
That conversion is needed for music on hold for inbound-groups(queues) in VICIDIAL to use native MoH which is much lower load than traditional MP3 Moh.
As for the error, it is because of a change in command-line parameters in SoX(very annoying in my opinion).
Try using these commands instead:
mkdir ../quiet-mp3
cd ../quiet-mp3
sox -r 44100 -w -s -c 1 ../mohmp3/fpm-sunshine.raw -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 -r 44100 -w -s -c 1 ../mohmp3/fpm-calm-river.raw -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 -r 44100 -w -s -c 1 ../mohmp3/fpm-world-mix.raw -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
rm -f ../mohmp3/*.raw