...
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Transcoding Package
Download the Latest Sangoma Media Transcoding Release:
---> sng-tc-linux-1.3-current.i686.tgz
---> sng-tc-linux-1.3-current.x86_64.tgz
*A manual firmware upgrade is required to use the above 1.2.x releases for cards
purchased before November 10th, 2010
--> Firmware upgrade Procedure
...
Hardware Installation
Mount your transcoder
-> D150-ETH-Find a free PCI slot insider a server to install
-> D150-BOX- Find a well ventilated flat surface, or install in optional rack mount
---------Attach Power supply
-> D150-ETH- use molex power from server power supply 2A @ 5V (10W),
or external power supply 2A @ 5V (10W)
-> D150-BOX- external power supply 2A @ 5V (10W)
---------Plug the Ethernet cable into your transcoder to attach to your network
* Note: There is no on-board Ethernet switch on the D150, so once plugging in the Ethernet Cable, there is direct access to the transcoding module
...
Transcoding package installation
Download and Install the transcoding package on a server that is located on the same network as the D150 transcoder
* Note: same network installation is required because the sngtc_server (discussed later) communicates with the hardware via EthernetFor the Official FreePBX Distro - do this before the next step
Code Block yum install asterisk<ver>-devel libxml2-devel
-> wget <URL of Package>
-> tar xfz sng-tc-<ver>-<arch>.tgz
-> cd sng-tc-<arch>-<ver>
-> make
-> make installThe D150 transcoder will be detected through the server's Ethernet interface that connects to the network (typically Eth0)
--------Firmware Update
To check if the firmware on the transcoder requires updating run the firmware update utility
--> Run: sngtc_tool –dev ethX –firmware (replace ‘X’ with the interface of the network, such as Eth0)
--> If the FROM and TO version are the same you are up to date so cancel the update; if the versions are different please update.
--> If the update fails insure the ethX interface has a IP address (replace ‘X’ with the interface of the network)* Note sngtc_server must NOT be running during the update; sngtc_server_ctrl stop will stop the server if it is running.
...
Transcoding Module Installation and Configuration
Info |
---|
*Note: This step assumes Asterisk is on the same server as the server hosting the sngtc_server. If Asterisk only exists on other server(s) please go to -> D150 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/)
...
For FreePBX Distro - add to sangoma_codec.conf
|
Transcoder Hardware Configuration file:
/etc/sngtc/sngtc_server.conf
...
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 sngtc_server_ctrl command.
...
To enable Asterisk to connect to the sngtc_server and then to the transcoder you will need the have the module codec_sangoma loaded. To load the module run the command below.
Info |
---|
*Note the step above shows you how to auto load this on Asterisk start. |
Asterisk CLI> module load codec_sangoma.so
...