Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-09-20 | Merge branch 'zecke/mgcp-transcoder'openbsc/0.9.8 | Holger Hans Peter Freyther | 8 | -75/+387 | |
2010-09-20 | mgcp: Count the packets that arrive on the transcoder | Holger Hans Peter Freyther | 2 | -1/+3 | |
2010-09-20 | mgcp: Remove code duplication for filling out the sockaddr_in | Holger Hans Peter Freyther | 1 | -22/+15 | |
Share the send to transcoder sockaddr sending routines. | |||||
2010-09-20 | nat: Send a transcoder reset on start up. | Holger Hans Peter Freyther | 3 | -0/+29 | |
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-20 | mgcp: Make the base port of the transcoder configurable | Holger Hans Peter Freyther | 4 | -4/+20 | |
The code assumes a static mapping from endpoint to RTP port, be able to configure the start of such a mapping. | |||||
2010-09-20 | mgcp: Prepare the CRCX/MDCX/DLCX messages for the transcoder. | Holger Hans Peter Freyther | 1 | -0/+102 | |
Send CRCX/MDCX/DLCX to the transcoder, fill out transcoder_end with the interesting data and hope that it is going to work. | |||||
2010-09-20 | mgcp: Forward data from the BTS-in to the transcoder | Holger Hans Peter Freyther | 4 | -8/+128 | |
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-20 | mgcp: Add ports for the transcoder as well | Holger Hans Peter Freyther | 2 | -0/+28 | |
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 | 2 | -0/+19 | |
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 | 2 | -39/+39 | |
2010-09-20 | mgcp: Keep the gw_fd inside the mgcp_config | Holger Hans Peter Freyther | 2 | -12/+14 | |
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-20 | mgcp: Remove the hack to remap timeslot one... | Holger Hans Peter Freyther | 1 | -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-20 | nat: Test for a bug inside the TLV definition for GSM 08.08 | Holger Hans Peter Freyther | 2 | -3/+22 | |
The 0x1 inside a CIC IE could indicate a new IE... add test data and test case to verify that the patching works correctly. | |||||
2010-09-20 | nat: Test the endpoint finding a bit better... | Holger Hans Peter Freyther | 1 | -3/+5 | |
2010-09-18 | janitor: Move the * to the variable name | Holger Hans Peter Freyther | 13 | -17/+17 | |
2010-09-17 | db: Declare db_sms_inc_deliver_attempts. | Holger Hans Peter Freyther | 1 | -0/+1 | |
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: Prepare to store the SCCP connection inside the subscriber | Holger Hans Peter Freyther | 1 | -0/+4 | |
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 | 2 | -10/+23 | |
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 | 2 | -2/+2 | |
2010-09-16 | bsc: Add code responsible for connecting, reconnecting to the MSC | Holger Hans Peter Freyther | 4 | -1/+386 | |
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 | 2 | -0/+7 | |
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 | 4 | -1/+139 | |
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 | 2 | -6/+10 | |
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 | 2 | -3/+6 | |
2010-09-15 | bsc: Register a new MSC group with data for the MSC connection | Holger Hans Peter Freyther | 4 | -1/+158 | |
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 | 5 | -2/+89 | |
2010-09-15 | nat: Fix the grammar of the sentence for listing open sccp connectionsopenbsc/0.9.6 | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-09-15 | Merge branch 'zecke/imsi-filter' | Holger Hans Peter Freyther | 6 | -19/+223 | |
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 | |