I can only make one call!

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Sylvain Munaut 246tnt at gmail.com
Thu Aug 27 07:02:28 UTC 2009


Hi,

>> A slight problem though - I can only make ONE call.  After that, I get
>> "CHANNEL ACTIVATE NACK  CAUSE=0x30(Transcoding not available)" if I try
>> to make another call, or even if I just switch off a handset.  I'm using
>> an IpAccess nanoBTS - is it likely that this is an IpAccess-specific
>> issue?
>
> This is really strange.  I have not observed this problem.  Until July I did a
> lot of development and testing on the nanoBTS.  Though in August a lot of last
> minute code was written for HAR2009 and only tested on the BS-11.
>
> I am now again travelling and only have my nanoBTS with me.  I can give some
> testing, but maybe somebody else on the list can confirm that the current git
> version works well on nanoBTS, too.

Actually this is the issue I was having too. I just realized that my
link to the mailing list was not at all the good one (wrong cut &
paste ... sorry about that).

The attached patch fixes it. I've also added a patch to put a
autogen.sh script ... always useful imho :)

Note that the wireshark trace show that CAUSE=0x30 is "Service or
option not available" which reflects the problem slightly better than
"Transcoding not available".


BTW Harald, is it possible to get some credentials to edit the wiki ?
I'd like to put a little more info about getting started with the
nanoBTS (Especially the part about the power & reset dongle :)


     Sylvain
-------------- next part --------------
commit 32b7a03a79c5978c491d772ad838d86812c69607
Author: Sylvain Munaut <tnt at 246tNt.com>
Date:   Thu Aug 27 08:06:02 2009 +0200

    [abis_rsl] Set lchan->tch_mode properly when responding to CHAN_RQD
    
    This fixes the 'only first call works' problem that some of us were
    having with the nanoBTS.
    (the field just happenned to be 0 == GSM48_CMODE_SIGN after startup)
    
    Signed-off-by: Sylvain Munaut <tnt at 246tNt.com>

diff --git a/openbsc/src/abis_rsl.c b/openbsc/src/abis_rsl.c
index 8cec2b6..7be1a6b 100644
--- a/openbsc/src/abis_rsl.c
+++ b/openbsc/src/abis_rsl.c
@@ -1085,6 +1085,7 @@ static int rsl_rx_chan_rqd(struct msgb *msg)
 	lchan->ms_power = ms_pwr_ctl_lvl(bts->band, bts->ms_max_power);
 	lchan->bs_power = 0; /* 0dB reduction, output power = Pn */
 	lchan->rsl_cmode = RSL_CMOD_SPD_SIGN;
+	lchan->tch_mode = GSM48_CMODE_SIGN;
 	rsl_chan_activate_lchan(lchan, 0x00, rqd_ta);
 
 	/* create IMMEDIATE ASSIGN 04.08 messge */
-------------- next part --------------
commit 4886e98d17b8739b788d2b44a1eda71be35aecbc
Author: Sylvain Munaut <tnt at 246tNt.com>
Date:   Thu Aug 27 09:00:43 2009 +0200

    [build] Add autogen.sh for convenience
    
    Most autotools projects have this to help out ...
    
    Signed-off-by: Sylvain Munaut <tnt at 246tNt.com>

diff --git a/openbsc/autogen.sh b/openbsc/autogen.sh
new file mode 100755
index 0000000..99148fe
--- /dev/null
+++ b/openbsc/autogen.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+aclocal
+autoheader
+automake --foreign --copy --add-missing
+autoconf


More information about the OpenBSC mailing list