Asterisk D500 PCI Express 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)