Feature #2827
openwould be nice if logging of the BTS number in osmo-bts matched the BTS number used in osmo-bsc
0%
Description
Looking at a GSMTAP-logging trace where osmo-bsc sends a channel activation to bts 1, followed by osmo-bts reporting the channel activation request received by bts 0 is confusing.
Of course the osmo-bts process has only one BTS and thus refers to it as "bts 0", the only indication which BTS the logging came from is the source IP address of the GSMTAP.
Theoretically, osmo-bsc could (in some osmocom-specific way) let the osmo-bts process know which bts number it is in osmo-bsc's perspective, and then the GSMTAP logging from each osmo-bts process would match up with the osmo-bsc GSMTAP logging BTS numbers.
Alternatively, the osmo-bts process could refrain from logging any BTS number at all.
Example: the last message here makes you stop and think: "what, bts=0? that must be wrong" ... not
10535 127.0.0.1 127.0.0.10 GSMTAP 201 52530 4729 (bts=1,trx=0,ts=4,pchan=TCH/F) Allocating lchan=0 as TCH_F 10537 127.0.0.1 127.0.0.10 GSMTAP 201 52530 4729 (bts=1,trx=0,ts=4,ss=0) state NONE -> ACTIVATION REQUESTED 10541 192.168.0.10 192.168.0.125 RSL 112 CHANnel ACTIVation 10542 192.168.0.125 192.168.0.10 GSMTAP 184 48167 4729 (bts=0,trx=0,ts=4,ss=0) Rx RSL CHAN_ACTIV