9
0
Fork 0
Commit Graph

119 Commits

Author SHA1 Message Date
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
Holger Hans Peter Freyther 0c95c6ac93 msc: Rename closing to msc_link_down
This is the indicator if the MSC is connected and authenticated
or not. This name should be better than closing.
2010-08-07 02:39:37 +08:00
Holger Hans Peter Freyther 3e054ee556 msc: Use msc_clear_queue instead of custom clear code. 2010-08-07 02:32:44 +08:00
Holger Hans Peter Freyther 6258539928 msc: Use the msc_close_connection routine
Remove code duplication, the only difference is that the generic
callback pointer is not reset. But as we have lost the connection
we will go through the normnal connect again which will fix things.
2010-08-07 02:26:47 +08:00
Holger Hans Peter Freyther 71f4f355fa msc: Use the msc function to clear the queue 2010-08-07 02:00:32 +08:00
Holger Hans Peter Freyther 43d9eec14b msc: Make close_msc public, call it from main..
We would have not stopped the timer, fix that by only
having one function to close the connection to the msc.
2010-08-07 01:54:19 +08:00
Holger Hans Peter Freyther d5918ff9e4 mgcp: Add an option to enable/disable vad and enable it by default 2010-08-07 00:19:07 +08:00
Holger Hans Peter Freyther 5fb30572a6 mgcp: Move the MGCP_NODE number into a public header file 2010-08-07 00:19:06 +08:00
Holger Hans Peter Freyther 84e505d80e build: Add the cellmgr_debug.h to fix the make distcheck 2010-08-04 18:56:15 +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 cf381e2447 Update SCCP includes for the new location of files. 2010-08-04 18:39:26 +08:00