blob: 3936336e2a8e9c395ef7609722a79bbc0b50e34d [file] [log] [blame]
<?xml version="1.0"?>
<block>
<name>TCH/H decoder</name>
<key>gsm_tch_h_decoder</key>
<import>import grgsm</import>
<make>grgsm.tch_h_decoder($sub_channel, $multi_rate, $boundary_check)</make>
<param>
<name>Sub-channel number</name>
<key>sub_channel</key>
<value>0</value>
<type>int</type>
<hide>none</hide>
<option>
<name>0</name>
<key>0</key>
</option>
<option>
<name>1</name>
<key>1</key>
</option>
</param>
<param>
<name>MultiRate configuration</name>
<key>multi_rate</key>
<type>string</type>
</param>
<param>
<name>Voice boundary detection</name>
<key>boundary_check</key>
<value>False</value>
<type>bool</type>
<option>
<name>False</name>
<key>False</key>
</option>
<option>
<name>True</name>
<key>True</key>
</option>
</param>
<check>$sub_channel() &gt; -1 and $sub_channel() &lt; 2</check>
<sink>
<name>bursts</name>
<type>message</type>
</sink>
<source>
<name>msgs</name>
<type>message</type>
<optional>1</optional>
</source>
<source>
<name>voice</name>
<type>message</type>
<optional>1</optional>
</source>
<doc>
The MultiRate configuration string should contains the hex string from the
MultiRate configuration element from the Assignment Command message.
Example: 28111a40.
See 3GPP TS 44.018 - 10.5.2.21aa MultiRate configuratio
If "Voice boundary detection" is enabled, then only bursts are decoded as voice where
- the framenumber is greater then the framenumber of a received "Connect" or "Connect Acknowlegde" message, and
- the framenumber is less then the framenumber of a "Release" message
</doc>
</block>