Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-03-04 | prefix sub-directories containing libraries with 'lib' | Harald Welte | 4 | -2430/+0 | |
... and make sure tests work again after restructuring | |||||
2011-03-03 | Rename bsc_nat -> osmo-bsc_nat and bsc_mgcp -> osmo-bsc_mgcp | Harald Welte | 1 | -283/+0 | |
This now enforces a unique structure: All of our main daemon programs start with an "osmo-" prefix. | |||||
2011-03-03 | re-structure the OpenBSC directory layout | Harald Welte | 1 | -0/+7 | |
The new structure divides the code into a number of libraries for the BSC core functionality, MSC core functionality, Abis transport, TRAU and other bits. This doesn't introduce any functional code change but simply moves around files and alters Makefile.am accordingly. Next step would be to disentangle a lot of the inter-library dependencies and make the individual bits of code more independent. | |||||
2011-02-28 | mgcp: Only allow transcoding on the virtual trunk | Holger Hans Peter Freyther | 2 | -2/+3 | |
2011-02-28 | mgcp: Fix the static allocation of E1 trunks for the BTS/NET side | Holger Hans Peter Freyther | 1 | -9/+14 | |
2011-02-28 | mgcp: Allocate the endpoints for the E1 trunks as well. | Holger Hans Peter Freyther | 2 | -36/+56 | |
2011-02-28 | mgcp: Look up the E1 trunks through the trunk configuration | Holger Hans Peter Freyther | 1 | -4/+15 | |
2011-02-28 | mgcp: Implement find_trunk to find the E1 trunks as well. | Holger Hans Peter Freyther | 1 | -4/+26 | |
2011-02-28 | mgcp: Make show mgcp print the new trunks we have. | Holger Hans Peter Freyther | 1 | -0/+11 | |
2011-02-28 | mgcp: Introduce a trunk config for multiple trunks. | Holger Hans Peter Freyther | 2 | -4/+125 | |
A trunk will always have 32 endpoints to be used and we allow a sparse allocation of endpoints. | |||||
2011-02-28 | mgcp: Update the commands to work on more than the virtual trunk | Holger Hans Peter Freyther | 1 | -25/+58 | |
2011-02-28 | mgcp: Prepare the show mgcp command to work on multiple trunks | Holger Hans Peter Freyther | 1 | -7/+15 | |
2011-02-28 | mgcp: Introduce a mgcp_trunk_config enum for endpoint configs | Holger Hans Peter Freyther | 4 | -63/+80 | |
We want to support real trunks in the MGCP code and we need to have some better book keeping for those. Move the code around. | |||||
2011-02-19 | Fix various compiler warnings all over the code | Harald Welte | 1 | -2/+3 | |
2011-01-25 | mgcp: Be able to parse RQNT messages and reply to them | Holger Hans Peter Freyther | 1 | -0/+25 | |
We do not implement the request for notification at all but we will tell the server that we have received something. | |||||
2011-01-07 | mgcp: Return with NULL if we fail the size check. | Holger Hans Peter Freyther | 1 | -0/+1 | |
2011-01-07 | mgcp: We want to count trunks starting from one. | Holger Hans Peter Freyther | 1 | -3/+3 | |
2011-01-06 | mgcp: Parse a Digital Trunk endpoint name. | Holger Hans Peter Freyther | 1 | -5/+43 | |
2011-01-06 | mgcp: Include a MGCP Response String in the response | Holger Hans Peter Freyther | 1 | -30/+34 | |
Switch to a \r\n at the end of the query. Both \n and \r\n are valid according to the spec but this makes us match responses of other equipment. | |||||
2011-01-01 | License change: We are now AGPLv3+ instead of GPLv2+ | Harald Welte | 4 | -26/+22 | |
The reason for this is quite simple: We want to make sure anyone running a customized version of OpenBSC to operate a network will have to release all custom modifiations to the source code. | |||||
2010-11-02 | mgcp: Send data from the network to the transcoder too | Holger Hans Peter Freyther | 2 | -16/+12 | |
We now should be able to transcode in both directions. | |||||
2010-11-02 | mgcp: Use the calculated remote port from the mgcp_rtp_end | Holger Hans Peter Freyther | 1 | -4/+2 | |
2010-11-02 | mgcp: Make the transcoding forwarding work for BTS/NET | Holger Hans Peter Freyther | 1 | -19/+33 | |
Share the implementation for the transcoded packets and forward them to the network and the bts. | |||||
2010-11-02 | mgcp: Refactor the network binding routines | Holger Hans Peter Freyther | 1 | -47/+26 | |
Create another wrapper function that takes most of the arguments from the caller. | |||||
2010-11-02 | mgcp: Introduce trans_bts and send BTS packets from this port | Holger Hans Peter Freyther | 3 | -17/+52 | |
Introduce the trans_bts. Right now only a port is allocated and the packets from the BTS are sent from this socket. | |||||
2010-11-02 | mgcp: Keep the local_port like it was set on allocation | Holger Hans Peter Freyther | 1 | -3/+4 | |
Do not reset statically allocated local_port. The port might be different to the calculation of endpoint number and base port. This might be the case for the coming remote transcoding. | |||||
2010-11-01 | mgcp: Rename transcoder_end to trans_net | Holger Hans Peter Freyther | 3 | -22/+22 | |
Packets arriving for trans_net will be send out to the networking. We will introduce a trans_bts in a second. | |||||
2010-11-01 | mgcp: Allow to disable the transcoder in a running system. | Holger Hans Peter Freyther | 1 | -0/+15 | |
2010-11-01 | mgcp: Make transcoding a per Endpoint configuration | Holger Hans Peter Freyther | 2 | -9/+15 | |
This allows to switch off transcoding on the fly, or only enable it for certain vessels with known problems. | |||||
2010-11-01 | mgcp: Fix the indetion of this code. it should use tabs | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-10-12 | misc: Replace the idiom for replacing a string with a function call | Holger Hans Peter Freyther | 1 | -18/+6 | |
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-12 | misc: Attempt to determine byte order in a cross-platform way | Holger Hans Peter Freyther | 1 | -1/+9 | |
OSX does not provide an endian.h, use the other header files that should define/include what we need. Also check that the byteorder define is available. | |||||
2010-09-24 | mgcp: Return 0 in case transcoding is disabled. | Holger Hans Peter Freyther | 1 | -1/+1 | |
In case transcoding is disabled no error has happened, return a zero. This is fixing starting the nat without transcoding. | |||||
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 | 1 | -0/+19 | |
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 | 3 | -2/+15 | |
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 | 3 | -8/+126 | |
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 | 1 | -0/+27 | |
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 | 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-18 | janitor: Move the * to the variable name | Holger Hans Peter Freyther | 2 | -3/+3 | |
2010-09-11 | vty: Use \r\n in the copyright messages | Holger Hans Peter Freyther | 1 | -6/+6 | |
We should use VTY_NEWLINE but our strings are static, always use \r\n as unix terminals can handle that as well. | |||||
2010-09-04 | vty: Add the config node code to everyone. | Holger Hans Peter Freyther | 1 | -0/+1 | |
2010-08-25 | Introduce '-D' commandline option to daemonize processes | Harald Welte | 1 | -1/+15 | |
This uses the osmo_daemonize() function of libosmocore >= 0.1.18, and is now implemented for bac_nat, osmo-bsc, bsc_hack, osmo-gbproxy and bsc_mgcp. This means only osmo-sgsn is missing, which currently has no option parsing at all. | |||||
2010-08-08 | mgcp: Add a vty command to free a given endpoint. | Holger Hans Peter Freyther | 1 | -0/+19 | |