Osmocom Top-level Makefile and dev tools
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
osmo-dev/virt-nitb
Neels Hofmeyr 51df7420b0 virt-nitb: tweaks 3 months ago
..
README add virt-nitb: a fully virtual network with 2 MS 3 months ago
audio_frame.sh virt-nitb: tweaks 3 months ago
call.sh virt-nitb: tweaks 3 months ago
create_hlr_subscribers.sh add virt-nitb: a fully virtual network with 2 MS 3 months ago
hangup.sh virt-nitb: tweaks 3 months ago
mobile.cfg virt-nitb: tweaks 3 months ago
mobile2.cfg virt-nitb: tweaks 3 months ago
osmo-bsc.cfg virt-nitb: tweaks 3 months ago
osmo-bts-virtual.cfg add virt-nitb: a fully virtual network with 2 MS 3 months ago
osmo-hlr.cfg add virt-nitb: a fully virtual network with 2 MS 3 months ago
osmo-mgw-for-bsc.cfg add virt-nitb: a fully virtual network with 2 MS 3 months ago
osmo-mgw-for-msc.cfg add virt-nitb: a fully virtual network with 2 MS 3 months ago
osmo-msc.cfg add virt-nitb: a fully virtual network with 2 MS 3 months ago
osmo-stp.cfg add virt-nitb: a fully virtual network with 2 MS 3 months ago
run.sh virt-nitb: tweaks 3 months ago

README

This is runs a complete core network with a virtual 2G BTS and two virtual 2G phones.

Steps:

- build osmocom-bb
git clone https://git.osmocom.org/osmocom-bb
cd osmocom-bb/src
make nofirmware
cd ../..
Put programs virtphy and mobile in $PATH, e.g.
ln -s $PWD/osmocom-bb/src/host/virt_phy/src/virtphy ~/bin/
ln -s $PWD/osmocom-bb/src/host/layer23/src/mobile/mobile ~/bin/

- also have these programs available in $PATH:
- osmo-hlr
- osmo-msc
- osmo-mgw
- osmo-stp
- osmo-bsc
- osmo-bts-virtual (from osmo-bts)
- did i miss one?

- prepare HLR db; call this while no other osmo-hlr is running:
./create_hlr_subscribers.sh

- use run.sh to launch N terminals with one component each:
./run.sh
when you hit enter in this terminal, the entire network is torn down. (so continue in another terminal)
- of course you can instead launch the ten-odd components manually...

- Two virtual phones should subscribe to the network as soon as the two 'mobile' are launched.
Watch for 'bssap': "Location Updating Accept" with wireshark tracing 'lo'

- Launch (the signalling of) a voice call:
./call.sh
...
./hangup.sh
There will be no voice RTP stream, but the MGWs will be set up for it and the call will remain open.

- ...