SMG Installation
Introduction
- Sangoma Media Gateway (SMG) s a standalone SIP to TDM Gateway that runs on top
of Sangoma TDM/Analog/BRI cards. - SMG is released in binary format for Linux 32bit and 64bit platforms.
- Due to binary packaging the installation is extremely simple.
- SMG configuration and operation is Web Based via SMG Web GUI.
- RPM installation packages are coming soon.
Limitations
- The SMG has been optimized for CentOS installs.
- The SMG is not supported on Windows: Windows version is in the works.
SMG Package Components
- Wanpipe Driver
- SMG Package
Linux Support
-> 32bit & 64bit
-> Centos 5.5 Prefered
-> Linux wanpipe drivers
Wanpipe Linux Installation for SMG
- Download wanpipe device driver
-> Latest 3.5 Release: wanpipe-current.tgz
-> Check Linux Download Page for more info
-- - Untar the wanpipe package
-> tar xfz wanpipe-current.tgz
-> cd wanpipe-<version> - Build the wanpipe driver for SMG and install it
-> make smg
-> make install
Prerequisite to this step is a distro development and linux-header package.
Check out the wanpipe driver pre-requisite page for more info.
If this step fails one of the pre-requisistes is not met: Please contact Sangoma Support - Check that driver installed properly
-> wanrouter hwprobe
If this step fails hw could be defective or driver did not install properly: Please contact: Sangoma Support
SMG Package Installation
The latest SMG release can be installed from a tarball file or an RPM package for CentOS 5.
Installing the RPM through yum
- Install Sangoma RPM repository
-> rpm -ivh http://rpm.sangoma.com/sangoma_repository-0.0.1-Linux.rpm - Install SMG, this will install the RPM and also start the Web GUI automatically
-> yum -y install sangoma-media-gateway
Installing through the tarball
- Download SMG Latest Package
-> sangoma-media-gateway-linux-3.2.5.i686.tar.gz
-> sangoma-media-gateway-linux-3.2.5.x86_64.tar.gz - Untar the SMG Package
-> tar xfz sangoma-media-gateway-<ver>.tgz
-> cd sangoma-media-gateway-<ver> - Install the SMG Gateway
-> make install
or
-> make install DESTDIR=<absolute path to install directory>
By default SMG package installs in /usr/local/smg directory. - Install SMG boot startup scripts (optional)
-> make boot - Start SMG Web GUI
-> service smg-webgui start
The web service will start on port: 8888 - At this point we are ready to configure and start the SMG gateway from the Web GUI
Using your browser open the port: 8888 on your SMG gateway machine.
Default usernname/password: admin/admin
-> http://localhost:8888
*Note: click Here for instruction if you are configuring from a remote system to be able to access the Web GUI
Linux Environment Configuration
- Firewall
If you have iptables enabled
--> to check run: iptables -nL
Make sure to allow:
--> SIP port: 5062 (default SMG SIP port)
--> RTP ports: 21000 to 31000 (default SMG RTP ports)
--> HTTP port: 8888 (default SMG GUI port)
On redhat distros one can update /etc/sysconfig/iptables
--> /etc/init.d/iptables [start|stop|restart]







