Asterisk Distributed Operation
Â
The sngtc_server needs to be started before transcoding can be done. Below is the usage of the sng_tc_server_ctrl command.Â
-->Â sngtc_server_ctrl (start|stop|restart)
*Note by default this script is started on system boot.Â
Â
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.Â
 Asterisk CLI> module load codec_sangoma.so
*Note the step above shows you how to auto load this on Asterisk start.
WARNING:Â There is a bug in Asterisk that may lead to crashes when loading codecs if there are 2 different modules providing the same translation paths. See this bug report for more information:Â http://issues.asterisk.org/view.php?id=17092. You can also read the sample configuration comments in sng-tc-<version>/codec/asterisk/sangoma_codec.conf.sample to learn more about work-arounds in case you face the problem.
Â
To status the codec_sangoma module use the commands below.Â
Asterisk CLI>Â sangoma show translators(Shows codecs registered by codec_sangoma)Â Â
Asterisk CLI>Â sangoma show transcoding sessions(Shows active transcoding sessions)Â
Asterisk CLI>Â sangoma show rtp statistics(Shows real time RTP stats including dropped packets)
Â