Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-09-20 | mgcp: Share the range parsing code for net/bts | Holger Hans Peter Freyther | 1 | -14/+20 | |
2010-09-20 | mgcp: Add a transcoder-mgw command to store the address | Holger Hans Peter Freyther | 1 | -0/+17 | |
2010-09-20 | nat: Keep the audio name and default payload around | Holger Hans Peter Freyther | 1 | -5/+0 | |
For all forwarded messages this will not be used, but it is of use for the transcoding. | |||||
2010-09-20 | nat: Use the write_queue inside the CFG. | Holger Hans Peter Freyther | 1 | -38/+39 | |
2010-09-20 | mgcp: Keep the gw_fd inside the mgcp_config | Holger Hans Peter Freyther | 1 | -12/+11 | |
Move the bfd from a static var into the mgcp_config. | |||||
2010-09-20 | mgcp: Be able to parse 'sendonly' for the connection mode. | Holger Hans Peter Freyther | 1 | -0/+2 | |
2010-09-20 | mgcp: Switch the default audio codec to AMR | Holger Hans Peter Freyther | 1 | -2/+2 | |
2010-09-20 | nat: NULL check the allocation and print a nice warning. | Holger Hans Peter Freyther | 1 | -0/+6 | |
2010-09-18 | janitor: Move the * to the variable name | Holger Hans Peter Freyther | 10 | -14/+14 | |
2010-09-17 | gsm 04.11: increase the delivery attempt counter for an SMS right away in ↵ | Nico Golde | 1 | -1/+1 | |
gsm411_send_sms Signed-off-by: Holger Hans Peter Freyther <zecke@selfish.org> | |||||
2010-09-16 | bsc: Fix the clear to release resources first, then set to NULL | Holger Hans Peter Freyther | 1 | -9/+7 | |
This is fixing a crash reported by Nico. Somehow I staged an unfinished version of this code. The crash should be gone. | |||||
2010-09-16 | gsm_04_11: count SMS delivery attempts for each CP-DATA | Nico Golde | 1 | -0/+2 | |
Signed-off-by: Holger Hans Peter Freyther <zecke@selfish.org> | |||||
2010-09-16 | bsc_api: Do not free the subscriber conn on clear and clear request | Holger Hans Peter Freyther | 3 | -7/+30 | |
Do not free the GSM Subscriber Connection when a channel is failing or if a clear is requested, instead just give up _all_ the channels, reset them to NULL and free the remaining channels. | |||||
2010-09-16 | bsc; Register the BSC API with many blanks. | Holger Hans Peter Freyther | 2 | -1/+55 | |
2010-09-16 | nat: Fix a crash when a BSC disconnects while a rejected IMSI | Holger Hans Peter Freyther | 1 | -1/+2 | |
When we reject the IMSI we do not have the msc_con set on the SCCP connection, but we do have a remote_ref. So the nat_send_rlsd will end up with a crash due the msc_con being zero. Fix the crash by only sending a released to the MSC when the connection is not local. | |||||
2010-09-16 | nat; Start to use gcc attribute to say that parameter may not be zero | Holger Hans Peter Freyther | 1 | -0/+1 | |
This is an attempt to hint the compiler that it should check the parameters and warn when something is null. Sadly it does not work as expected. | |||||
2010-09-16 | msc: Send a signal when the connections to the MSC dropped | Holger Hans Peter Freyther | 1 | -10/+9 | |
Send a signal, this way another module can close all connections to the MSC and all local channels. | |||||
2010-09-16 | bsc: Reorder the includes... should be alphabetically now | Holger Hans Peter Freyther | 1 | -2/+3 | |
2010-09-16 | bsc: Make the write method public it will be used by other modules | Holger Hans Peter Freyther | 1 | -2/+1 | |
2010-09-16 | bsc: Add code responsible for connecting, reconnecting to the MSC | Holger Hans Peter Freyther | 3 | -1/+377 | |
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-16 | bsc: Initialize the MSC data parameters to a sane default | Holger Hans Peter Freyther | 1 | -0/+5 | |
2010-09-16 | bsc: Keep all active subscriber connections in a list. | Holger Hans Peter Freyther | 1 | -0/+5 | |
2010-09-16 | bsc: Move the subscriber_con code into the bsc_api | Holger Hans Peter Freyther | 2 | -40/+41 | |
2010-09-16 | chan_alloc: Allocate a subscriber connection as child of the network | Holger Hans Peter Freyther | 1 | -1/+1 | |
Due handover we might leave the BTS and if we ever allocate/release a BTS dynamically we have a problem here. | |||||
2010-09-16 | bsc: Add the osmo_bsc_grace from the on-waves/bsc-master branch | Holger Hans Peter Freyther | 2 | -0/+109 | |
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-16 | bsc: Move the gsm_04_80.c code into the libbsc.a | Holger Hans Peter Freyther | 1 | -2/+2 | |
2010-09-16 | osmo_rf: Keep the current policy inside the RF struct.. | Holger Hans Peter Freyther | 1 | -5/+7 | |
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-15 | bsc: Move the rf_ctl into the msc data struct | Holger Hans Peter Freyther | 1 | -3/+3 | |
2010-09-15 | bsc: Register a new MSC group with data for the MSC connection | Holger Hans Peter Freyther | 2 | -1/+147 | |
This group contains everything that is related to the MSC connections. | |||||
2010-09-15 | bsc: Remove the old msc parameter, everything is in the VTY config now | Holger Hans Peter Freyther | 1 | -2/+0 | |
2010-09-15 | bsc: Create struct osmo_msc_data to hold MSC information, handle signals | Holger Hans Peter Freyther | 2 | -0/+50 | |
2010-09-15 | nat: Fix the grammar of the sentence for listing open sccp connectionsopenbsc/0.9.60.9.6 | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-09-15 | nat: Check if the connection was filtered before the msc connection | Holger Hans Peter Freyther | 1 | -4/+4 | |
This way we avoid seeing many warnings that we will not forward data to the MSC. For the con_local connections that is actually the idea, we will not forward them to the MSC. | |||||
2010-09-15 | nat: Remove debug left overs | Holger Hans Peter Freyther | 1 | -1/+0 | |
2010-09-15 | nat: Attempt to disconnect a connection when IMSI filtering happens | Holger Hans Peter Freyther | 1 | -4/+60 | |
Attempt to disconnect the connection and make both sides happy about this. Right now it only handles the LU and should be extended to the CM Service Request. | |||||
2010-09-15 | nat: And the sequence number away, making it work more reliable | Holger Hans Peter Freyther | 1 | -4/+8 | |
2010-09-15 | nat: Parse the id response, extract the IMSI, compare it | Holger Hans Peter Freyther | 1 | -1/+58 | |
Add a test case and also add a basic check that we got some size checks correct. The next step is to act on the result. | |||||
2010-09-15 | nat: Start inspecting every message coming from the BSC for the IMSI | Holger Hans Peter Freyther | 2 | -3/+20 | |
Return early in case the IMSI was already checked, if not we need to look at the connection and check if the message could contain a imsi we want/need to filter. | |||||
2010-09-15 | nat: Remember if we have check the imsi. | Holger Hans Peter Freyther | 2 | -3/+4 | |
Return -1 if the IMSI should be filtered, 0 if the IMSI could not be checked and 1 if the IMSI was checked and allowed to pass. In the future this will be used to inspect every message coming by. | |||||
2010-09-15 | nat: Keep the fiter status in the return message. | Holger Hans Peter Freyther | 1 | -1/+3 | |
2010-09-15 | nat: Improve the log message in case we have SCCP data without a connection | Holger Hans Peter Freyther | 1 | -1/+4 | |
Describe which kind of data we have and where it was coming from as this makes debugging a bit easier. | |||||
2010-09-11 | vty: Use \r\n in the copyright messages | Holger Hans Peter Freyther | 5 | -24/+24 | |
We should use VTY_NEWLINE but our strings are static, always use \r\n as unix terminals can handle that as well. | |||||
2010-09-11 | bsc: Set the copyright for the real BSC. | Holger Hans Peter Freyther | 1 | -0/+2 | |
2010-09-06 | [paging] Implement the counting for TCH/H and TCH/F | Holger Hans Peter Freyther | 1 | -4/+11 | |
Add some code to count TCH/H and TCH/F and also handle the neci bit of the network. Our channel allocator will allocate a TCH/F if we request a TCH/H but can not allocate it. | |||||
2010-09-06 | [paging] Only page if we have some free channels right now | Holger Hans Peter Freyther | 3 | -0/+63 | |
Only page if we have a load that is acceptable for paging. This option is off by default, and can be enabled per bts. The idea is that when we have no resources right now we will not page as it will only create more RACHs and increase the load. By default we are keeping the old behavior to always page and only by changing a setting one is using the new behavior. | |||||
2010-09-06 | [paging] Continuisly send paging commands. | Holger Hans Peter Freyther | 1 | -22/+24 | |
Instead of throwing a huge pile of paging commands to the BTS we will submit one paging command every half second. This way we can have different messages between the paging commands. This is done to avoid crashes of the nanoBTS when too much paging messages are send. | |||||
2010-09-06 | [paging] When giving credit try to send out paging requests too. | Holger Hans Peter Freyther | 1 | -0/+2 | |
Make sure the paging timer is restarted after giving some credit and send out paging requests. | |||||
2010-09-06 | [paging] When we ran down to 0 available paging slots start a credit timer | Holger Hans Peter Freyther | 1 | -9/+17 | |
It might be that we run down to zero available slots but the BTS might not send us a load indication. This can happen if we think we send paging requests and the BTS disagrees and considers them as errors and does not count the paging message. When we drop to zero we will start a credit timer to give us extra credit after six seconds, if we get a CCCH load indication before we will stop the timer. | |||||
2010-09-06 | vty: Fix build due to merge issue. | Holger Hans Peter Freyther | 1 | -0/+1 | |
2010-09-06 | chan: Add configuration to handle paging any with TCH | Holger Hans Peter Freyther | 2 | -0/+24 | |
It is possible that the MSC is not sending the channel type it needs for the operations it wants to do. Add a configuration option to assign a TCH in case of paging any requests. It can be a good idea to leave SDCCHs free for location updating requests and use the TCH for SMS-MT and CC-MT. |