Feature #2818

Ad MGW / MGCP Emulation to TTCN-3 testsuite for BSC

Added by laforge about 1 year ago. Updated 11 months ago.

Target version:
Start date:
Due date:
% Done:


Spec Reference:


Right now, the BSC tests in TTCN-3 test a combination of BSC+MGW, which means that the MGCP protocol is not exposed to the tester. This means we cannot validate MGCP and e.g. cause CRCX / MDCX to fail in a controlled way to test error paths in OsmoBSC.

Let's implement a MGCP_Emulation that exists on the same level as the RSL_Emulation and BSSAP_Emulation, so that from a single test case we can speak to all relevant interfaces.


#1 Updated by laforge about 1 year ago

  • Status changed from New to In Progress

Daniel started to work on this yesterday, I am just late with creating the ticket.

#2 Updated by laforge 12 months ago

  • % Done changed from 20 to 40

I've forward-ported Daniels' latest code on top of current master (including my OsmoMSC MGCP related work). It's in the laforge/bsc branch, but currently untested.

#3 Updated by laforge 12 months ago

  • Assignee changed from daniel to laforge
  • % Done changed from 40 to 80

I've integrated the MGCP handling now into the 'bsc' test suite and it seems to be working in general so far. I'm seeing the two connections, one with CRCX+MDCX, the other just with CRCX.

Problems still seem to exist regarding SDP parsing/interoperability. The libosmo-mgcp-client generated MGCP does not parse at all using the Ericsson TITAN SDP parser. I was under the impression that ralated fixes had already been merged? Let's discuss this today at the sysmocom office.

#4 Updated by laforge 12 months ago

  • Priority changed from High to Urgent

#5 Updated by laforge 12 months ago

  • Assignee changed from laforge to dexter

Assigning this to dexter, who has been implementing some SDP related fixes in libosmo-mgcp-client recently. Does this resolve the problem? Can we remove the "HACK HACK HACK" part from MGCP_Emulation.ttcn now?

#6 Updated by dexter 12 months ago

As far as I can see now we could try to remove the hacks. The related test for osmo-mgw now also passes since I fixed the parameter ordering (

#7 Updated by laforge 11 months ago

please test if it works with "hacks" removed locally and then push a related change to osmo-ttcn3-hacks.

#8 Updated by dexter 11 months ago

I have removed the one hack I was aware of:

I also checked back with Daniel, he says the other stuff were just template modifications which he did not push.

#9 Updated by dexter 11 months ago

  • Status changed from In Progress to Feedback
  • Assignee changed from dexter to laforge

#10 Updated by laforge 11 months ago

  • Status changed from Feedback to Resolved
  • % Done changed from 80 to 100

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)