Versions Compared

Key

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

Asterisk D100 Single Server Installation

...

...

Transcoding Package

...

Transcoding Package Downloading & Installing

...

Hardware Installation & Configuration

...

Transcoding Module Installation Configuration

...

Operation

Transcoding Package

 

Download the Latest Sangoma Media Transcoding Release:  
---> sng-tc-linux-1.3.8.i686.tgz                   (2016-01-07)             ChangeLog
---> sng-tc-linux-1.3.11.x86_64.tgz            (2019-10-29)

*A manual firmware upgrade is required to use the above 1.2.x releases for cards 
purchased before November 10th, 2010 
--> Firmware upgrade Procedure 

 

 

...

Transcoding Package Downloading & Installing 

To install the transcoding package follow the steps below. Insure you get the URL of the package you need from the list above

  • Note: If you are doing this on an Official FreePBX Distro machine, please run yum install asterisk<ver>-devel libxml2-devel first 

...

Configuring the Ethernet device

Info

Note this step is distro-dependent

To Configure the network interface (RedHat/Fedora/CentOS-5.x)

...

Info

*Note: This step assumes Asterisk is on the same server as the transcoder. If Asterisk only exists on other servers please go to -> Asterisk D100 Distributed Sngtc Server Configuration

The steps below will install the Asterisk trancoding module, so please insure you have the Asterisk headers already installed (ie: /usr/include/asterisk/)

...

 Asterisk Sangoma Transcoding Config file:         
/etc/asterisk/sangoma_codec.conf

Transcoder Hardware Configuration file:
/etc/sngtc/sngtc_server.conf

If you have more than one D100 on the network "sngtc_server.conf" will only list information of the first D100 detected (i.e IP address).  The rest of the D100 configurations are hidden and will use consecutive IP addresses. (i.e first D100- 10.1.1.150, second D100- 10.1.1.151, third D100- 10.1.1.152...)

If the server has more than one Ethernet interface connected to the network, "sngtc_server.conf" will list all Ethernet interfaces that have detected the D100(s) and populate the exact same information in each EthX tag

 Asterisk now needs to be configured to load the "codec_sangoma" module each time it starts. 

...

 By default G729 is the only codec registered with Asterisk.  If you require additional codecs please go to the following wiki page to configure them --> codec support and configuration.

...

Operation

  • The sngtc_server is at the heart of the transcoding environment. It interfaces the transcoder hardware and codec module (the codec module, in asterisk, communicates with the sngtc_server in order to pass information to/from transcoder). It controls all Sangoma transcoders that are located on the same computer (this means you cannot have multiple sngtc_servers controlling/communicating with specific transcoders).   

    The sngtc_server needs to be started before transcoding can be done. Below is the usage of the sng_tc_server_ctrl command. 

...

  1. Verify the transcoder card is not in use and stop the sngtc server.  To stop the server, simply run the following command in the Linux CLI:
    -> sngtc_server_ctrl stop
    -

  2. Skip to step 6 if you are using the transcoder with Sangoma Media Gateway (SMG).  Do not download/install the transcoder release if you have SMG, otherwise it will corrupt your entire package
    - 

  3. Download the architecture specific software package: Media Transcoding Download
    -

  4. Install the software package in a location of your choice (i.e. /usr/src) on the system containing the transcoding module
    -> cd sng-tc-<arch>-<ver>/
    -> make
    -> make install
    -

  5. Access the firmware utility directory and install
    -> cd server/sngtc_tool
    -> make install
    -

  6. Run the following command to update the firmware on the transcoder card

...