On 03/11/2018 03:59, Omar Ramadan wrote:

Hey Osmocom,


Hi Omar!


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:


<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
<0000> ../../../osmo-bts/src/common/amr.c:105 AMR Multirate with 6 modes len=2 not possible


I'm not sure, this is just off the top of my head, but I'd hazard a guess that not having all AMR modes "allowed" in open-bsc.cfg might do the trick for you.


Try

amr-config 12_2k forbidden

amr-config 10_2k forbidden

amr-config 4_75k forbidden


or some such..


Does it work?


Thanks

k/