osmo-bsc with remote osmo-stp.

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/.

Andrew Back andrew at carrierdetect.com
Fri Jun 15 16:27:12 UTC 2018


Hello,

I've had success with running a NITB based on the new architecture fine
when everything is on one host. However, I'd now like to split this
across multiple hosts. I have one host dedicated to running osmo-stp and
this appears to bind to the IP specified. However, the instance of
osmo-bsc running on another host always fails to connect and I think,
despite configuring to use a remote STP, it's trying localhost.

Packages installed from Debian 9.0/latest repo. Configs and osmo-bsc
output below. Any pointers as to where I'm going wrong would be much
appreciated.

Regards,

Andrew

//

**** osmo-bsc output:

$ sudo /usr/bin/osmo-bsc -c /etc/osmocom/osmo-bsc.cfg
<001d> osmo_ss7.c:1269 0: ASP Restart for server not implemented yet!
% GPRS not enabled on this BTS
% GPRS not enabled on this BTS
% GPRS not enabled on this BTS
% GPRS not enabled on this BTS
% GPRS not enabled on this BTS
% GPRS not enabled on this BTS
% Line 0 already exists
<0011> telnet_interface.c:104 telnet at 10.1.1.7 4242
<0013> input/ipaccess.c:853 enabling ipaccess BSC mode on 10.1.1.7 with
OML 3002 and RSL 3003 TCP ports
<0018> control_if.c:863 CTRL at 127.0.0.1 4249
<0008> osmo_bsc_sigtran.c:427 Initializing SCCP connection to MSC msc-0
<0008> osmo_bsc_sigtran.c:437 CS7 Instance identifier, A-Interface: 0
<001e> sccp_user.c:397 msc-0: Using SS7 instance 0, pc:0.0.2
<001e> sccp_user.c:411 msc-0: Creating AS instance
<001e> sccp_user.c:421 msc-0: Using AS instance as-clnt-msc-0
<001e> sccp_user.c:426 msc-0: Creating default route
<001e> sccp_user.c:446 msc-0: Creating ASP instance
<0011> socket.c:266 unable to connect socket: (null):2905: Connection
refused
<0011> socket.c:279 no suitable remote addr found for: (null):2905
<001d> osmo_ss7.c:1253 0: Unable to open stream client for ASP
asp-clnt-msc-0
<001e> sccp_user.c:481 msc-0: Using ASP instance asp-clnt-msc-0
<001e> sccp_user.c:484 msc-0: Creating SCCP instance
<0008> osmo_bsc_sigtran.c:480 (msc-0) A-interface: local (BSC) SCCP
address: RI=SSN_PC,PC=0.0.2,SSN=BSSAP
<0008> osmo_bsc_sigtran.c:482 (msc-0) A-interface: remote (MSC) SCCP
address: RI=SSN_PC,PC=0.0.1,SSN=BSSAP
<0013> input/ipa.c:265 accept()ed new link from 10.1.1.8 to port 3002
<0005> abis_nm.c:506 BTS0 feature 'EGPRS' reported via OML does not
match statically set feature: 0 != 1. Please fix.
<0005> abis_nm.c:506 BTS0 feature 'OML Alerts' reported via OML does not
match statically set feature: 1 != 0. Please fix.
<0005> abis_nm.c:506 BTS0 feature 'Fullrate speech V1' reported via OML
does not match statically set feature: 1 != 0. Please fix.
<0005> abis_nm.c:506 BTS0 feature 'Halfrate speech V1' reported via OML
does not match statically set feature: 1 != 0. Please fix.
<0005> abis_nm.c:506 BTS0 feature 'Fullrate speech EFR' reported via OML
does not match statically set feature: 1 != 0. Please fix.
<0005> abis_nm.c:506 BTS0 feature 'Fullrate speech AMR' reported via OML
does not match statically set feature: 1 != 0. Please fix.
<0005> abis_nm.c:506 BTS0 feature 'Halfrate speech AMR' reported via OML
does not match statically set feature: 1 != 0. Please fix.
<0005> abis_nm.c:573 OC=BTS(01) INST=(00,ff,ff): BTS0: ARI reported
sw[0/2]: osmobts is 0.8.1
<0005> abis_nm.c:445 BTS0 reported variant: omso-bts-trx
<0005> abis_nm.c:467 BTS0 Attribute Manufacturer Dependent State is
unreported
<0005> abis_nm.c:573 OC=BTS(01) INST=(00,ff,ff): BTS0: ARI reported
sw[0/1]: TRX_PHY_VERSION is Unknown
<0005> abis_nm.c:2809 IPA RSL CONNECT IP=0.0.0.0 PORT=3003 STREAM=0x00
<0013> input/ipa.c:265 accept()ed new link from 10.1.1.8 to port 3003
<0004> bsc_init.c:333 bootstrapping RSL for BTS/TRX (0/0) on ARFCN 868
using MCC-MNC 901-70 LAC=23 CID=0 BSIC=63
<0004> abis_rsl.c:2502 (bts=0,trx=0,ts=2,pchan=TCH/F_TCH/H_PDCH as
NONE): GPRS mode is 'none': not activating PDCH.
<0004> abis_rsl.c:2502 (bts=0,trx=0,ts=3,pchan=TCH/F_TCH/H_PDCH as
NONE): GPRS mode is 'none': not activating PDCH.
<0004> abis_rsl.c:2502 (bts=0,trx=0,ts=4,pchan=TCH/F_TCH/H_PDCH as
NONE): GPRS mode is 'none': not activating PDCH.
<0004> abis_rsl.c:2502 (bts=0,trx=0,ts=5,pchan=TCH/F_TCH/H_PDCH as
NONE): GPRS mode is 'none': not activating PDCH.
<0004> abis_rsl.c:2502 (bts=0,trx=0,ts=6,pchan=TCH/F_TCH/H_PDCH as
NONE): GPRS mode is 'none': not activating PDCH.
<0008> a_reset.c:92 A-RESET(msc-0)[0x1d6fff0]{DISC}: (re)sending BSSMAP
RESET message...
<0008> osmo_bsc_sigtran.c:92 Sending RESET to MSC:
RI=SSN_PC,PC=0.0.1,SSN=BSSAP
<001d> m3ua.c:507 XUA_AS(as-clnt-msc-0)[0x1d6f7e8]{AS_DOWN}: Event
AS-TRANSFER.req not permitted
<0008> a_reset.c:92 A-RESET(msc-0)[0x1d6fff0]{DISC}: (re)sending BSSMAP
RESET message...
<0008> osmo_bsc_sigtran.c:92 Sending RESET to MSC:
RI=SSN_PC,PC=0.0.1,SSN=BSSAP
<001d> m3ua.c:507 XUA_AS(as-clnt-msc-0)[0x1d6f7e8]{AS_DOWN}: Event
AS-TRANSFER.req not permitted
<0011> socket.c:266 unable to connect socket: (null):2905: Connection
refused
<0011> socket.c:279 no suitable remote addr found for: (null):2905
<0008> a_reset.c:92 A-RESET(msc-0)[0x1d6fff0]{DISC}: (re)sending BSSMAP
RESET message...
<0008> osmo_bsc_sigtran.c:92 Sending RESET to MSC:
RI=SSN_PC,PC=0.0.1,SSN=BSSAP
<001d> m3ua.c:507 XUA_AS(as-clnt-msc-0)[0x1d6f7e8]{AS_DOWN}: Event
AS-TRANSFER.req not permitted
^Csignal 2 received
<0005> bsc_init.c:96 shutting down OML for BTS 0

**** osmo-bsc.cfg:

e1_input
 e1_line 0 driver ipa
 ipa bind 10.1.1.7
cs7 instance 0
 point-code 0.0.2
 asp circ-OsmoBSC 2905 0 m3ua
  remote-ip 10.1.1.5
 sccp-address msc_remote
  point-code 0.0.1
line vty
 bind 10.1.1.7
msc
 msc-addr msc_remote
network
 network country code 901
 mobile network code 70
 bts 0
  type sysmobts
  band GSM-1800
  location_area_code 23
  ip.access unit_id 1800 0
  gprs mode none
  gprs nsvc 0 remote ip 192.168.0.9
  gprs nsvc 0 remote udp port 23000
  gprs nsvc 0 local udp port 23000
  gprs nsvc 0 nsvci 1800
  gprs nsei 1800
  gprs cell bvci 1800
  trx 0
   rf_locked 0
   arfcn 868
   nominal power 23
   timeslot 0
    phys_chan_config CCCH+SDCCH4
   timeslot 1
    phys_chan_config SDCCH8
   timeslot 2
    phys_chan_config TCH/F_TCH/H_PDCH
   timeslot 3
    phys_chan_config TCH/F_TCH/H_PDCH
   timeslot 4
    phys_chan_config TCH/F_TCH/H_PDCH
   timeslot 5
    phys_chan_config TCH/F_TCH/H_PDCH
   timeslot 6
    phys_chan_config TCH/F_TCH/H_PDCH
   timeslot 7
    phys_chan_config PDCH
e1_input
 e1_line 0 driver ipa
msc 0
 mgw remote-ip 10.1.1.6
 mgw remote-port 2427
 allow-emergency deny
 codec-list hr3

**** osmo-stp.cfg:

log stderr
  logging filter all 1
  logging color 1
  logging print category 1
  logging timestamp 0
  logging level lss7 debug
  logging level lsccp debug
  logging level lsua debug
  logging level lm3ua debug
cs7 instance 0
 xua rkm routing-key-allocation dynamic-permitted
 listen m3ua 2905
  accept-asp-connections dynamic-permitted
  local-ip 10.1.1.5
 listen sua 14001
  local-ip 10.1.1.5
line vty
 bind 10.1.1.5




More information about the OpenBSC mailing list