osmo-gsm-tester/src/osmo_gsm_tester/templates/osmo-msc.cfg.tmpl

58 lines
1.3 KiB
Cheetah

! Configuration rendered by osmo-gsm-tester
log stderr
logging filter all 1
logging color 1
logging print category 1
logging print category-hex 0
logging print level 1
logging print file basename last
logging print extended-timestamp 1
logging level set-all debug
line vty
no login
bind ${msc.ip_address.addr}
network
network country code ${msc.net.mcc}
mobile network code ${msc.net.mnc}
short name ${msc.net.short_name}
long name ${msc.net.long_name}
encryption ${msc.net.encryption}
authentication ${msc.net.authentication}
mgw 0
remote-ip ${mgw.ip_address.addr}
remote-port 2427
local-ip ${msc.ip_address.addr}
cs7 instance 0
point-code 0.0.1
asp asp0 2905 0 m3ua
local-ip ${msc.ip_address.addr}
remote-ip ${stp.ip_address.addr}
as as0 m3ua
asp asp0
routing-key 1 0.0.1
msc
osmux ${msc.use_osmux}
assign-tmsi
%if msc.get('emergency_call_msisdn', None) is not None:
emergency-call route-to-msisdn ${msc.emergency_call_msisdn}
%endif
cs7-instance-iu 0
cs7-instance-a 0
ctrl
bind ${msc.ip_address.addr}
smpp
local-tcp-ip ${msc.ip_address.addr} 2775
system-id test-msc
policy ${smsc.policy}
%for esme in smsc.esme_list:
esme ${esme.system_id}
% if esme.password == '':
no password
% else:
password ${esme.password}
% endif
default-route
%endfor
hlr
remote-ip ${hlr.ip_address.addr}