Commit Graph

193 Commits

Author SHA1 Message Date
Harald Welte f09d1bad0a ipa: Ability to transport MGCP over UDP rather than IPA Mux 2017-11-25 02:20:13 +01:00
Harald Welte 5aa1803ef9 Move MGCP_CodecPort to library directory 2017-11-25 02:05:04 +01:00
Harald Welte a34e47f2e4 BSC_MS_ConnectionHandler: Use actual state machine to enforce order of events 2017-11-25 01:28:54 +01:00
Harald Welte 98f1f410b2 MSC_ConnectionHandler: Add 5s guard timer 2017-11-25 01:21:49 +01:00
Harald Welte 8f3a962125 BSC_MS_ConnectionHandler: Update FIXME/TODOs 2017-11-25 01:19:13 +01:00
Harald Welte 2fb0479512 ipa: Make test actually terminate. Ensure termination after 30s. 2017-11-25 01:14:35 +01:00
Harald Welte 9ca9eb1648 BSSMAP_Emulation: Set verdict to 'fail' in various lookup error paths 2017-11-25 00:50:43 +01:00
Harald Welte 0a4317a805 ipa: Close SCCP Connection from MSC side; set verdict on BSC side 2017-11-25 00:50:31 +01:00
Harald Welte be620f6da6 ipa: Give all components proper names to aid log interpretation 2017-11-25 00:23:54 +01:00
Harald Welte 66fecd46a8 MSC_ConnectionHandler: Fix E1 timeslots to be monotonically incrementing 2017-11-24 23:54:44 +01:00
Harald Welte 8ac9f022d7 MSC_ConnectionHandler: Use "Call Control" as release cause 2017-11-24 23:48:14 +01:00
Harald Welte 11e78084fe MSC_ConnectionHandler: Use correct (receive) template for ClearComplete 2017-11-24 23:42:07 +01:00
Harald Welte c859df518f BSC_MS_ConnectionHandler: implement MGCP request->response handling 2017-11-24 23:41:41 +01:00
Harald Welte 525a9c118d BSSMAP_Emulation: Fix regex for extraction of MGW endpoint number
Don't use perl regex syntax ".*' but simply "*"
2017-11-24 23:40:41 +01:00
Harald Welte 1b2748eb7b BSSMAP_Emulation: CIC extraction must happen on BSC side, not MSC side 2017-11-24 23:40:16 +01:00
Harald Welte 9002957584 MGCP_Templates: More templates (for the MGW side) 2017-11-24 23:39:50 +01:00
Harald Welte 4c11d56f2d move MGCP utility functions from MSC_ConnectionHandler to MGCP_Templates 2017-11-24 23:39:00 +01:00
Harald Welte 7dc5d37b33 MGC_Types: Add work-around for failure to distinguish between Cmd + Resp 2017-11-24 20:52:06 +01:00
Harald Welte 51f34ada61 MGCP_Templates: Add missing 'any' for trans_id in tr_CRCX_ACK 2017-11-24 20:52:06 +01:00
Harald Welte c82eef458d ipa: Further progress on the bsc-nat test suite 2017-11-24 20:52:06 +01:00
Harald Welte 19ad52b3b9 IPA_Types: Fix length encoding during transmission of OSMO_EXT packets
The extra byte for further demuxing must be included when computing
the payload length from the (classic) IPA header point of view.
2017-11-24 20:52:06 +01:00
Harald Welte 4029e8cd03 Move MGCP_Types.ttcn to library; extract MGCP_Templates.ttcn to library 2017-11-24 20:52:06 +01:00
Harald Welte 2a8f847f6f WIP: attempt at IPA extended StreamID support 2017-11-24 20:52:06 +01:00
Daniel Willmann fd338332bf Add new parameter to plug osmo-bsc_nat in the middle 2017-11-24 17:23:23 +01:00
Harald Welte 7ed2b08006 BSSMAP_Templates: fix unbound rR_Cause member in Assignment Complete 2017-11-23 18:52:13 +01:00
Harald Welte 5cc4aa2f06 BSSMAP_Emulation: Fix handling of userData
We cannot pass an unbound octetstring record member into a template
argument of a function :/
2017-11-23 18:51:28 +01:00
Harald Welte ab05d6cf97 BSSMAP_Templates: Correct name is AssignmentReq, not AssignmentCmd 2017-11-23 18:50:52 +01:00
Harald Welte b3414b2172 ipa: First version that emulates both MSC and BSC up to ASSIGNMENT REQ 2017-11-23 18:23:38 +01:00
Harald Welte 365f4edbd8 IPA/MSC/BSC Emulation: Framework for handling multiple SCCP connections 2017-11-23 00:00:43 +01:00
Harald Welte c76f29f094 ipa: Pull everything together: L3->BSSAP->SCCP->IPA 2017-11-22 12:46:46 +01:00
Harald Welte d86cdc6811 Expand IPA emulaitpn code + example to include CCM and SCCP binding 2017-11-22 00:45:07 +01:00
Harald Welte 00566f55f0 initial import of new IPA test port 2017-11-21 16:43:49 +01:00
Harald Welte f6dd64dd52 msc_tests: Initial skeleton for osmo-msc testing over SCCP/M3UA 2017-11-20 21:52:07 +01:00
Harald Welte 874f24bed5 Remove BSSAPP, BSSGP, BSSMAP, GTP, GTPv2, ISUP, LLC, MobileL3, NS, SNDCP
All of those now have separate upstream repositories on git://git.eclipse.org/gitroot/titan
and we don't need to keep a copy around
2017-11-19 10:07:54 +01:00
Harald Welte 04d74cdcde Add ASP_ConnId_ReadyToRelease in all translation ports using IPL4asp
This is required after update to IPL4asp R.29.A of 2017-Oct-17
2017-11-19 09:29:51 +01:00
Harald Welte cda8b9add1 mgw: Use dynamic runtime to allow use with log output plugins 2017-11-19 01:47:40 +01:00
Harald Welte 34ca5b4796 mgw: Fix SDP transport string "RTP/AVP" (one surplus "A" removed) 2017-11-18 22:15:10 +01:00
Harald Welte 2bcfd3a00b mgw: Include mandatory connection-id in MDCX 2017-11-18 22:14:35 +01:00
Harald Welte 5e5cce533a mgw: Add missing audio codec specification "a:PCMU"
Let's make sure we request a reasonable audio codec in the
LocalConnectionOptions
2017-11-18 22:14:08 +01:00
Harald Welte e0b331fa69 mgw: update comment to reflect implemented tests 2017-11-18 20:35:40 +01:00
Harald Welte 8d2fbb4d61 mgw: Move f_mgcp_par_append() to top of file 2017-11-18 20:34:21 +01:00
Harald Welte 0d19861719 mgw: Check for 535 in case of invalid packetization period 2017-11-18 19:58:31 +01:00
Harald Welte f53f1647bc mgw: Test for duplicate transmission of DLCX 2017-11-18 19:57:11 +01:00
Harald Welte 6d167f8472 mgw: Add test cases for invalid DLCX commands 2017-11-18 19:41:35 +01:00
Harald Welte 10889c1d13 mgw: generalize f_dlcx versions, avoiding copy+paste 2017-11-18 19:40:31 +01:00
Harald Welte 79181ffc8b mgw: Test DLCX in three diffeent (valid) configurations
DLCX can be with EP-only, with EP+CallId or with EP+CallId+ConnId,
let's test all three valid cases.
2017-11-18 19:26:25 +01:00
Harald Welte 9988d28228 mgw: Avoid copy+paste of CRCX_ACK template 2017-11-18 19:22:00 +01:00
Harald Welte edc45c19fd mgw: Delete all connections of EP before starting a test case
as part of f_init() we now issue an endpoint-wide DLCX without
call-id or connection-id.  This means that the endpoint should be
in a pristine state after f_init() returns.
2017-11-18 19:15:05 +01:00
Harald Welte c40e0c3cbd mgw: make f_dlcx_{ok,ignore}() support EP, EP+call_id or EP+call_id+conn_id
A MGCP DLCX can contain either only the EP, or EP+call_id or
EP+call_id+conn_id in order to specify what shall be deleted.  Let's
structure ts_DLCX() and the f_dlcx_{ok,ignore}() function in a way to
support this in an intuitive way.
2017-11-18 19:08:22 +01:00
Harald Welte a01e38d371 mgw: Handle MgcpParameterList more elegantly, less repetition 2017-11-18 18:40:01 +01:00