aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-04-05[mgcp] Use a different port to more easily differentiateHolger Hans Peter Freyther1-1/+1
2010-04-05[mgcp] Print the BTS IP addr of the endpoint.Holger Hans Peter Freyther1-2/+3
2010-04-05[mgcp] Start to look into the MGCP messages and extract the CIHolger Hans Peter Freyther1-11/+17
we will need the call identifier for the MDCX and DLCX message for now we were just assuming it would increment, use som python to extract the CI from a possible response, also switch back to a blocking read to test the BSC nat.
2010-04-05[mgcp] Fix the transaction id of the AUEP requestHolger Hans Peter Freyther1-1/+1
2010-04-05[mgcp] Look at the bts addr set at the endpointHolger Hans Peter Freyther1-1/+3
This will allow to discover the ports of a bts when we only know the addr and have multiple bts's to handle.
2010-04-05[mgcp] Export header parsing via mgcp internalHolger Hans Peter Freyther2-14/+21
This will be used by the NAT code to implement custom protocol handling on top of that.
2010-04-05[mgcp] Do not operate on the ->data pointer, use ->l2h insteadHolger Hans Peter Freyther1-4/+4
This would have been broken once we attempt to parse encapsulated MGCP messages.
2010-04-05[mgcp] Degrade verbosity to debugHolger Hans Peter Freyther1-1/+1
2010-04-05[mgcp] Add a new config option to set the call agent ip addrHolger Hans Peter Freyther2-0/+15
In the case of the nat we only want to communicate with one upstream call agent and this can now be configured.
2010-04-05[mgcp] Add a helper function to convert from GSM0808 ts/mux to MGCP endpointHolger Hans Peter Freyther1-0/+8
Move the conversion of GSM0808 timeslot and multiplex from the bssap.c into the mgcp.h so it can be reused by multiple users. The weird math comes from the mapping of the MSC...
2010-04-05[mgcp] Handle the RSIP with resetting all endpointsHolger Hans Peter Freyther1-0/+24
We could change that the message came from a special ip address/port to secure this service in general but we don't do that right now.
2010-04-05[mgcp] Add some parsing for RSIP messages coming inHolger Hans Peter Freyther2-0/+13
This will just call a callback and leave all the handling to the application.
2010-04-05[mgcp] Remove unused method from the mgcpHolger Hans Peter Freyther1-6/+0
This was removed when sending the RSIP was removed from the code.
2010-04-05[mgcp] Switch from DEBUG to LOGP in the mgcp_main.cHolger Hans Peter Freyther1-2/+2
2010-04-05[mgcp] Remove the sending of RSIPHolger Hans Peter Freyther3-31/+0
This message is ignored by the call agent and we were sending this on the first request which we maybe should not ignore...
2010-04-05[sccp] Add a force_free method for connectionsHolger Hans Peter Freyther2-0/+16
E.g. when the underlying connection transport medium is gone one needs to force to close SCCP connections, add this helper. It will remove the connection from the list of connections and it will free the data.
2010-03-30[mgcp] The networking code needs a source addrs..Holger Hans Peter Freyther1-0/+5
Make the source address mandantory and complain about complain when it is missing. The address is mandantory as it needs to be put into the MGCP messages...
2010-03-30[mgcp] Move mgcp init into the main method...Holger Hans Peter Freyther2-12/+15
2010-03-30[mgcp] Fix format string usageHolger Hans Peter Freyther1-1/+1
2010-03-30Merge remote branch 'origin/master' into on-waves/mgcpHolger Hans Peter Freyther120-2540/+11849
2010-03-30db: Fix aliasing warning by casting the signed char to a structHolger Hans Peter Freyther1-3/+6
When we have assigned the cn we will use mempcy to copy the one byte into the target. Use a static assert to assure that the type have the same size. warning: dereferencing type-punned pointer will break strict-aliasing rules
2010-03-30[misnd] Use the size_t modifier when printing the size.Holger Hans Peter Freyther1-1/+1
2010-03-30[ipaccess] Avoid bogus compiler warning about uninitialized varsHolger Hans Peter Freyther1-0/+1
2010-03-29[misc] Remove whitespace from the end of the line.Holger Hans Peter Freyther17-57/+57
2010-03-28remove gsm48_mi_to_string() as it is now in libosmocore 0.1.3Harald Welte3-47/+1
2010-03-28chan_alloc: Support allocating TCH/F of a dynamic TCH/F + PDCHHarald Welte2-1/+34
This code simply enables the channel allocator to understand the dynamic TCH/F / PDCH channel type as used by ip.access nanoBTS. It does not actually try to switch the dynamic mode, but instead sends signals to a (not yet present) dynamic switching algorithm.
2010-03-28RSL: keep track of ip.access dynamic TCH/PDCH activationHarald Welte3-5/+14
We use the (currently unusued) flags member of the bts_trx_ts structure to track if a dynamic TCH/PDCH is currently on PDCH mode or not.
2010-03-26debug: ensure no overlap between LOG_FILTER_ALL and FLT_IMSIHarald Welte1-1/+2
2010-03-26Merge commit '3ae2758fba1dc9b364238c6e1e7d591b12c3d878'Harald Welte6-2/+490
2010-03-26move log/debug codebase to libosmocoreHarald Welte14-529/+210
The logging/debugging code is generic enough to move it into libosmocore while keeping OpenBSC specific definitions in openbsc itself. This commit uses the logging support present in libosmocore-0.1.2, you will have to update your library to this version.
2010-03-26rename 'debug' interface to 'logging' interfaceHarald Welte5-186/+186
It's not really about debugging, but about generic logging...
2010-03-26debug: remove unneeded 'number' member of 'struct debug_info_cat'Harald Welte2-11/+5
As the debug subsystem number is used as index into the debug_info_cat array, there is no need to store the number explicitly inside the structure again.
2010-03-26debug.c: fix no-color-printing in case .color = NULLHarald Welte1-3/+6
2010-03-26Import 'debug' support from OpenBSC into libosmocoreHarald Welte4-2/+481
2010-03-26write_queue: Add a method to clear the queue.Holger Hans Peter Freyther2-0/+12
2010-03-26sccp: Change the ownership of the msgb passed to the callbackHolger Hans Peter Freyther3-53/+35
Instead of deleting the msgb within the SCCP library the implementor of the write callback needs to free it. This is required for non blocking io with the server.
2010-03-26Merge commit '52b4abdcb351830f5493a50c4181ef3947f3feab'Harald Welte6-136/+122
2010-03-25db: Fix a bug where no pending SMS were foundHolger Hans Peter Freyther2-4/+4
The "sms send pending" VTY command did not work due a mismatch of types. We are specifying a unsigned long long in the query and provided DBI with a signed integer type. The result was a failure do find any information. Change the API to operate on unsigned long long that is matching the id of the SMS and the Subscriber and the mismatch with the query string is gone and pending SMS are sent.
2010-03-25Merge branch 'holger/bsc-msc-separation'Holger Hans Peter Freyther20-226/+306
2010-03-25sms: Remove some more occurences of the GSM lchanHolger Hans Peter Freyther1-4/+2
2010-03-25Store the GSM BTS in the gsm subscriber connectionHolger Hans Peter Freyther3-8/+9
Remove further usage of lchan from the gsm 04.11 bits
2010-03-25bsc: Start creating 08.08 like APIHolger Hans Peter Freyther5-14/+45
The 08.08 API will interface with the internal BSC code and it is the boundary between MSC and BSC. So nothing that calls the BSC functionality should know about lchan or such.
2010-03-25sms: First run of removing lchan usage from MSC code paths.Holger Hans Peter Freyther2-12/+20
2010-03-25lchan: Change transaction to work on the GSM Subscriber ConnectionHolger Hans Peter Freyther7-63/+56
Change the MSC transaction code to operate on a GSM Subscriber Connection instead of the lchan. This will help us to separate the two commands properly.
2010-03-25lchan: Create a structure for MSC data of the lchanHolger Hans Peter Freyther13-154/+203
Prepare to split the BSC and the MSC part by putting the MSC data for a connection into a "gsm_subscriber_connection" struct and renaming the macros.
2010-03-25Merge commit '52b4abdcb351830f5493a50c4181ef3947f3feab'Harald Welte6-136/+122
2010-03-25convert openbsc to use libosmocore-0.1.1 APIHarald Welte4-7/+8
the 0.1.1 API is cleaned up and removes all exported global static arrays (like rlm_cause_strs). There are now proper accessor functions.
2010-03-25replace rsl_rlm_cause_strs with rsl_rlm_cause_name()Harald Welte2-5/+9
2010-03-25current version needs exactly 0.1.0 version of libosmocoreHarald Welte1-1/+1
2010-03-25replace gsm48_cc_msg_names[] with gsm48_cc_msg_name()Harald Welte2-70/+54
and implement the backend using value_string