<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0"><span>Hey Osmocom,</span><br>
</p>
<p style="margin-top:0;margin-bottom:0"><span><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span>I am working to test hrAMR codec with osmo-bts-oc2g but it doesn't seem the correct TCH/F frame type is being activated:</span></p>
<p style="margin-top:0;margin-bottom:0"><span><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span></p>
<div><0000> ../../../osmo-bts/src/common/rsl.c:2805 (bts=0,trx=0,ts=1,pchan=TCH/F_TCH/H_PDCH as PDCH) ss=0 Rx RSL CHAN_ACTIV</div>
<div><0000> ../../../osmo-bts/src/common/amr.c:105 AMR Multirate with 6 modes len=2 not possible                </div>
<div><0000> ../../../osmo-bts/src/common/rsl.c:1159 (bts=0,trx=0,ts=1,ss=0): chan_nr=TCH/H(0) on TS1 type=0x01 mode=SPEECH_AMR</div>
<div><0006> ../../../osmo-bts/src/common/l1sap.c:1471 activating channel chan_nr=TCH/H(0) on TS1 trx=0                                </div>
<div><0006> ../../../osmo-bts/src/osmo-bts-oc2g/oml.c:937 (bts=0,trx=0,ts=1,ss=0): lchan2lch_par tch_mode=0x41    </div>
<div><0006> ../../../osmo-bts/src/osmo-bts-oc2g/oml.c:1083 (bts=0,trx=0,ts=1,ss=0) MPH-ACTIVATE.req (hL2=0x000100bb, TCH/H TxDL)</div>
<div><0006> ../../../osmo-bts/src/osmo-bts-oc2g/oml.c:822 (bts=0,trx=0,ts=1,ss=0) MPH-ACTIVATE.conf (TCH/H TxDL)</div>
<div><0006> ../../../osmo-bts/src/osmo-bts-oc2g/oml.c:833 Error activating L1 SAPI TCH/H on TS 1: Invalid parameter                   </div>
<div><0006> ../../../osmo-bts/src/osmo-bts-oc2g/oml.c:1109 (bts=0,trx=0,ts=1,ss=0) act failed mark broken due status: -4</div>
<div><0006> ../../../osmo-bts/src/common/l1sap.c:623 activate confirm chan_nr=TCH/H(0) on TS1 trx=0                </div>
<div><0000> ../../../osmo-bts/src/common/rsl.c:787 (bts=0,trx=0,ts=1,ss=0): Sending Channel Activated NACK: cause = 0x25</div>
<div><br>
</div>
<div>
<div>Frame 202: 101 bytes on wire (808 bits), 101 bytes captured (808 bits) on interface 0</div>
<div>Linux cooked capture</div>
<div>Internet Protocol Version 4, Src: 10.42.0.1, Dst: 10.42.0.50</div>
<div>Transmission Control Protocol, Src Port: 3003, Dst Port: 51480, Seq: 90, Ack: 206, Len: 33</div>
<div>IPA protocol ip.access, type: RSL</div>
<div>Radio Signalling Link (RSL)</div>
<div>    0000 100. = Message discriminator: Dedicated Channel Management messages (4)</div>
<div>    .... ...0 = T bit: Not considered transparent by BTS</div>
<div>    .010 0001 = Message type: CHANnel ACTIVation (0x21)</div>
<div>    Channel number IE </div>
<div>    Activation Type IE </div>
<div>    Channel Mode IE</div>
<div>    Channel Identification IE</div>
<div>    BS Power IE</div>
<div>    MS Power IE</div>
<div>    Timing Advance IE</div>
<div>    MultiRate configuration IE</div>
<div>        Element identifier: MultiRate Configuration (0x36)</div>
<div>        Length: 2</div>
<div>        001. .... = Multirate speech version: Adaptive Multirate speech version 1 (1)</div>
<div>        ...0 .... = NSCB: Noise Suppression Control Bit: Noise Suppression can be used (default) (0)</div>
<div>        .... 1... = ICMI: Initial Codec Mode Indicator: The initial codec mode is defined by the Start Mode field (1)</div>
<div>        .... ..00 = Start Mode: 0</div>
<div>        0... .... = 12,2 kbit/s codec rate: is not part of the subset</div>
<div>        .0.. .... = 10,2 kbit/s codec rate: is not part of the subset</div>
<div>        ..1. .... = 7,95 kbit/s codec rate: is part of the subset</div>
<div>        ...1 .... = 7,40 kbit/s codec rate: is part of the subset</div>
<div>        .... 1... = 6,70 kbit/s codec rate: is part of the subset</div>
<div>        .... .1.. = 5,90 kbit/s codec rate: is part of the subset</div>
<div>        .... ..1. = 5,15 kbit/s codec rate: is part of the subset</div>
<div>        .... ...1 = 4,75 kbit/s codec rate: is part of the subset</div>
<div><br>
</div>
<br>
</div>
<div><br>
</div>
I am trying to understand how codec negotiation is performed, and whether this is a bug or mis-configuration. </span>
<p></p>
<p style="margin-top:0;margin-bottom:0"><span>I've attached the BTS pcap and configurations that are being used. </span></p>
<p style="margin-top:0;margin-bottom:0"><span><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span>Thanks,</span></p>
<p style="margin-top:0;margin-bottom:0"><span>Omar</span></p>
</div>
</body>
</html>