9
0
Fork 0
Commit Graph

429 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 433ea2f037 isup: Implement handling GRS and GRA messages for ISUP. 2010-12-10 13:22:46 +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 03ba4f485b isup: Start with isup support in the cellmgr.
Start parsing the ISUP messages. This just adds what
we need to handle now and will not grow it a lot.
2010-12-10 13:22:42 +01:00
Holger Hans Peter Freyther 58d0c24f03 mtp: Send a simple ISUP message 2010-12-08 11:32:29 +01:00
Holger Hans Peter Freyther ae7418177e mtp: Print a TFP message on the screen when we get a message 2010-12-08 11:28:12 +01:00
Holger Hans Peter Freyther 3a80cb2593 mtp: Prepare ISUP handling, just print the ISUP part. 2010-12-08 11:12:46 +01:00
Holger Hans Peter Freyther 1291ce5f8c mtp: Print un-handled messages 2010-12-08 11:10:34 +01:00
Holger Hans Peter Freyther 8220b94064 udt_relay: Remove the abort and return a NULL pointer after a message 2010-12-08 10:08:40 +01:00
Holger Hans Peter Freyther 396282ef8e udt_relay: Initialize the ni_ni as well here 2010-12-08 10:08:14 +01:00
Holger Hans Peter Freyther e15fa4cafe contrib: Add smalltalk script to send send UDP messages
These messages are a SLTM and a TRA message that we want
to test on the udt relay receiver. The speciality is the header.
2010-12-08 10:06:52 +01:00
Holger Hans Peter Freyther 8fa8e584dd mgcp: Add config options for some GAIN options, apply them. 2010-12-01 23:45:22 +01:00
Holger Hans Peter Freyther 3bbb58bfdb mtp: Group all MTP settings together. 2010-11-26 21:25:38 +01:00
Holger Hans Peter Freyther b38b33b884 mtp: Make the spare/ni configurable 2010-11-26 21:21:04 +01:00
Holger Hans Peter Freyther e976df1b5b mtp: Be able to set the spare bits in the network indicator 2010-11-26 21:07:11 +01:00
Holger Hans Peter Freyther 4e3e28e916 mtp: Store the NetworIndicator in the mtp_link and use it
Prepare to make the ni configurable and store it inside the
mtp_link where it can be changed by the user of the mtp_link.
Initialize this to the current value.
2010-11-26 21:05:39 +01:00
Holger Hans Peter Freyther 2a9bf2b615 mtp: Set the network indicator in the mtp_msg_alloc
Prepare to have different network indicators.
2010-11-26 21:01:58 +01:00
Holger Hans Peter Freyther 7694381f52 udt: Add a forward_only to the bsc struct and use it for the msc_conn
Simply forward everything, no need for inspecting things.
2010-11-16 11:16:37 +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 ed3046339e mgcp: Print the extra settings from the config 2010-10-27 19:33:06 +02:00
Holger Hans Peter Freyther d25dfce4f5 assignment: An evil hack to include some fake IES..
Add stuff to the message...
2010-10-27 15:59:33 +02:00
Holger Hans Peter Freyther e3abeb1400 mgcp: Assume that on a MDCX all data is present...
Send a dummy packet on each MDCX message. This assumes
that the remote address is available by then and this
should fix not hearing the ringtone as the NAT didn't
know to which port to forward the data.
2010-10-18 19:37:32 +02:00
Holger Hans Peter Freyther 5d930f8745 mtp: Store the mtp_link inside the connection
Prepare to have multiple links to the BSC.
2010-10-08 23:18:15 +08:00
Holger Hans Peter Freyther dedb7ce3fe mtp: Ignore the spare bits as of Q.701 6.2
The sender is supposed to set them to 0 and we are asked
to ignore them. Apparently something called SIF is enabled
on the sender side.
2010-10-08 17:49:24 +08:00
Holger Hans Peter Freyther 5228069365 ussd: Pass the bsc_data to have access to the USSD message 2010-10-06 16:09:25 +08:00
Holger Hans Peter Freyther dfcf2df698 ussd: Create the hook where packages from the MSC pass by 2010-10-06 06:20:35 +08:00
Holger Hans Peter Freyther a4ca6d3947 msc: Create a function to send or queue messages. 2010-10-06 04:51:44 +08:00
Holger Hans Peter Freyther 0f349f2c6d ussd: Add the hook where we can capture the Location Updating Request 2010-10-06 04:39:08 +08:00
Holger Hans Peter Freyther 377ba4293a msc: Return an error if we close the fd 2010-10-01 20:37:40 +08:00
Holger Hans Peter Freyther 98f6dd5cdc msc: Stop the msc reconnect timer as well (possible bfd corruption fix)
It appears that we run into a PING timeout before we have received
the first message and then will try to close the connection tiwce.

Stop the msc_timeout when we close down the connection.
2010-10-01 20:30:53 +08: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 35948551fd bsc: Move more sccp code into the bsc_sccp.c 2010-09-30 17:30:50 +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 0e4e35fdd6 bsc: Be able to configure the LAC/MNC/MCC... 2010-09-30 03:04:28 +08:00
Holger Hans Peter Freyther b3e1068992 sccp: Move the SCCP connection out to a new structure. 2010-09-30 01:57:45 +08:00
Holger Hans Peter Freyther fdae5c9a7d vty: Add a telnet interface to the cellmgr 2010-09-30 01:01:03 +08:00
Holger Hans Peter Freyther 2656e8f4aa vty: Implement writing the config file 2010-09-30 00:41:37 +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 cdad4de330 mgcp: Only if this node is supposed to send data send a dummy packet
In case the gateway is configured as recvonly, do not send a dummy
load as this is against the policy.
2010-09-18 23:59:43 +08:00
Holger Hans Peter Freyther b988caa160 mgcp: Be able to parse the 'M: sendonly' as the connection param 2010-09-18 20:23:05 +08:00
Holger Hans Peter Freyther 95cac74e37 mgw: Add a realloc_cb that will give up the old endpoint
Free the endpoint if we need to realloc, the sequencing
and blocking will take care of everything.
2010-09-18 03:16:52 +08:00
Holger Hans Peter Freyther e40bc38c42 mgcp: Merge the realloc_cb from OpenBSC here. 2010-09-18 03:11:00 +08:00
Holger Hans Peter Freyther 33cdb7e027 mgcp: Add an option to force reallocating endpoints. 2010-09-17 22:03:47 +08:00
Holger Hans Peter Freyther 757f174e76 mgcp: Keep the data for the config in a global var again. 2010-09-17 22:03:08 +08:00
Holger Hans Peter Freyther a78db2ddd5 Create a .gitignore to ignore the generated files 2010-09-15 21:00:54 +08:00
Holger Hans Peter Freyther 4bbfa274a4 Add a command to ask for the version number, generate a config file 2010-09-15 20:53:56 +08:00
Holger Hans Peter Freyther a1f0a69b2a cellmgr: Remove bogus include file 2010-09-15 20:44:26 +08:00
Holger Hans Peter Freyther 615cf2f904 Generate the version from the tag 2010-09-15 20:40:23 +08:00
Holger Hans Peter Freyther 5b08401701 mgcp: Use uint32_t for the CI in every place. 2010-08-08 07:51:51 +08:00
Holger Hans Peter Freyther 7b7c297c8f msc: Separate the BSC and MSC link completly...
Make the msc_conn responsible for creating the link to
the core network and reopening it, make the BTS code just
call the msc methods and the MSC will throw away data in
case it can not be forwarded.

This avoids a problem that we start a reconnect timer
while we have a connection in progress and then add the
same file descriptor twice. This is mostly a speculative
fix to the problem.
2010-08-07 05:41:06 +08:00
Holger Hans Peter Freyther e33d93c366 msc: Manage the msc_link_down only in the msc_conn.c
Only write to this property in the msc_conn context and
not from within the main procedure.
2010-08-07 02:40:35 +08:00