Project

General

Profile

Actions

Bug #2856

closed

No automatic testing of IuCS interface

Added by laforge over 6 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
IuCS support
Target version:
-
Start date:
01/22/2018
Due date:
% Done:

100%

Resolution:
Spec Reference:
Tags:

Description

While we start to have some decent tests in our TTCN-3 based test suites for MGCP, BSSAP, MNCC, GSUP, etc., this all is 2G related testing so far.

In order to test the 3G side of things, we should start with tests for IuCS in OsmoMSC.

As TITAN can not speak APER (aligned packed encoding rules) directly, we will have to do some kind of external transcoding. The process roughly looks like this:
  • TITAN parses the RANAP asn1 syntax and generates its own structured data types from it
  • TITAN can generate BER (or XER?) encoder/decoder from this
  • we need to hook up some transcoder that bidirectionally converts BER<->APER. This could be either an external program, or we could link it as a library via C++ code into TITAN

See https://www.eclipse.org/forums/index.php/t/1070344/ for a description of the problem and the usual approach to solve it. I'm attaching the key source file which contains the encoder/decoder functions.

The converter could be generated either using our hacked version of asn1c (which we use in osmi-iuh), or even using other (free or non-free) tools.


Files

CAM_EncDec.cc CAM_EncDec.cc 6.28 KB example source file using the TTCN->BER->PER approach laforge, 01/22/2018 01:33 AM
iucs-auth-ttcn.pcap iucs-auth-ttcn.pcap 1.1 KB laforge, 04/20/2019 08:50 PM

Related issues

Precedes OsmoSGSN - Bug #2857: No automatic testing of IuPS interfaceClosedlynxis01/23/201801/23/2018

Actions
Precedes OsmoHNBGW - Bug #2858: No automatic testing of Iuh interfaceResolvedpespin01/23/201801/23/2018

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)