blob: 6111b2420ecb78f7ff8fb7fca691b4752201c223 [file] [log] [blame]
Oliver Smithb28a9102022-01-17 15:59:02 +01001# Terminal for launching Osmocom programs
Oliver Smithcd472bd2022-01-17 15:59:31 +01002# Supported: urxvt, xterm, tmux
Oliver Smithb28a9102022-01-17 15:59:02 +01003TERMINAL="urxvt"
4
Neels Hofmeyr697a6172018-08-22 17:32:21 +02005ETH_DEV=eth0
6APN_DEV=apn0
7
Neels Hofmeyrfc7b8ed2021-06-22 00:35:18 +02008TO_RAN_IP="127.0.0.3"
9TO_RAN_IU_IP="127.0.0.4"
Neels Hofmeyrcbdd7182019-03-04 00:39:32 +010010TO_SIP_IP="127.0.0.2"
11
12STATSD_IP="127.0.0.1"
Neels Hofmeyr697a6172018-08-22 17:32:21 +020013
14MCC=001
15MNC=01
16
Neels Hofmeyrcbdd7182019-03-04 00:39:32 +010017TCH_TYPE=TCH/H
Oliver Smithc819ea72022-02-24 14:03:21 +010018TCH_TYPE2=TCH/F
Neels Hofmeyr31782902018-08-23 14:16:49 +020019
Neels Hofmeyrcbdd7182019-03-04 00:39:32 +010020BTS_BAND=GSM-1800
21BTS_LAC=23
Neels Hofmeyr1d6a2b32019-12-04 02:53:07 +010022BTS_MAX_POWER_RED=22
Oliver Smithc819ea72022-02-24 14:03:21 +010023BTS_CODEC_SUPPORT=fr amr efr
Neels Hofmeyrcbdd7182019-03-04 00:39:32 +010024BTS_200mW=23
Neels Hofmeyr31782902018-08-23 14:16:49 +020025
Neels Hofmeyrcbdd7182019-03-04 00:39:32 +010026BTS0_DESCRIPTION="my test BTS 0"
27BTS0_IPA_UNIT="0 0"
28BTS0_ARFCN=123
29BTS0_CI=${BTSn}
30BTS0_BSIC=${BTSn}
31BTS0_GPRS_MODE=gprs
32BTS0_GB_REMOTE_IP=${SGSN_IP}
33BTS0_GB_REMOTE_PORT=${SGSN_GB_PORT}
34BTS0_NSVCI=${BTSn}
35BTS0_NSEI="${BTSn_NSVCI}"
36# according to osmo-bsc vty, BVCI must be >= 2
37BTS0_BVCI="100${BTSn}"
38BTS0_BAND=${BTS_BAND}
39BTS0_LAC=${BTS_LAC}
40BTS0_MAX_POWER_RED=${BTS_MAX_POWER_RED}
41BTS0_NOMINAL_POWER=${BTS_200mW}
42BTS0_CODEC_SUPPORT=${BTS_CODEC_SUPPORT}
Oliver Smith321a47c2022-02-21 16:25:37 +010043# set to 1 to have osmo-dev run osmo-bts-virtual
44BTS0_RUN_IN_OSMO_DEV=0
45BTS0_IP="127.0.0.12"
Neels Hofmeyrcbdd7182019-03-04 00:39:32 +010046
47BTS1_DESCRIPTION="my test BTS 1"
48BTS1_IPA_UNIT="1 0"
49BTS1_ARFCN=125
50BTS1_CI=${BTSn}
51BTS1_BSIC=${BTSn}
52BTS1_GPRS_MODE=gprs
53BTS1_GB_REMOTE_IP=${GBPROXY_IP}
54BTS1_GB_REMOTE_PORT=${GBPROXY_GB_PORT}
55BTS1_NSVCI=${BTSn}
56BTS1_NSEI="${BTSn_NSVCI}"
57BTS1_BVCI="100${BTSn}"
58BTS1_BAND=${BTS_BAND}
59BTS1_LAC=${BTS_LAC}
60BTS1_MAX_POWER_RED=${BTS_MAX_POWER_RED}
61BTS1_NOMINAL_POWER=${BTS_200mW}
62BTS1_CODEC_SUPPORT=${BTS_CODEC_SUPPORT}
Oliver Smith321a47c2022-02-21 16:25:37 +010063# set to 1 to have osmo-dev run osmo-bts-virtual
64BTS1_RUN_IN_OSMO_DEV=0
65BTS1_IP="127.0.0.13"
Neels Hofmeyrcbdd7182019-03-04 00:39:32 +010066
Neels Hofmeyrfc7b8ed2021-06-22 00:35:18 +020067HLR_IP=127.0.0.5
Neels Hofmeyr697a6172018-08-22 17:32:21 +020068
69MSC_PC="0.23.1"
Neels Hofmeyrcbdd7182019-03-04 00:39:32 +010070MSC_MNCC_SOCKET="/tmp/mncc_socket"
71MSC_MNCC="internal"
72# MSC_MNCC="external ${MSC_MNCC_SOCKET}"
Neels Hofmeyr697a6172018-08-22 17:32:21 +020073
Neels Hofmeyrcbdd7182019-03-04 00:39:32 +010074AUTH=required
75ENCR_A5=1
Neels Hofmeyr31782902018-08-23 14:16:49 +020076
Neels Hofmeyrcbdd7182019-03-04 00:39:32 +010077SGSN_IP="${TO_RAN_IP}"
Neels Hofmeyr697a6172018-08-22 17:32:21 +020078SGSN_PC="0.23.2"
79SGSN_GB_PORT=23000
80
Neels Hofmeyrcbdd7182019-03-04 00:39:32 +010081GBPROXY_IP="${TO_RAN_IP}"
Neels Hofmeyr697a6172018-08-22 17:32:21 +020082GBPROXY_GB_PORT=7777
Oliver Smith0d9bacc2022-02-23 12:43:37 +010083GBPROXY_RUN_IN_OSMO_DEV=0
Neels Hofmeyr697a6172018-08-22 17:32:21 +020084
Neels Hofmeyrcbdd7182019-03-04 00:39:32 +010085PCU_GB_LOCAL_PORT=23000
Neels Hofmeyr697a6172018-08-22 17:32:21 +020086
Neels Hofmeyrcbdd7182019-03-04 00:39:32 +010087MGW4MSC_IP="${TO_RAN_IU_IP}"
88MGW4MSC_PORT="2427"
Neels Hofmeyrfc7b8ed2021-06-22 00:35:18 +020089MGW4MSC_VTY_IP="127.0.0.6"
Neels Hofmeyr697a6172018-08-22 17:32:21 +020090
Oliver Smith97f58d42022-02-21 15:10:35 +010091MGW4BSC0_IP="${TO_RAN_IP}"
92MGW4BSC0_PORT="2427"
93MGW4BSC0_VTY_IP="127.0.0.7"
Neels Hofmeyr697a6172018-08-22 17:32:21 +020094
Oliver Smithe7658192022-02-21 15:31:20 +010095MGW4BSC1_IP="127.0.0.11"
96MGW4BSC1_PORT="2427"
97MGW4BSC1_VTY_IP="127.0.0.11"
98
Oliver Smith74e15842022-02-25 11:15:48 +010099MGW4BSCNAT_IP="127.0.0.14"
100MGW4BSCNAT_PORT="2427"
101MGW4BSCNAT_VTY_IP="127.0.0.14"
102
Oliver Smithe7658192022-02-21 15:31:20 +0100103BSC_COUNT=1
104
Oliver Smith97f58d42022-02-21 15:10:35 +0100105BSC0_IP="${TO_RAN_IP}"
106BSC0_PC="0.23.3"
107BSC0_CODEC_LIST="hr3"
Neels Hofmeyr697a6172018-08-22 17:32:21 +0200108
Oliver Smithe7658192022-02-21 15:31:20 +0100109# Enabled only when BSC_COUNT=2
110BSC1_IP="127.0.0.10"
111BSC1_PC="0.23.4"
Oliver Smithc819ea72022-02-24 14:03:21 +0100112BSC1_CODEC_LIST="fr2"
Oliver Smithe7658192022-02-21 15:31:20 +0100113
Neels Hofmeyrcbdd7182019-03-04 00:39:32 +0100114HNBGW_PC="0.3.0"
115HNBGW_IP="${TO_RAN_IP}"
116
117HNODEB0_IP="192.168.0.124"
118HNODEB0_UARFCN=4357
119HNODEB0_SCRAMBLE=157
120HNODEB0_LAC=1${HNODEB0_UARFCN}
121HNODEB0_RAC=11
122
123HNODEB1_IP="192.168.0.23"
124HNODEB1_UARFCN=4358
125HNODEB1_SCRAMBLE=258
126HNODEB1_LAC=1${HNODEB1_UARFCN}
127HNODEB1_RAC=22
128
129GGSN_IP="${TO_RAN_IU_IP}"
Neels Hofmeyr697a6172018-08-22 17:32:21 +0200130GGSN_DNS0="192.168.0.1"
131GGSN_DNS1="9.9.9.9"
132GGSN_NET="192.168.42.0/24"
Neels Hofmeyrcbdd7182019-03-04 00:39:32 +0100133GGSN_GTP_STATE_DIR=/tmp
Neels Hofmeyr697a6172018-08-22 17:32:21 +0200134
Neels Hofmeyrcbdd7182019-03-04 00:39:32 +0100135# Enabled only when MSC_MNCC != "internal"
Neels Hofmeyrba0a8282019-12-04 03:57:56 +0100136SIPCON_SIP="${TO_SIP_IP}"
137SIPCON_SIP_PORT="5060"
138
Oliver Smitha3a1a0d2021-12-14 16:27:10 +0100139STP_CN_IP="127.0.0.1"
140STP_RAN_IP="127.0.0.1"
141# Set STP_CN_IP different from STP_RAN_IP, to run a second OsmoSTP and
142# OsmoBSCNAT to connect both
143# STP_RAN_IP="127.0.0.2"
144
145# Enabled only when STP_CN_IP != STP_RAN_IP
Oliver Smith97f58d42022-02-21 15:10:35 +0100146BSCNAT_CN_PC="${BSC0_PC}"
Oliver Smitha3a1a0d2021-12-14 16:27:10 +0100147BSCNAT_CN_IP="127.0.0.3"
148BSCNAT_RAN_PC="${MSC_PC}"
149BSCNAT_RAN_IP="127.0.0.4"
150
Oliver Smithd264ec62022-02-23 10:36:23 +0100151# Set to 1 to have osmo-dev run mobile and virtphy from osmocom-bb
152MS_RUN_IN_OSMO_DEV=0
153MS_SUBSCR_ID="1337"
154MS_IMSI="001010000000000"
155MS_KI="00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00"
156MS_MSISDN="555"
157
Neels Hofmeyrba0a8282019-12-04 03:57:56 +0100158# PBX_SERVER:
Oliver Smith667f19b2019-11-08 18:16:30 +0100159# "kamailio" -- launch kamailio
160# "freeswitch" -- launch freeswitch
161# "none" -- launch no server, use remotely running SIP server
Neels Hofmeyrba0a8282019-12-04 03:57:56 +0100162PBX_SERVER="kamailio"
163PBX_SIP="${TO_SIP_IP}"
164PBX_SIP_PORT=5069
Neels Hofmeyrfc7b8ed2021-06-22 00:35:18 +0200165PBX_LO_IP=127.0.0.8
Neels Hofmeyr697a6172018-08-22 17:32:21 +0200166
Neels Hofmeyrcbdd7182019-03-04 00:39:32 +0100167LOG_OUTPUT0_TYPE=stderr
168LOG_OUTPUT1_TYPE=file current_log/${_name}.log
Neels Hofmeyrfc7b8ed2021-06-22 00:35:18 +0200169LOG_OUTPUT2_TYPE=gsmtap 127.0.0.9