aboutsummaryrefslogtreecommitdiffstats
path: root/bsc-nat/MSC_Simulation.ttcn
diff options
context:
space:
mode:
Diffstat (limited to 'bsc-nat/MSC_Simulation.ttcn')
-rwxr-xr-xbsc-nat/MSC_Simulation.ttcn8
1 files changed, 6 insertions, 2 deletions
diff --git a/bsc-nat/MSC_Simulation.ttcn b/bsc-nat/MSC_Simulation.ttcn
index bc47f89f..14229cc6 100755
--- a/bsc-nat/MSC_Simulation.ttcn
+++ b/bsc-nat/MSC_Simulation.ttcn
@@ -38,7 +38,8 @@ modulepar {
function main(charstring local_ip, PortNumber local_port,
MSC_SCCP_MTP3_parameters sccp_pars,
- SCCP_PAR_Address sccp_addr_own, charstring id) runs on MSC_CT
+ SCCP_PAR_Address sccp_addr_own,
+ BssmapCreateCallback cb, charstring id) runs on MSC_CT
{
/* create components */
vc_IPA := IPA_Emulation_CT.create(id & "-IPA");
@@ -64,7 +65,10 @@ function main(charstring local_ip, PortNumber local_port,
vc_IPA.start(IPA_Emulation.main_server(local_ip, local_port));
vc_SCCP.start(SCCPStart(sccp_pars));
- vc_BSSMAP.start(RAN_Emulation.main(MSC_ConnectionHandler.MSC_RanOps, id & "-BSSMAP"));
+
+ var RanOps ranops := MSC_ConnectionHandler.MSC_RanOps;
+ ranops.create_cb := cb;
+ vc_BSSMAP.start(RAN_Emulation.main(ranops, id & "-BSSMAP"));
/* wait until termination of respective components */
vc_IPA.done;