[Freeswitch-users] Problems with git installation

Peder peder at networkoblivion.com
Sun Jul 4 08:29:46 PDT 2010


You might want to do the last 3 items again and watch for errors.  Your make
is probably erroring out during the compile phase and so some of the modules
are not actually being created.

Try:
cd /usr/local/freeswitch/mod
ls

Is mod_voicemail.so or mod_valet_parking.so in there?


-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Mike
Sent: Sunday, July 04, 2010 2:35 AM
To: freeswitch-users at lists.freeswitch.org
Subject: [Freeswitch-users] Problems with git installation

Hello,

I'm relatively new to Freeswitch - having only really been playing
around with it for the last few weeks. Apologies in advance if the
following questions are as a result of something I'm doing wrong (more
than likely) - I have the book pre-ordered from Amazon - hopefully
that will help me a lot ;)

A little background context - I already have Freeswitch up and running
well on an Amazon EC2 (Fedora) instance. I had to get this up, running
and in service very quickly for various reasons, being completely new
to Freeswitch I installed it by downloading the file:

wget http://files.freeswitch.org/freeswitch-1.0.6.tar.gz

And followed the installation instructions. So far that installation
has performed exactly as expected.

Now I want to install a test and development Freeswitch on another EC2
instance. For this one I thought I'd follow the recommendations to
install from the latest git tree. Bear in mind that my main objective
here is to have a basic / default / vanilla installation to use for
testing / exploring / playing. At this stage I don't want / need
anything fancy.

The exact commands I ran were:
yum install git
yum install gcc
yum install gcc-c++
yum install autoconf
yum install automake
yum install libtool
yum install ncurses-devel
cd /usr/local/src
git clone git://git.freeswitch.org/freeswitch.git
cd /usr/local/src/freeswitch
./bootstrap.sh
./configure
make all install sounds-install moh-install
got a coffee... or two...

I edited the vars.xml file to have the correct external (elastic IP
address) for the RTP and SIP signalling and opened up the right ports
in the Security Group (firewall). On starting Freeswitch I see the
following errors, but am able to register my two test phones fine.

2010-07-04 02:32:38.211909 [CRIT] switch_loadable_module.c:926 Error
Loading module /usr/local/freeswitch/mod/mod_voicemail.so
**/usr/local/freeswitch/mod/mod_voicemail.so: cannot open shared
object file: No such file or directory**
2010-07-04 02:32:38.212462 [CRIT] switch_loadable_module.c:926 Error
Loading module /usr/local/freeswitch/mod/mod_valet_parking.so
**/usr/local/freeswitch/mod/mod_valet_parking.so: cannot open shared
object file: No such file or directory**
2010-07-04 02:32:38.233480 [CRIT] switch_loadable_module.c:926 Error
Loading module /usr/local/freeswitch/mod/mod_spandsp.so
**/usr/local/freeswitch/mod/mod_spandsp.so: cannot open shared object
file: No such file or directory**
2010-07-04 02:32:38.234111 [CRIT] switch_loadable_module.c:926 Error
Loading module /usr/local/freeswitch/mod/mod_speex.so
**/usr/local/freeswitch/mod/mod_speex.so: cannot open shared object
file: No such file or directory**
2010-07-04 02:32:38.236968 [CRIT] switch_loadable_module.c:926 Error
Loading module /usr/local/freeswitch/mod/mod_tone_stream.so
**/usr/local/freeswitch/mod/mod_tone_stream.so: cannot open shared
object file: No such file or directory**
2010-07-04 02:32:38.237129 [CRIT] switch_loadable_module.c:926 Error
Loading module /usr/local/freeswitch/mod/mod_spidermonkey.so
**/usr/local/freeswitch/mod/mod_spidermonkey.so: cannot open shared
object file: No such file or directory**
2010-07-04 02:32:38.239198 [CONSOLE] mod_local_stream.c:161 Can't open
directory: /usr/local/freeswitch/sounds/music/16000
2010-07-04 02:32:38.239337 [CONSOLE] mod_local_stream.c:161 Can't open
directory: /usr/local/freeswitch/sounds/music/32000

When I try to dial the Music On Hold from one of the phones I get the
following error:
2010-07-04 02:57:24.513520 [ERR] switch_core_file.c:122 Invalid file
format [silence_stream] for [2000]!
and unsurprisingly given the above errors, trying to dial voicemail gives:
2010-07-04 02:58:55.846720 [ERR] switch_core_session.c:1752 Invalid
Application voicemail

So guys - please advise - what am I doing wrong?

Mike

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




More information about the FreeSWITCH-users mailing list