Brian,

 

Sorry for the delay in responding to your message.  I will be looking into this next week and should have a response for you then.

 

Andrew

 

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian Edgar
Sent: Thursday, 31 December 2015 12:10 PM
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved

 

Andrew,

 

Your posting was very helpful.  Do you have the procedure for configuring CentOS 7 to autostart FreeSWITCH in the new preferred method of systemd?  Doesn’t appear that the old init.d method appropriate.

 

I saw a hint for a shell script in the source but it is no longer there.

 

Thank you,

 

Brian Edgar

 

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West
Sent: Monday, September 21, 2015 10:38 PM
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved

 

Yeah you shouldn't shy away from IPv6 it's really easy to setup.


On Mon, Sep 21, 2015 at 5:05 PM -0700, "Andrew Keil" <andrew.keil@visytel.com> wrote:

Brian,

 

Sorry this was only relevant to my test setup.  I should have removed these lines prior to posting my last message.

 

Andrew

 

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West
Sent: Tuesday, 22 September 2015 12:15 AM
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s) - resolved

 

Whats the purpose of disabling ipv6 support?

 

On Mon, Sep 21, 2015 at 2:43 AM, Andrew Keil <andrew.keil@visytel.com> wrote:

To all,

 

Found what I was missing (and causing all my build issues): rpm -Uvh http://files.freeswitch.org/freeswitch-release-1-6.noarch.rpm

 

Now when I perform the yum install commands and it pulls down the right version and everything works as expected.

 

Here is my procedure (for those who wish to use the manual configure/make approach):

 

Install FreeSWITCH 1.6.0 on CentOS 7 (fresh installation):

 

Note: Everything below is run inside CentOS 7 terminal as "root" user (via "su -" command)

 

1) Make sure yum update is run and CentOS is up-to-date

2) {optional} inside Terminal window select Edit Profile Preferences and select "Use custom default terminal size" and make it 160 x 60.  Close terminal and re-open for the change to take affect.

3) yum -y install git

4) yum -y install epel-release

5) rpm -Uvh http://files.freeswitch.org/freeswitch-release-1-6.noarch.rpm

6) yum -y install git gcc-c++ autoconf automake libtool wget python ncurses-devel zlib-devel libjpeg-devel openssl-devel e2fsprogs-devel sqlite-devel libcurl-devel pcre-devel speex-devel ldns-devel libedit-devel libxml2-devel

7) yum -y install libyuv-devel opus-devel libvpx-devel libvpx2* libdb4* libidn-devel unbound-devel libuuid-devel lua-devel libsndfile-devel

8) cd /usr/local/src

9) git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git   

10) cd /usr/local/src/freeswitch

11) ./bootstrap.sh

12)          ./configure

13)          make

14) make install

15) make cd-sounds-install

16) make cd-moh-install

17) cd /usr/local/freeswitch/conf

18) vi vars.xml 

                                Change:  <X-PRE-PROCESS cmd="set" data="default_password=1234"/> {!!set it to something different!!}

                                Save and close (<Esc> :wq!)

19) cd /usr/local/freeswitch/conf/sip_profiles

20) mv internal-ipv6.xml internal-ipv6.xml.removed   {disables ipv6 support}

21) mv external-ipv6.xml external-ipv6.xml.removed  {disables ipv6 support}

22) cd /usr/local/freeswitch/bin

23) ./freeswitch -nonat -nonatmap

24) ... to exit from FreeSWITCH console

 

FreeSWITCH Version: 1.6.0+git~20150903T203652Z~6762f14140~64bit (git 6762f14 2015-09-03 20:36:52Z 64bit)

 

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Andrew Keil
Sent: Saturday, 19 September 2015 12:06 PM
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s)

 

This worked!  However mod_opus fails now.  Since I cannot perform a yum install libopus-devel do I need to follow this link: http://files.freeswitch.org/downloads/libs/opus-1.1.tar.gz

 

Getting there!

 

Andrew

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Andrew Keil
Sent: Saturday, 19 September 2015 8:46 AM
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Make of FreeSWITCH 1.6 on CentOS 7 issue(s)

 

Thanks I will give this a try.


On 19 Sep 2015, at 12:07 AM, Christopher Rienzo <cmrienzo@gmail.com> wrote:

sudo yum install lua-devel

 

On Fri, Sep 18, 2015 at 1:39 AM, Andrew Keil <andrew.keil@visytel.com> wrote:

To FreeSWITCH users,

 

I am attempting to make the latest FreeSWITCH release on CentOS 7  (I am trying to avoid the RPM approach since I am also working with Sangoma to assist with their updated merge of freetdm into FreeSWITCH).

 

CentOS 7: CentOS-7-x86_64-DVD-1503-01.iso (with yum update done successfully).

 

As root user:

 

yum install git gcc-c++ autoconf automake libtool wget python ncurses-devel zlib-devel libjpeg-devel openssl-devel e2fsprogs-devel sqlite-devel libcurl-devel pcre-devel speex-devel ldns-devel libedit-devel libxml2-devel

 

{also did the following to see if these will help}

yum install libyuv-devel

yum install libvpx-devel

yum install libidn-devel

yum install unbound-devel

yum install libdb4*

yum install libuuid-devel

 

cd /usr/local/src

 

git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git 

 

cd freeswitch

./bootstrap.sh

vi modules.conf {comment out mod_fsv   (due to libyuv-devel error)}

./configure

./make

 

making all mod_lua

make[4]: Entering directory `/usr/local/src/freeswitch/src/mod/languages/mod_lua'

  CXX      mod_lua_la-mod_lua.lo

mod_lua.cpp:37:17: fatal error: lua.h: No such file or directory

#include "lua.h"

 

The mod_fsv issue I do not care so much about however Lua I need. 

 

FYI: I did try the rpm approach on a separate CentOS 7 VM and noticed the Lua dependant package is version 5.1.4 not 5.2.

 

I hope someone has an idea of what to try next.

 

Regards,

 

Andrew Keil


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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

 


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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



 

--

Brian West
brian@freeswitch.org

Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

Got Bugs? Report them here! | Reddit: /r/freeswitch

T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest