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
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@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Mike Sent: Sunday, July 04, 2010 2:35 AM To: freeswitch-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
i found it easier to go into those modules directories and compile them individually to look for errors. Thanks, Stephen C -All of my email addresses go to the same place -Save Paper, think before you print On Sun, Jul 4, 2010 at 11:29 AM, Peder <peder@networkoblivion.com> wrote:
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@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Mike Sent: Sunday, July 04, 2010 2:35 AM To: freeswitch-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Peder - thanks - you were right. /usr/bin/ld: cannot find -ljpeg was causing errors in the compliation. make[4]: *** [mod_spandsp.la] Error 1 I guess I was working under the lazy premise that the configure process would crash out if something vital was needed (like it did for the other components that I installed). Lesson learned - I'll pay more attention to the output messages in the future. Did a yum install libjpeg-devel and everything was cool after that. Cheers Mike On Sun, Jul 4, 2010 at 4:29 PM, Peder <peder@networkoblivion.com> wrote:
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@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Mike Sent: Sunday, July 04, 2010 2:35 AM To: freeswitch-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Mike
-
Peder
-
Stephen Cattaneo