IMPORTANT NOTICE: This page contains information about a of the Osmocom software. This legacy version is . If you use it, don't be surprised if it doesn't work. It was your choice to ignore man-years worth of developments, improvements and fixes. Please migrate to the active/supported software (Osmocom CNI, consisting of OsmoBSC, OsmoMSC, OsmoHLR, OsmoSTP, OsmoMGW - a NITB style setup is described at Osmocom_Network_In_The_Box).
Holger Freyther has written a Software Basestation in Smalltalk. This software is used to re-produce defects but can be generally useful to people that want to understand the Abis protocol spoken between the BTS and the BSC. The Software BTS is implemented in Smalltalk, an modern object orientated scripting language, and there are Debian packages that make installing it easy.
Installation on GNU/Debian 6.0¶
# Become the superuser of your system $ sudo -s # Register the repository $ echo 'deb http://download.opensuse.org/repositories/home:/zecke23/Debian_6.0/ ./' > /etc/apt/sources.list.d/osmocom.list # Trust the repository key $ wget --quiet -O /dev/stdout http://download.opensuse.org/repositories/home:/zecke23/Debian_6.0/Release.key | apt-key add - OK # Update and install the packages $ aptitude update; aptitude install gnu-smalltalk osmo-st-openbsc-test
# Launching the GNU Smalltalk interpreter $ gst # Loading the [[FakeBTS]] package containing the software BTS st> [[PackageLoader]] fileInPackage: #FakeBTS # Creating a new bts, configuring it and connecting to a BSC/NITB st> bts := [[FakeBTS]].BTS new. st> bts btsId: '1/0/0' st> bts connect: 'localhost'; waitForBTSReady. # Using the Testcase class and request a channel st> test := [[FakeBTS]].OpenBSCTest initWith: bts. st> lchan := test requireAnyChannel
Looking at simple Tests¶
[http://cgit.osmocom.org/smalltalk/osmo-st-openbsc-test/tree/imsi_detach/IMSIDetach.st] contains an example test to do an IMSI detach.