SMG Installation

    1. Introduction
    2. SMG Components
    3. Wanpipe Driver Installation
    4. 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

    1. Wanpipe Driver
    2. SMG Package


    Linux Support

    -> 32bit & 64bit
    -> Centos 5.5 Prefered
    -> Linux wanpipe drivers

     

    Wanpipe Linux Installation for SMG

    1. Download wanpipe device driver
      -> Latest 3.5 Release: wanpipe-current.tgz
      -> Check Linux Download Page for more info
      --
    2. Untar the wanpipe package
      -> tar xfz wanpipe-current.tgz
      -> cd wanpipe-<version>

    3. 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

    4. 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

    1. Install Sangoma RPM repository
      -> rpm -ivh http://rpm.sangoma.com/sangoma_repository-0.0.1-Linux.rpm

    2. Install SMG, this will install the RPM and also start the Web GUI automatically
      -> yum -y install sangoma-media-gateway

    Installing through the tarball

    1. 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 

    2. Untar the SMG Package
      -> tar xfz sangoma-media-gateway-<ver>.tgz
      -> cd sangoma-media-gateway-<ver>

    3. 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.

    4. Install SMG boot startup scripts  (optional)
      -> make boot

    5. Start SMG Web GUI
      -> service smg-webgui start

      The web service will start on port: 8888

    6. 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

    1. 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]