aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo_gsm_tester/templates/osmo-msc.cfg.tmpl
blob: 2893619b2f6d7dea72144f0d3404166a62bf37e4 (plain)
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
! 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}
  role asp
  sctp-role client
 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}