Holger Hans Peter Freyther
bfa6d0703f
build: Remove old left over from before libosmocore..
...
Change-Id: Id3c41595475dac06dcdf3a104570640349c8f8bf
2017-01-18 09:23:31 +01:00
Holger Hans Peter Freyther
9e0723fb6d
build: Link -losmocore last to please Ubuntu linker
...
It seems that the Ubuntu linker is quite picky in where it is looking
for symbols. Link libosmocore (and as such talloc) last of the Osmocom
libraries. This could fix:
gcc -Wall -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -DNO_UNIPORTE -g -O2 -fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -o cellmgr_ng main.o mtp_layer3.o thread.o ipaccess.o pcap.o bss_patch.o bssap_sccp.o bsc_sccp.o bsc_ussd.o links.o msc_conn.o link_udp.o snmp_mtp.o debug.o isup.o mtp_link.o counter.o sccp_state.o bsc.o ss7_application.o vty_interface_legacy.o vty_interface_cmds.o mgcp_patch.o mgcp_callagent.o isup_filter.o -ltalloc -losmocore -ltalloc -losmogsm -losmocore -ltalloc -losmovty -losmocore -losmosccp -losmoxua -lpthread -lnetsnmp -lcrypto
[ 79s] /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libosmosccp.so: undefined reference to `talloc_free'
Change-Id: I94c87496ebffd41a6217d860b0ca4bed6ff2d24c
2017-01-18 09:13:43 +01:00
Holger Hans Peter Freyther
6a441c86fe
m3ua: Make the traffic-mode configurable
2015-04-16 22:32:09 +02:00
Holger Hans Peter Freyther
d2f21e0796
m3ua: Begin to create a m3ua client connection
...
Implement a basic M3UA state machine on a SCTP connection.
2015-03-24 18:52:45 +01:00
Holger Hans Peter Freyther
4fd82de1ba
Port from libm2ua to libxua
2015-03-23 12:39:18 +01:00
Holger Hans Peter Freyther
1cedd4a599
debian: Add a start script for osmo-stp
2015-03-23 10:15:13 +01:00
Sylvain Munaut
9544ee2955
build: Replace deprecated INCLUDES with AM_CPPFLAGS
...
Thanks to mnhauke for the patch
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2014-12-22 22:36:17 +01:00
Holger Hans Peter Freyther
e833478898
isup: Hook the reset scanner before we forward the ISUP message
...
Scan for two kind of reset messages in the ISUP messages. Forward
them to the mgcp_ss7.
2012-12-16 12:45:58 +01:00
Holger Hans Peter Freyther
d04011abc1
stp: Extract the MGCP forwarding code out of the msc_connection
...
For the ISUP/MGCP handling we will need the same code, extract it
from the msc_connection. For the reading code callback is introduced
that will pass the MGCP message to the higher layer.
2012-12-16 12:10:26 +01:00
Holger Hans Peter Freyther
2d115d4bbb
mgcp: Merge the current MGCP code from OpenBSC
...
There were several changes in the upstream code. These include
statistics, DTMF/RQNT, changes in the parsing code and re-transmission
handling. The last item is the main reason to do the merge now.
2012-12-16 11:33:27 +01:00
Holger Hans Peter Freyther
d74ac33574
dtmf: Schedule DTMF tones for the MTN hardware
...
Create a simple queue for pending DTMF tones, play them using the
MTN API, and then send the next tones once the playback is complete.
The callback and scheduling is done from the same context so no locking
needs to be done.
2012-12-16 11:33:27 +01:00
Holger Hans Peter Freyther
765c48aba7
mgcp: Move to using the NexusWare API for Timeslot config
2012-01-22 11:43:39 +01:00
Holger Hans Peter Freyther
8aaaa406bb
mgcp: Move the SNMP file to _hw.c to move to the NexusAPI
2012-01-22 11:40:35 +01:00
Holger Hans Peter Freyther
b1dfc462df
cellmgr: Patch the MGCP messages and replace the domain name
...
Replace the domain name with a new name domain that can be configured
via the VTY interface.
2011-09-15 19:30:20 +02:00
Harald Welte
ff397edf38
Adopt to recent libosmocore namespace changes and libosmogsm
2011-05-08 10:29:23 +02:00
Holger Hans Peter Freyther
b7299a89cd
mgcp: Configure the HSCOMM routing based on the information we have
...
Configure the routing of audio ports if mgcp_mgw is configured
to do this. This allows to have multiple trunks, make virtual
ports go to a specific trunk as well.
2011-03-01 16:07:54 +01:00
Holger Hans Peter Freyther
dcc3312792
mgcp: Merge OpenBSC MGCP code and update the structure to match it
...
* Upstream has a separation of BTS and NET side for RTP ports and
can allocate them dynamically.
* Upstream has gained the concept of trunks. We will now have various
trunks to connect audio things.
* We will now be able to utilize multiple trunks and have the endpoints
used properly.
2011-03-01 13:02:29 +01:00
Holger Hans Peter Freyther
7176030e02
vty: Add all mighty new vty interface for osmo-stp
...
This new interface allows to have multiple linksets, msc
connections and ways to connect those in one instance of
the osmo-stp. Forbid to reset linksets without an app.
2011-02-23 15:25:35 +01:00
Holger Hans Peter Freyther
2917644d50
vty: Move the actual commands into a new file in preparation
2011-02-22 21:05:59 +01:00
Holger Hans Peter Freyther
a7bc3aafdc
ss7: Create a SS7 application that is responsible for the routing
2011-02-17 19:34:27 +01:00
Holger Hans Peter Freyther
2ff47b8606
bsc: Allocate the bsc with talloc instead
...
Allocate the bsc with talloc to have a nice root context for
everything in the system.
2011-02-17 19:34:27 +01:00
Holger Hans Peter Freyther
dd32ae5403
msc: The udt_relay could be implemented with the normal cellmgr now
...
Simplify the code and remove the standalone udt_relay application,
the job can be done with cellmgr_ng. This will happen after we have
settled for a new config file format.
2011-02-10 20:09:09 +01:00
Holger Hans Peter Freyther
43b015a8ea
bsc: Move the connection tracking code out of main file
2011-02-10 20:09:09 +01:00
Holger Hans Peter Freyther
aafa7c788e
stats: Add rate_counter for more statistics on the MTP side
2011-01-22 16:22:18 +01:00
Holger Hans Peter Freyther
a8ce061d86
mtp: Move the link testing into a new file for mtp_link
...
The link testing should work under the linkset and if the
SLTM is failing the link should be taken down and it should
be restarted.
2011-01-20 19:07:16 +01:00
Holger Hans Peter Freyther
9cf11bc109
stp: Create a M2UA link by hand and connect the SCCP routines
...
This is a hacked version that will just forward SCCP from one
linkset to another one. It is missing configuration and ISUP.
2011-01-20 11:37:50 +01:00
Holger Hans Peter Freyther
a93b83bf99
stp: Begin to implement a signalling transfer point
...
This is creating a new application that will be a signalling
transfer point. Right now it is a stripped down version of
the udt_relay, which is a stripped down version of cellmgr_ng.
2011-01-20 11:37:50 +01:00
Holger Hans Peter Freyther
d70a7e8e79
m2ua: Create a MTP Link class using SCTP/M2UA for the transport
...
This is a MTP Link that can be used with a MTP LinkSet. E.g. with
some config changes one could use cellmgr_ng or udt_relay over a
M2UA link.
2011-01-17 14:45:15 +01:00
Holger Hans Peter Freyther
a99b04b700
mtp: Move the link code into a new file called links.
2011-01-17 11:21:09 +01:00
Holger Hans Peter Freyther
c21cfaa023
isup: Start parsing the ISUP messages
...
Introduce a ISUP debug category, parse the reset circuit
message, add a test case for this easy parsing.
2010-12-10 13:22:46 +01:00
Holger Hans Peter Freyther
594ee9a8c4
udt_relay: Add a forked copy of main to just relay messages
...
Do not run any of the header rewriting for messages. This will
simply relay SCCP friends to the MTP library. Some work on msc_conn.c
is needed to avoid calling most of it.
2010-11-16 11:03:19 +01:00
Holger Hans Peter Freyther
4776571989
bsc_ussd: Add a dummy USSD module...used for welcome SMS
2010-09-30 17:45:12 +08:00
Holger Hans Peter Freyther
1cb634a1e2
bsc: Refactor and move SCCP ConTrack to bsc_sccp.c
...
Move the code, update Makefile.am, add includes.
2010-09-30 16:10:17 +08:00
Holger Hans Peter Freyther
7942abc95d
vty: Move the vty code to a new file, move config params.
2010-09-30 00:34:46 +08:00
Holger Hans Peter Freyther
e66c7c10ea
cleanup: Remove code that is provided by libosmocore now.
...
libosmocore contains the GSM08.08 definition, no need to copy
that anymore.
2010-08-04 18:51:16 +08:00
Holger Hans Peter Freyther
fde865f18d
mgcp: Add the OpenBSC VTY code almost 1:1 to here
2010-08-04 06:39:13 +08:00
Holger Hans Peter Freyther
d4310b9865
debug: Add a debug area to make the application link
2010-08-04 06:09:14 +08:00
Holger Hans Peter Freyther
cbf7d18bb9
Use libosmocore instead of the old temporary laF0rge1 lib..
2010-08-04 06:08:40 +08:00
Holger Hans Peter Freyther
97f66e2b53
Public release of the cellmgr_ng code to convert E1 to IPA SCCP
2010-07-28 03:36:32 +08:00