path: root/mgw/
AgeCommit message (Collapse)AuthorFilesLines
2019-05-27Add Osmux support and tests for MGWPau Espin Pedrol1-0/+1
Depends: osmo-mgw.git Iac073f1db46569b46eddeaecc9934a2986bd50f1 Change-Id: Ibb58b2a4e08d6f30cfe347c217794d0d1310954f
2019-02-20MGCP_Test: Add VTY accessPhilipp Maier1-0/+10
The MGCP_Test testsuite currenty lacks VTY access capabilities, lets add them so that future testcases can access the VTY in order to change options on the fly. Depends: osmo-ttcn3-hacks Ife949c61156222de3026280071226ef6f5dbd959 Change-Id: If383f81af3306f8f5bdf50152498ae1303d390df Related: OS#3807
2018-10-24Add Misc_Helpers.ttcn to centralize TTCN3 shutdown handlingDaniel Willmann1-1/+1
This function can now be called from anywhere to try and safely shutdown a testcase. It is not optimal as we can't call "all component.stop" from outside the mtc, but without any proper and orderly shutdown handling of all our emulation components I believe this is the best we can do. To use it: import from Misc_Helpers all; in your module and then call Misc_Helpers.f_shutdown(__BFILE__, __LINE__); You can also pass the function a verdict and a message and it will take care of calling setverdict, but beware of the following: While setverdict would accept any number of arguments as log message and convert them to a log string f_shutdown expects one charstring. It's possible to use the log2str function to use the log arguments in setverdict for f_shutdown, for example setverdict(fail, "Template didn't match: ", tmpl_foo); would become Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, log2str("Template didn't match: ", tmpl_foo)); Change-Id: I84d1aa6732f6b748d2bfdeac8f6309023717f267
2018-03-29mgw: Add statistics to RTP_Emulation and link/build it in mgw testHarald Welte1-2/+4
We're not using it so far, this is left for follow-up patches. Change-Id: I40c322374cd99adb75a0f09175023fc0b12291d2
2018-03-16ignore results of .ttcnpp filesNeels Hofmeyr1-0/+2
Add another macro ignore_pp_results to and call from all files, to add results of *.ttcnpp files, i.e. generated *.ttcn files, to .gitignore. Change-Id: Ic7fb176226771212d7700dafaf27ac71f12a4a61
2018-03-16fix don't include source dir as link targetNeels Hofmeyr1-8/+1
First of all, use one common place to define the gen_links() macro, in In this new file, add a 'shift' to exclude the $DIR arg from also appearing in $FILES. This prevents the following wrong symlinks in the source dirs: M3UA_CNL113537/src/src MTP3asp_CNL113337/src/src SCCP_CNL113341/src/src Change-Id: Ia8493e77df1ba8723f2c5d2a49816247b0fb55f7
2018-02-05Don't symlink non-existent fileMax1-1/+1
Change-Id: I10309f07fb207c027703f0b43a478c152a029b6d
2017-12-13move RTP_CodecPort.ttcn to libraryHarald Welte1-1/+1
Change-Id: I67343f016757c23a85db6b526b6f60476e91ffc3
2017-12-12Makefile: clone dependencies into 'deps' folderHarald Welte1-1/+1
We used to rely on out-of-tree git clones to be prepared by the user. This commit changes the system to make sure we clone all git repos we depend upon into the 'deps' folder, and then setup the symlinks to that folder. As a result, we should be able to support self-contained builds using the makefiles in this repo.
2017-11-25Move MGCP_CodecPort to library directoryHarald Welte1-1/+1
2017-11-24Move MGCP_Types.ttcn to library; extract MGCP_Templates.ttcn to libraryHarald Welte1-1/+1
2017-11-18mgw: Add sockets for RTP packets + code for bind/connect/send RTPHarald Welte1-1/+1
2017-11-18mgw: Add RTP_CodecPort throguh which we can send/receive RTP+RTCPHarald Welte1-0/+8
2017-09-16Introduce MGCP_CodecPort on top of UDP portHarald Welte1-0/+12
2017-09-14mgw: Use official Titan SDP library for encode/decode of SDP in MGCPHarald Welte1-0/+21