Daniel Willmann
961e5c9d3b
MGCP_Templates: Accept 200 and 250 as ACK for DLCX
...
Both codes are valid as response to a DLCX, see RFC3661 Ch 2.2:
"""
The 250 response code can be used to acknowledge a successful completion
of a DeleteConnection command. However, a 200 response code is also
appropriate.
"""
2017-11-30 16:43:36 +01:00
Daniel Willmann
fbef714394
MGCP_Templates: Change channel codec to AMR since this is how it's used
2017-11-30 16:43:11 +01:00
Daniel Willmann
04541d715e
bsc-nat: Wait for the second MDCX in the BSC_MS conn handler
...
The bsc-nat sends another MDCX so account for that in the state machine
2017-11-30 13:14:37 +01:00
Harald Welte
e98bb2e153
BSSMAP: Ignore RSPI for unknown endpoint/CIC
2017-11-29 12:09:48 +01:00
Harald Welte
1218883e15
IPA_Emulation: Properly dissect multiple IPA messages in one TCP segment
2017-11-29 12:03:32 +01:00
Harald Welte
26595451b3
IPA_CodecPort: Wrap f_IPL4_setGetMsgLen function
2017-11-29 11:46:24 +01:00
Harald Welte
92e9816df8
IPA: Add support for IPAC_IDTAG_OSMO_RAND
...
this is a non-standard RAND value used by osmo-bsc_nat. The change
requires us to also properly define the individual IpaCcmGetPart
with a one-byte length value at its start.
2017-11-29 11:09:13 +01:00
Harald Welte
a1f0cbcfbe
ipa: PDU_IPA_CCM: Missing CROSSTAG to decode get/resp/other
2017-11-29 11:04:40 +01:00
Harald Welte
643e2a60b0
add RSL_Types.ttcn - untested definitions defining GSM A-bis RSL
2017-11-27 15:03:18 +01:00
Harald Welte
28d943ef35
ts_BSSMAP_HandoReq: Hand in raw list as argument, not IE type
...
Also, add new ts_BSSMAP_Paging() template.
2017-11-25 15:01:16 +01:00
Harald Welte
79feba5ed4
rename 'ipa' directory to 'bsc-nat'
2017-11-25 02:32:50 +01:00
Harald Welte
92632e1dce
ipa: Enable configuration on whether MGCP should use old or new IPA stream ID
2017-11-25 02:31:20 +01:00
Harald Welte
1dd8f3713b
IPA_Emulation: Introduce template for ASP_IPA_Unitdata
2017-11-25 02:25:27 +01:00
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