9
0
Fork 0
Commit Graph

256 Commits

Author SHA1 Message Date
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
Holger Hans Peter Freyther e807376257 mgcp_ss7: Move the vty code/params over to mgcp_vty.c
Share more code with the OpenBSC version of the VTY code
minus the changes to allow to parse a generic hostname
instead of an ip address.
2010-08-04 07:34:21 +08:00
Holger Hans Peter Freyther a174318a7b mgcp: Remove commands not used/wanted for the cellmgr_ng. 2010-08-04 07:28:39 +08:00
Holger Hans Peter Freyther f9e9977101 mgcp_ss7: Change the vty config to operate on the static g_cfg pointer
Work more like the other mgcp gateway and first allocate the config
and then apply the setting on it.. The next step will be to move to
the real vty code minus some bits.
2010-08-04 07:22:52 +08:00
Holger Hans Peter Freyther f41617bb11 mgcp: Allocate the mgcp config earlier.. 2010-08-04 07:08:33 +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 cc1a9384b0 mgcp_ss7: Add the telnet interface to the mgcp_ss7. 2010-08-04 06:24:51 +08:00
Holger Hans Peter Freyther d2c46d4644 mgcp_ss7: Add logging commands.. 2010-08-04 06:24:45 +08:00
Holger Hans Peter Freyther 8bffbca71e configure: Add a --enable-uniporte to build with/without the libs 2010-08-04 06:16:24 +08:00
Holger Hans Peter Freyther d86208d1ed mgcp: Update to the latest code drop. 2010-08-04 06:11:27 +08:00
Holger Hans Peter Freyther 73cdc5fd97 mgcp_ss7: Remove unnecessary code... 2010-08-04 06:09:14 +08:00
Holger Hans Peter Freyther 8c6b356d1c main: Fix linking of OpenBSC... 2010-08-04 06:09:14 +08:00
Holger Hans Peter Freyther 7a6e7361b5 main: Remove left overs from old code. 2010-08-04 06:09:14 +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