Feature #2818
closed
Ad MGW / MGCP Emulation to TTCN-3 testsuite for BSC
Added by laforge over 6 years ago.
Updated about 6 years ago.
Description
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.
- Status changed from New to In Progress
Daniel started to work on this yesterday, I am just late with creating the ticket.
- % 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.
- 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.
- Priority changed from High to Urgent
- 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?
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 (https://gerrit.osmocom.org/#/c/6217/).
please test if it works with "hacks" removed locally and then push a related change to osmo-ttcn3-hacks.
I have removed the one hack I was aware of: https://gerrit.osmocom.org/6323
I also checked back with Daniel, he says the other stuff were just template modifications which he did not push.
- Status changed from In Progress to Feedback
- Assignee changed from dexter to laforge
- Status changed from Feedback to Resolved
- % Done changed from 80 to 100
Also available in: Atom
PDF