Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

On a shell as "root" edit a new repository text file under /etc/yum.repos.d/CentOS5.repo to add this content:[

CentOS5base

...


name=CentOS-5-Base

...

mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=

...

os

...


gpgcheck=0
enabled=0

...

gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

...

...

CentOS5updates

...


name=CentOS-5-Updates

...

mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=updates

...


gpgcheck=0
enabled=0

...

gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

...

...

CentOS5plus

...


name=CentOS-5-Plus

...

mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=centosplus

...


gpgcheck=0
enabled=0

...

gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

...

Step 2: Rename the Freeswitch executable path

...

In file $INSTALL/bin/freeswitch.sh replace those lines (Note: $INSTALL is most likely "/usr").

Replace lines:

_FS_EXEC="/usr/local/freeswitch/bin/freeswitch _
     if [ ! -x /usr/local/freeswitch/bin/freeswitch ]
   echo "Error: FreeSWITCH executable is not at /usr/local/freeswitch/bin/freeswitch" >&2

With lines:

_FS_EXEC="/usr/local/freeswitch_debug/bin/freeswitch _
     if [ ! -x /usr/local/freeswitch_debug/bin/freeswitch ]
   echo "Error: FreeSWITCH executable is not at /usr/local/freeswitch_debug/bin/freeswitch" >&2

Step 3: Install the necessary RPMs in order to compile freeswitch

...

# Make your code changes under src/...>

make

# Stop the running version of Freeswitch

...