wanpipe-freeswitch-installFreeSwitch Linux Installation
- Linux: Package requirements prior to Wanpipe installation
- Linux: Wanpipe TDM Install for Freeswitch
- LInux: Installing FreeSWITCH/OpenZAP
- Linux: Advanced usage of Setup script
FreeSwitch FreeBSD Installation
FreeSwitch Solaris Installation
Wanpipe TDM Installation (Linux)
- Download the appropriate WANPIPE® Release based on the Sangoma Hardware.
Please download BETA Wanpipe Release ---
- Untar wanpipe release in arbitrary directory (/usr/src/ is recommended).
#>tar xvfz wanpipe-<version>.tgz #>cd wanpipe-<version>
After untarring WANPIPE®, the wanpipe<version>/ directory will be created.
- Run ./Setup install from the newly created wanpipe-<version> directory
#>./Setup install or #>./Setup install --64bit_4GB (in case X86_64bit & 4GB memory or more) Proceed with installation Select "Y" for each option. Under compilation mode: Select "TDM API" (In newer betas it is called "TDM Voice API"). ---
- Proceed with Defaults for the rest of the compilation.
If any errors are encountered during the compilation of the utilities, click here for assistance.
Confirm Successful Wanpipe Installation
- Confirm successful Wanpipe installation run:
#>wanrouter hwprobe
This command will load the wanpipe modules and will print out list of all Sangoma hardware installed on the system.
FreeSwitch & OpenZap installation (Linux)
Installing FreeSwitch requires the following:
On Centos 5.X:
#> yum install subversion autoconf bison flex make gcc gcc-c++ libtool automake ncurses-devel
On debian or ubuntu:
- Install tools needed before packaging:
#> apt-get install devscripts pbuilder gcc make bison automake autoconf flex libtool
- Let freeswitch handlerequired dependencies from the source with pbuilder
Now you can either user the release tarballs or check out the latest development version from the freeswitch repository:
For the latest release tarballs go to http://files.freeswitch.org/ and download the latest source package. Change into the directory you want to place the sources in and unpack the sources, for example:
#> cd /usr/src #> tar xvfz freeswitch-1.0.1.tar.gz
To get the source of the latest development source, do the following:
- Decide where you will place the sources (we use /usr/src/freeswitch)
- Go to the parent directory of where you want to place the sources: cd /usr/src
- Check out trunk with subversion:
# svn checkout http://svn.freeswitch.org/svn/freeswitch/trunk freeswitch # svn checkout http://svn.freeswitch.org:81/svn/freeswitch/trunk freeswitch
- Subversion will download all required files and place hem in the freeswitch subdirectory
Now lets proceed to building freeswitch.
Install FreeSwitch/OpenZAP via Source without packaging
- Change into the freeswitch build directory
#> cd freeswitch
- If you downloaded the tar file, skip this step, otherwhise bootstrap the source
#> ./bootstrap.sh
- Configure the buildsystem
#> ./configure --prefix=/opt/freeswitch --enable-core-libedit --with-openssl
- Select the modules to be build. The most important is to uncomment the opezap line (#../../libs/openzap/mod_openzap)
#> vi modules.conf
- Build
#> make all install #> make samples #> make sounds-install (to install the default sound files) #> make moh-install (to install default music on hold files)
- Proceed to the Configuration Page
Install FreeSwitch/OpenZAP as package
On Centos 5.X:
- you will require rpm build tools
#> yum install rpm-build
- Now just run:
#> rpmbuild -tb freeswitch-1.0.1.tar.gz
- Your rpm will be created, You will ahve to install it using rpm
On Debian/Ubuntu:
- Change into the freeswitch directory:
#> cd freeswitch
- Call pbuilder to satisfy dependecies:
#> sudo /usr/lib/pbuilder/pbuilder-satisfydepends
- Call the package builder to create the .deb packages:
#> debuild
- Use dpkg to install the resulting packages:
#> cd .. #> sudo dpkg -i *.deb
- Proceed to the Configuration page
Proceed to: Configuring Wanpipe and Freeswitch
|