summaryrefslogtreecommitdiffstats
path: root/bsc-nat
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-12-14 21:55:10 +0100
committerHarald Welte <laforge@gnumonks.org>2017-12-15 14:19:10 +0100
commitcc7e4dc40e688b0e51035727030e20522b71d597 (patch)
treecb64b9f4c5ee42d10cf1e8a30bbb58082a49c961 /bsc-nat
parent9958a4d7c8a179f0512442d61bd078e49bfd51b7 (diff)
BSSMAP_Templates: Enable use for AoIP, not just E1-CIC
Diffstat (limited to 'bsc-nat')
-rw-r--r--bsc-nat/MSC_ConnectionHandler.ttcn4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsc-nat/MSC_ConnectionHandler.ttcn b/bsc-nat/MSC_ConnectionHandler.ttcn
index 6a9a57f..3fc11e9 100644
--- a/bsc-nat/MSC_ConnectionHandler.ttcn
+++ b/bsc-nat/MSC_ConnectionHandler.ttcn
@@ -86,9 +86,9 @@ function main(integer connection_id, integer e1_timeslot) runs on MSC_ConnHdlr {
[g_state == MSC_STATE_NONE] BSSAP.receive(tr_BSSMAP_ComplL3) -> value bssap {
/* respond with ASSIGNMENT CMD */
g_state := MSC_STATE_WAIT_ASS_COMPL;
- BSSAP.send(ts_BSSMAP_AssignmentReq(0, e1_timeslot));
+ BSSAP.send(ts_BSSMAP_AssignmentReq(ts_BSSMAP_IE_CIC(0, e1_timeslot)));
}
- [g_state == MSC_STATE_WAIT_ASS_COMPL] BSSAP.receive(tr_BSSMAP_AssignmentComplete) {
+ [g_state == MSC_STATE_WAIT_ASS_COMPL] BSSAP.receive(tr_BSSMAP_AssignmentComplete(?,*)) {
/* FIXME: Send MGCP CRCX */
g_state := MSC_STATE_WAIT_CRCX_ACK;
var MgcpTransId trans_id := f_mgcp_alloc_tid();