osmo-nitb-master: Add default config file for osmo-bsc_nat
Change-Id: I44bb395009582f5e1399f277e15203553c2dcf78 Related: OS#1700changes/26/14526/2
parent
3b96cf3bb4
commit
ec06cc5981
|
@ -42,6 +42,8 @@ RUN cd openbsc/openbsc && \
|
|||
VOLUME /data
|
||||
|
||||
COPY openbsc.cfg /data/openbsc.cfg
|
||||
COPY osmo-bsc-nat.cfg /data/osmo-bsc-nat.cfg
|
||||
COPY bscs.config /data/bscs.config
|
||||
|
||||
WORKDIR /data
|
||||
CMD ["/usr/local/bin/osmo-nitb"]
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
nat
|
||||
bsc 0
|
||||
token BSC0
|
||||
location_area_code 1
|
||||
description bsc
|
||||
max-endpoints 32
|
||||
paging forbidden 0
|
||||
osmux on
|
||||
bsc 1
|
||||
token BSC1
|
||||
location_area_code 2
|
||||
description bsc
|
||||
max-endpoints 32
|
||||
paging forbidden 0
|
||||
osmux on
|
||||
bsc 2
|
||||
token BSC2
|
||||
location_area_code 3
|
||||
description bsc
|
||||
max-endpoints 32
|
||||
paging forbidden 0
|
||||
osmux on
|
|
@ -0,0 +1,41 @@
|
|||
!
|
||||
! OsmoBSCNAT (0.12.0.266-2daa9) configuration saved from vty
|
||||
!!
|
||||
!
|
||||
log file /data/osmo-bsc_nat.log
|
||||
logging filter all 1
|
||||
logging color 0
|
||||
logging print category 1
|
||||
logging timestamp 1
|
||||
logging print extended-timestamp 1
|
||||
logging level force-all debug
|
||||
!
|
||||
line vty
|
||||
no login
|
||||
bind 0.0.0.0
|
||||
!
|
||||
mgcp
|
||||
bind ip 0.0.0.0
|
||||
bind port 2427
|
||||
rtp bts-base 4000
|
||||
rtp net-base 16000
|
||||
rtp ip-dscp 0
|
||||
no rtcp-omit
|
||||
sdp audio-payload number 126
|
||||
sdp audio-payload name AMR/8000
|
||||
loop 0
|
||||
number endpoints 32
|
||||
call-agent ip 127.0.0.1
|
||||
rtp transcoder-base 0
|
||||
transcoder-remote-base 4000
|
||||
nat
|
||||
msc ip 127.0.0.1
|
||||
msc port 5100
|
||||
token foo
|
||||
timeout auth 2
|
||||
timeout ping 20
|
||||
timeout pong 5
|
||||
ip-dscp 0
|
||||
bscs-config-file bscs.config
|
||||
access-list msceven imsi-allow ^[0-9]*[24680]$
|
||||
access-list mscodd imsi-allow ^[0-9]*[13579]$
|
Loading…
Reference in New Issue