summaryrefslogtreecommitdiffstats
path: root/default/openbsc.cfg
blob: 05ec4c05cecf306623d6435d843b96b303d1afb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
!
! OpenBSC configuration saved from vty
!   !
password foo
!
line vty
 no login
!
network
! select county code and network code. 1 equals test network
 network country code 1
 mobile network code 1
! name the network
 short name OpenBSC
 long name OpenBSC
! define first bts (counted from 0)
 bts 0
  type bs11
  band GSM900
  location_area_code 1
  training_sequence_code 7
  base_station_id_code 63
  oml e1 line 0 timeslot 1 sub-slot full
  oml e1 tei 25
! define tranceiver for this bts (counted from 0)
  trx 0
! frequency number from 1 to 124 (GSM900)
   arfcn 121
   max_power_red 0
! all line numbers (0 in this case) must match your mISDN port
   rsl e1 line 0 timeslot 1 sub-slot full
   rsl e1 tei 1
    timeslot 0
     phys_chan_config CCCH+SDCCH4
     e1 line 0 timeslot 1 sub-slot full
    timeslot 1
     phys_chan_config SDCCH8
     e1 line 0 timeslot 2 sub-slot 1
    timeslot 2
     phys_chan_config TCH/F
     e1 line 0 timeslot 2 sub-slot 2
    timeslot 3
     phys_chan_config TCH/F
     e1 line 0 timeslot 2 sub-slot 3
    timeslot 4
     phys_chan_config TCH/F
     e1 line 0 timeslot 3 sub-slot 0
    timeslot 5
     phys_chan_config TCH/F
     e1 line 0 timeslot 3 sub-slot 1
    timeslot 6
     phys_chan_config TCH/F
     e1 line 0 timeslot 3 sub-slot 2
    timeslot 7
     phys_chan_config TCH/F
     e1 line 0 timeslot 3 sub-slot 3
! uncomment this for second TRX, if enabled on BS11
!  trx 1
!   arfcn 123
!   max_power_red 0
!   rsl e1 line 0 timeslot 1 sub-slot full
!   rsl e1 tei 2
!    timeslot 0
!     phys_chan_config TCH/F
!     e1 line 0 timeslot 4 sub-slot 0
!    timeslot 1
!     phys_chan_config TCH/F
!     e1 line 0 timeslot 4 sub-slot 1
!    timeslot 2
!     phys_chan_config TCH/F
!     e1 line 0 timeslot 4 sub-slot 2
!    timeslot 3
!     phys_chan_config TCH/F
!     e1 line 0 timeslot 4 sub-slot 3
!    timeslot 4
!     phys_chan_config TCH/F
!     e1 line 0 timeslot 5 sub-slot 0
!    timeslot 5
!     phys_chan_config TCH/F
!     e1 line 0 timeslot 5 sub-slot 1
!    timeslot 6
!     phys_chan_config TCH/F
!     e1 line 0 timeslot 5 sub-slot 2
!    timeslot 7
!     phys_chan_config TCH/F
!     e1 line 0 timeslot 5 sub-slot 3
! enable this for second BS11 on mISDN port 1
! bts 1
!  type bs11
!  band GSM900
!  location_area_code 2
!  training_sequence_code 7
!  base_station_id_code 63
!  oml e1 line 1 timeslot 6 sub-slot full
!  oml e1 tei 25
!  trx 0
!   arfcn 122
!   max_power_red 0
!   rsl e1 line 1 timeslot 6 sub-slot full
!   rsl e1 tei 1
!    timeslot 0
!     phys_chan_config CCCH+SDCCH4
!     e1 line 1 timeslot 7 sub-slot 0
!    timeslot 1
!     phys_chan_config SDCCH8
!     e1 line 1 timeslot 7 sub-slot 1
!    timeslot 2
!     phys_chan_config TCH/F
!     e1 line 1 timeslot 7 sub-slot 2
!    timeslot 3
!     phys_chan_config TCH/F
!     e1 line 1 timeslot 7 sub-slot 3
!    timeslot 4
!     phys_chan_config TCH/F
!     e1 line 1 timeslot 8 sub-slot 0
!    timeslot 5
!     phys_chan_config TCH/F
!     e1 line 1 timeslot 8 sub-slot 1
!    timeslot 6
!     phys_chan_config TCH/F
!     e1 line 1 timeslot 8 sub-slot 2
!    timeslot 7
!     phys_chan_config TCH/F
!     e1 line 1 timeslot 8 sub-slot 3
!  trx 1
!   arfcn 124
!   max_power_red 0
!   rsl e1 line 1 timeslot 6 sub-slot full
!   rsl e1 tei 2
!    timeslot 0
!     phys_chan_config TCH/F
!     e1 line 1 timeslot 9 sub-slot 0
!    timeslot 1
!     phys_chan_config TCH/F
!     e1 line 1 timeslot 9 sub-slot 1
!    timeslot 2
!     phys_chan_config TCH/F
!     e1 line 1 timeslot 9 sub-slot 2
!    timeslot 3
!     phys_chan_config TCH/F
!     e1 line 1 timeslot 9 sub-slot 3
!    timeslot 4
!     phys_chan_config TCH/F
!     e1 line 1 timeslot 10 sub-slot 0
!    timeslot 5
!     phys_chan_config TCH/F
!     e1 line 1 timeslot 10 sub-slot 1
!    timeslot 6
!     phys_chan_config TCH/F
!     e1 line 1 timeslot 10 sub-slot 2
!    timeslot 7
!     phys_chan_config TCH/F
!     e1 line 1 timeslot 10 sub-slot 3