sysmocom: Introduce suite to test emergency calls
Change-Id: I2e851c94311ded0abd4ff072b8cc72316d972750
diff --git a/src/osmo_gsm_tester/templates/osmo-bsc.cfg.tmpl b/src/osmo_gsm_tester/templates/osmo-bsc.cfg.tmpl
index a03bb0b..66fa9e5 100644
--- a/src/osmo_gsm_tester/templates/osmo-bsc.cfg.tmpl
+++ b/src/osmo_gsm_tester/templates/osmo-bsc.cfg.tmpl
@@ -58,6 +58,11 @@
% endif
ip.access unit_id ${bts.ipa_unit_id} 0
oml ip.access stream_id ${bts.stream_id} line 0
+% if bts.get('emergency_calls_allowed', False):
+ rach emergency call allowed 1
+% else:
+ rach emergency call allowed 0
+%endif
% if bts.get('sgsn', False) and bts['gprs_mode'] != 'none':
gprs mode ${bts.gprs_mode}
gprs routing area ${bts.routing_area_code}
@@ -105,6 +110,7 @@
msc
core-mobile-country-code ${bsc.net.mcc}
core-mobile-network-code ${bsc.net.mnc}
+ allow-emergency allow
ip.access rtp-base 25000
mgw remote-ip ${mgw.ip_address.addr}
mgw remote-port 2427