aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-msc
AgeCommit message (Collapse)AuthorFilesLines
2017-07-25split off osmo-msc: remove files, apply build, renameNeels Hofmeyr1-1/+0
Change-Id: Icf025e5ea8d180613b3114282951c9afa67af9a7
2017-07-25replace internal libmgcp with libosmo-legacy-mgcpNeels Hofmeyr2-2/+4
2017-07-25move libiu to osmo-iuh/libosmo-ranapNeels Hofmeyr2-5/+4
Remove libiu here, use the functions from libosmo-ranap instead, by applying the ranap_ / RANAP_ prefix. Corresponding change-id in osmo-iuh.git is I6a3f7ad15be03fb94689b4af6ccfa828c25f45c0 Change-Id: Ib8c4fcdb4766c5e575618b95ce16dce51063206b
2017-07-25cosmetic: remove obsolete commentNeels Hofmeyr1-2/+1
Change-Id: Ie60e00e07b2129ac4bb3cac94921bf3c8d9cd861
2017-07-25msc-vty-completePhilipp Maier1-9/+53
2017-07-25a_iface: remove unused variablePhilipp Maier1-1/+1
Change-Id: If964ac5344fa0275c07755b5a43d37ce186d3ca2
2017-07-25AoIP+3G: use one common SCCP client for A and IuCSNeels Hofmeyr1-4/+12
Move osmo_sccp_simple_client() setup out of iu_init() and a_init(). In msc_main.c and sgsn_main.c, initialize the STP connection first and then pass to iu_init() and a_init(). This allows serving 3G (IuCS) and 2G (A) from one and the same MSC instance. Since both OsmoHNBGW and OsmoBSC are using PC 23 by default now, move BSC to PC 42 (because OsmoBSC typically has vty port 4242, bla). Also: a_iface.c: remove now unused defines a_init(): remove osmo_ss7_init() call that duplicated msc_main.c Change-Id: I963a94e1a0bfc455992d22940dcc9c67c44570b9
2017-07-25msc: re-enable iu_init()Neels Hofmeyr1-1/+1
Change-Id: Iee7fa94d3f6880847020f3e0dfe7ed7672d4fb23
2017-07-25Revert "mgcp: make sure all endpoints are closed on startup"Philipp Maier1-4/+0
Clearing all endpoints by sending a DLCX on startup has ben found to be a bit too offensive. It also will not help against inconsitancies that may occour during runtime (e.g. an overheard DLCX during regular call teardown). This reverts commit b669ea94cb78fd9b56ee8dd9392538151349f8ba. Change-Id: Ia3bd8bfe9a09e300cf11629f7d7e3012ca8f394d
2017-07-25mgcp: make sure all endpoints are closed on startupPhilipp Maier1-0/+4
If the MSC is crashing and restarting, it may leave some endpoints open. The endpoints can not be re-used until they are deleted (DLCX). This patch sends a DLCX to all possible endpoints (usually this is in a countable range) in order to clear possible open endpoints from a previous run Change-Id: I9de2f67ffe08b2d76574ef4470c7a9767ca74702
2017-07-25msc: enable basic CTRL commandsNeels Hofmeyr1-9/+2
So far CTRL was not used by anyone, and was still disabled from the initial implementation of the OsmoMSC. Now we need it in osmo-gsm-tester. Only add the MSC specific CTRL commands, the bsc_base_ctrl_cmds_install() still needs to be split up. Change-Id: I373279ccea8941c237330c3404c63d4924c5ffa0
2017-07-25WIP: Integrate AoIP into MSCPhilipp Maier1-1/+6
Change-Id: Iaf7deff397ec95b744fe287e713bbdd6a1ee73cf
2017-07-25WIP: Port to new libosmo-sigtran API (with proper M3UA for Iuh)Harald Welte1-2/+3
This changes over to the new libosmo-sigtran API with support for proper SCCP/M3UA/SCTP stacking, as mandated by 3GPP specifications for the IuCS and IuPS interfaces. Only the ASP (client) is used, assuming that both the HNB-GWs and RNCs as well as the MSCs and SGSNs are all connecting as ASP to some STP/SGW which offers M3UA server functionality as well as point-code and/or global title based routing. Change-Id: I450e22d46e47eec350a152f7832428f226bf17fc Tweaked-by: nhofmeyr (test expectation)
2017-07-25Implement IuCS (large refactoring and addition)Neels Hofmeyr2-0/+573
osmo-nitb becomes osmo-msc add DIUCS debug log constant add iucs.[hc] add msc vty, remove nitb vty add libiudummy, to avoid linking Iu deps in tests Use new msc_tx_dtap() instead of gsm0808_submit_dtap() libmgcp: add mgcpgw client API bridge calls via mgcpgw mgcp: hack RAB success from nano3G: patch first RTP payload The ip.access nano3G needs the first RTP payload's first two bytes to read hex 'e400', or it will reject the RAB assignment. Add flag patched_first_rtp_payload to mgcp_rtp_state to detect the first RTP payload on a stream, and overwrite its first bytes with e400. This should probably be configurable, but seems to not harm other femto cells (as long as we patch only the first RTP payload in each stream). Only do this when sending to the BTS side. Change-Id: I5b5b6a9678b458affa86800afb1ec726e66eed88