summaryrefslogtreecommitdiffstats
path: root/library/MGCP_Templates.ttcn
AgeCommit message (Collapse)AuthorFilesLines
2018-07-24library: Ensure setverdict(fail) is followed by mtc.stopDaniel Willmann1-1/+1
This will prevent subsequent failures from overwriting the verdict so we can easily see the root cause of the test failure. Using testcase.stop instead for errors internal to our test infrastructure to mark them as test errors instead of failed. Change-Id: Idc6819aaf0b01e70c38fad828dd44dcec6bdd778
2018-06-06MGCP_Test: Test non LCO crcxPhilipp Maier1-0/+9
When a CRCX without an LCO option (codec) is sent, then older versions of osmo-mgw will omit the port number in the SDP part of the response. Also no default codec is selected and reported back. This testcase pinpoints the problem. Change-Id: Ie16cdab936ce468fe378d4ec9e1c61f81c07fb4e Related: OS#2658
2018-03-29mgw: Add first tests for testing RTP streamsHarald Welte1-0/+10
The existing MGW tests were entirely on the MGCP side. Let's start some tests that exchange RTP frames with the MGW and validate that the MGW can actually act on what is configured via MGCP. Change-Id: If620d5f8927d0e3584e90a7a8f785c6fdd7c2d17
2018-01-30bsc: Handle wildcard endpoint name in MGCP CRCXHarald Welte1-0/+26
MGCP permits for the CallAgent to send a wildcarded endpoint name, at which point the MGW itself must allocate an endpoint name and return it as SpecificEndpointId parameter in the CRCX response. Change-Id: I704bbe4e11b27e83a6ae6a71aa6a715dc8301f34
2018-01-29MGCP_Templates: Some more convenience extraction functionsHarald Welte1-4/+17
Change-Id: I2fc121b1d90327c879a096773ecc5c04faad07d7
2018-01-26msc: Make TC_lu_and_mo_call succeed with osmo-mg enabled osmo-mscHarald Welte1-2/+2
This is for patch https://gerrit.osmocom.org/#/c/4980 in osmo-msc Change-Id: Ieec52d5e0da776d35d6a473bd726b368af9d5c66
2018-01-26msc: Rewrite TC_lu_and_mo_call() to be more modularHarald Welte1-9/+41
All relevant parameters are passed in in form of a CallParameters record, and the bulk of the work has been moved to BSC_ConnectionHandler. Change-Id: I932c6c9f7a48b6a1f1ec399e8bba6a413c8bc69e
2018-01-26MGCP_Emulation: More complete implementationHarald Welte1-0/+14
* re-introduce connection table * introduce unitdata_cb for connectionless MGCP messages (like AUEP) * rename MGCP_Emulation_CT members to avoid clashes with other similar component names when using "multiple inheritance" * Use HostName/PortNumber types on MGCP_conn_parameters * allow "bind to local UDP port only, permit any UDP source port" behavior * implement expect matching criteria + expect matching only on CRCX * add helper function f_create_mgcp_expect() like in other Emulations Change-Id: I953a91e663648715fa4fe98acacca393c8747001
2018-01-03Add comments with short module description on top of each fileHarald Welte1-0/+10
Change-Id: Id934d7a763b619d52cbec7de439b3708225b81f3
2017-11-30MGCP_Templates: Accept 200 and 250 as ACK for DLCXDaniel Willmann1-1/+1
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-30MGCP_Templates: Change channel codec to AMR since this is how it's usedDaniel Willmann1-2/+2
2017-11-29BSSMAP: Ignore RSPI for unknown endpoint/CICHarald Welte1-0/+6
2017-11-24MGCP_Templates: More templates (for the MGW side)Harald Welte1-0/+32
2017-11-24move MGCP utility functions from MSC_ConnectionHandler to MGCP_TemplatesHarald Welte1-0/+24
2017-11-24MGCP_Templates: Add missing 'any' for trans_id in tr_CRCX_ACKHarald Welte1-0/+1
2017-11-24ipa: Further progress on the bsc-nat test suiteHarald Welte1-0/+10
2017-11-24Move MGCP_Types.ttcn to library; extract MGCP_Templates.ttcn to libraryHarald Welte1-0/+188