aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
AgeCommit message (Collapse)AuthorFilesLines
2010-11-02mgcp: Introduce trans_bts and send BTS packets from this portHolger Hans Peter Freyther1-1/+15
Introduce the trans_bts. Right now only a port is allocated and the packets from the BTS are sent from this socket.
2010-11-01mgcp: Rename transcoder_end to trans_netHolger Hans Peter Freyther1-1/+2
Packets arriving for trans_net will be send out to the networking. We will introduce a trans_bts in a second.
2010-11-01mgcp: Make transcoding a per Endpoint configurationHolger Hans Peter Freyther1-0/+1
This allows to switch off transcoding on the fly, or only enable it for certain vessels with known problems.
2010-10-27Merge branch 'zecke/number-rewrite'openbsc/0.9.9Holger Hans Peter Freyther1-0/+7
2010-10-27nat: Close SCCP connections when the USSD Provider is closed.Holger Hans Peter Freyther1-0/+1
Send a RLSD down to the BSC in case the USSD Provider is gone. It is not sending a Clear Command and ut depends if the BS+ will like this kind of behavior. At least the data on the NAT will be freed soon afterwards due the RLC message.
2010-10-27nat: Implement rewriting, have a very basic test for that featureHolger Hans Peter Freyther1-1/+1
2010-10-27nat: Add hook for rewriting a setup messageHolger Hans Peter Freyther1-0/+2
Create a new function, hand the data to this function, take back a possible modified msgb and invalidate parsed at this point.
2010-10-27nat: Add vty option for number rewritingHolger Hans Peter Freyther1-0/+5
Parse a msg file in case we do have a list.
2010-10-25ipaccess: Add a structure for informing the USSD provider about the stateHolger Hans Peter Freyther1-0/+12
This is used to inform the USSD provider about the state of the connection.
2010-10-25nat: Implement accepting a USSD Provider connection, do authenticationHolger Hans Peter Freyther1-0/+8
2010-10-25nat: Keep a ussd token in the configHolger Hans Peter Freyther1-0/+2
We will have the USSD provider connecting to us and we will use the IPA protocol, including the auth mechanism.
2010-10-25nat: Add an option to set the query string to matchHolger Hans Peter Freyther1-0/+1
Allow the query string to be set. The ussd matching code will check for this string and then forward it to the bypass.
2010-10-25nat: Make the imsi checking function public.Holger Hans Peter Freyther1-0/+1
We will use this method in the USSD module to check if the IMSI should be handled for USSD queries.
2010-10-25nat: Provide a USSD access list to check for which to play HLR.Holger Hans Peter Freyther1-0/+3
2010-10-25nat: Create a USSD module to filter out USSDs...Holger Hans Peter Freyther1-0/+3
2010-10-25nat: Introduce a new connection type for Supplementary ServicesHolger Hans Peter Freyther1-0/+2
If we have a CM Service Request we will look into the message to see if it is a Supplementary Service Activation.
2010-10-21nat: Move the DTAP unpacking into a new methodHolger Hans Peter Freyther1-0/+3
DTAP unpacking will be used by the USSD checking code
2010-10-21nat: Copy the IMSI, then free it or move the context to the connectionHolger Hans Peter Freyther1-1/+1
Extract the IMSI from the first message as well and safe it in the connection structure. The problem is that we do not have this structure at this point, so we will allocate the imsi as child of the bsc_connection and then move/steal it.
2010-10-21nat: Store the IMSI inside the SCCP Connection dataHolger Hans Peter Freyther1-0/+1
Store the IMSI for the connections that we are tracking, it will be freed when the normnal SCCP connection is freed.
2010-10-19nat: Add a method to add a proper message to the queue.Holger Hans Peter Freyther1-0/+1
This will be used by the USSD module to forward the data without creating another copy of the data.
2010-10-19nat: Find a connection by the real refHolger Hans Peter Freyther1-0/+2
2010-10-13nat: Make the write_queue write callback a public functionHolger Hans Peter Freyther1-0/+1
2010-10-13nat: Make the queue routine work on any write_queueHolger Hans Peter Freyther1-0/+1
2010-10-13ipaccess: Put our extensions to the protocol into the same enumHolger Hans Peter Freyther2-2/+3
Rename NAT_IPAC_PROTO_MGCP to IPAC_PROTO_MGCP and place it in the enum. We need to be prepared to change this number if IPA is ever going to use it for something else.
2010-10-12misc: Replace the idiom for replacing a string with a function callHolger Hans Peter Freyther1-0/+1
Remove a lot of code in favor of a new function that is freeing the old string and copying the new one. I should have gotten the context and the strings right.
2010-10-10ussd: Move the code libosmocore, increase the version number.Holger Hans Peter Freyther1-10/+1
Move the code to libosmocore, update the header file and the version required in the configure.in.
2010-10-08nat: Allow a BSC to have multiple LACsHolger Hans Peter Freyther1-2/+12
Make it possible that one BSC is serving multiple cells. Introduce a list of lacs, add functions to manipulate the lists. The current test cases for paging by lac continue to work.
2010-10-06db.h: Move the '*' to the other side for the gsm_subscriberHolger Hans Peter Freyther1-7/+7
2010-10-03nat: Provide statistics about amount of different messages.Holger Hans Peter Freyther1-0/+6
Provide simple statistics on how many LUs, Paging Responses etc. we are seeing in the network.
2010-09-30gsm_04_80: Require libosmocore for creating USSD messagesHolger Hans Peter Freyther1-6/+0
Use the libosmocore to create USSD messages, increase the minimum version of libosmocore, add header files, remove the code.
2010-09-25nat: Keep track of how many connections we rejectHolger Hans Peter Freyther1-0/+3
Keep track of how many connections we reject due the IMSI filter itself or due not being able to parse the message.
2010-09-25nat: Add statistics to the access-list in the NATHolger Hans Peter Freyther1-0/+8
Count how many times we match a BSC or NAT deny. This will give us the number of how often something should be filtered.
2010-09-20nat: Send a transcoder reset on start up.Holger Hans Peter Freyther1-0/+1
The transcoder RESET is using the same extensions to reset all endpoints on a remote site. This makes sure that all allocations can be made in a properly configured network.
2010-09-20mgcp: Make the base port of the transcoder configurableHolger Hans Peter Freyther1-2/+5
The code assumes a static mapping from endpoint to RTP port, be able to configure the start of such a mapping.
2010-09-20mgcp: Forward data from the BTS-in to the transcoderHolger Hans Peter Freyther1-0/+2
Bind a new port for the transcoder, forward data from the BTS to the transcoder, and from the transcoder to the network. Leave BTS-IN where it is, BTS-OUT can now be after the transcoding took place. We send the data from the BTS RTP port. This whole route will be guarded by the transcoder_ip and if it is NULL (current default) it will not go through the transcoder.
2010-09-20mgcp: Add ports for the transcoder as wellHolger Hans Peter Freyther1-0/+1
2010-09-20mgcp: Add a transcoder-mgw command to store the addressHolger Hans Peter Freyther1-0/+2
2010-09-20nat: Use the write_queue inside the CFG.Holger Hans Peter Freyther1-1/+0
2010-09-20mgcp: Keep the gw_fd inside the mgcp_configHolger Hans Peter Freyther1-0/+3
Move the bfd from a static var into the mgcp_config.
2010-09-20mgcp: Remove the hack to remap timeslot one...Holger Hans Peter Freyther1-5/+7
The timeslot one is blocked and should not be used, replace the code with a warning and watch out for it. Tis is most likely due the uncovered in the previous commit due the wrong TLV definition.
2010-09-17db: Declare db_sms_inc_deliver_attempts.Holger Hans Peter Freyther1-0/+1
2010-09-16bsc: Prepare to store the SCCP connection inside the subscriberHolger Hans Peter Freyther1-0/+4
2010-09-16msc: Send a signal when the connections to the MSC droppedHolger Hans Peter Freyther1-0/+14
Send a signal, this way another module can close all connections to the MSC and all local channels.
2010-09-16bsc: Make the write method public it will be used by other modulesHolger Hans Peter Freyther1-0/+1
2010-09-16bsc: Add code responsible for connecting, reconnecting to the MSCHolger Hans Peter Freyther1-0/+9
Add the code that is forwarding data, from and to the MSC, also handling ping/pong timers and authentication. Hook it into the osmo_bsc. The code is only compile tested and ported from the on-waves/bsc-master branch.
2010-09-16bsc: Keep all active subscriber connections in a list.Holger Hans Peter Freyther1-0/+2
2010-09-16bsc: Add the osmo_bsc_grace from the on-waves/bsc-master branchHolger Hans Peter Freyther2-1/+30
The grace code will decide if a given connection is allowed to be made or if it is going to be rejected. For active connections it is going to send a USSD message.
2010-09-16osmo_rf: Keep the current policy inside the RF struct..Holger Hans Peter Freyther1-1/+3
Keep a back pointer to the rf struct inside the connection, resolve the network through the back pointer. Also assume that the RF is on. In case we start with RF locked, the policy is on but we will not see any MS talking to us.
2010-09-15bsc: Move the rf_ctl into the msc data structHolger Hans Peter Freyther1-0/+3
2010-09-15bsc: Register a new MSC group with data for the MSC connectionHolger Hans Peter Freyther2-0/+11
This group contains everything that is related to the MSC connections.