Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-03-04 | prefix sub-directories containing libraries with 'lib' | Harald Welte | 1 | -1102/+0 | |
... and make sure tests work again after restructuring | |||||
2011-02-28 | mgcp: Only allow transcoding on the virtual trunk | Holger Hans Peter Freyther | 1 | -1/+1 | |
2011-02-28 | mgcp: Allocate the endpoints for the E1 trunks as well. | Holger Hans Peter Freyther | 1 | -6/+3 | |
2011-02-28 | mgcp: Look up the E1 trunks through the trunk configuration | Holger Hans Peter Freyther | 1 | -4/+15 | |
2011-02-28 | mgcp: Introduce a trunk config for multiple trunks. | Holger Hans Peter Freyther | 1 | -0/+33 | |
A trunk will always have 32 endpoints to be used and we allow a sparse allocation of endpoints. | |||||
2011-02-28 | mgcp: Introduce a mgcp_trunk_config enum for endpoint configs | Holger Hans Peter Freyther | 1 | -32/+45 | |
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-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 | 1 | -6/+5 | |
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 | 1 | -2/+2 | |
We now should be able to transcode in both directions. | |||||
2010-11-02 | mgcp: Introduce trans_bts and send BTS packets from this port | Holger Hans Peter Freyther | 1 | -11/+20 | |
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 | 1 | -7/+7 | |
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: Make transcoding a per Endpoint configuration | Holger Hans Peter Freyther | 1 | -8/+14 | |
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-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: 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 | 1 | -1/+2 | |
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 | 1 | -8/+19 | |
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: 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 | 1 | -1/+1 | |
2010-08-08 | mgcp: Use transient errors in more cases... | Holger Hans Peter Freyther | 1 | -10/+10 | |
2010-08-06 | mgcp: Reduce the log level to debug for these calls.0.9.4 | Holger Hans Peter Freyther | 1 | -3/+3 | |
2010-08-06 | mgcp: Remember if the endpoint was allocated... | Holger Hans Peter Freyther | 1 | -2/+4 | |
Do not use the CI_UNUSED to decide if an endpoint is allocated but introduce a new flag. This way only the CRCX and free_endp play with the allocated field. | |||||
2010-08-06 | mgcp: Add a callback to inform the client that an endpoint got reallocated | Holger Hans Peter Freyther | 1 | -0/+2 | |
2010-08-06 | mgcp: Make the CI uint32_t all the way to avoid mismatch | Holger Hans Peter Freyther | 1 | -6/+8 | |
2010-08-06 | mgcp: Move the mgcp_free_endp into the right path for the CRCX failure | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-08-06 | mgcp: Add a call tap feature to forward audio to another forward port | Holger Hans Peter Freyther | 1 | -0/+2 | |
For debugging it is useful to forward (tee) UDP packets to another system and use gstreamer to inspect the rtp stream. This is untested code and might contain bugs.... and of course only tap your own calls. | |||||
2010-08-05 | mgcp: Patch RTP packets again if that is allowed.0.9.3 | Holger Hans Peter Freyther | 1 | -0/+1 | |
2010-08-05 | mgcp: Get the for network/for bts flag right.0.9.2 | Holger Hans Peter Freyther | 1 | -2/+2 | |
2010-08-05 | mgcp: Allow to dynamically allocate ports from a range.. | Holger Hans Peter Freyther | 1 | -7/+57 | |
Allow to switch to a dynamic port allocator and not reuse the ports for a long time... This should help with a crazy network sending two streams at the same time. | |||||
2010-08-05 | mgcp: Prepare to have different port allocation strategies. | Holger Hans Peter Freyther | 1 | -4/+5 | |
2010-08-05 | mgcp: Allocate a different port for the networking... | Holger Hans Peter Freyther | 1 | -0/+3 | |
Use the right source port when sending the message. | |||||
2010-08-05 | mgcp: Rename the base port to bts_base as it will be used for the bts | Holger Hans Peter Freyther | 1 | -2/+2 | |
2010-08-05 | mgcp: Move the bfd for rtp/rtcp into the port | Holger Hans Peter Freyther | 1 | -5/+12 | |
Stop using the memset in the mgcp_rtp_end_reset as we will reset the list pointers and then have a mess.. | |||||
2010-08-05 | mgcp: Only use early bind for the BTS socket. | Holger Hans Peter Freyther | 1 | -10/+2 | |
Simplify the code by onlt allowing one way to allocate a socket. | |||||
2010-08-05 | mgcp: Attempt to separate the RTP/RTCP port for the Network and for the BTS | Holger Hans Peter Freyther | 1 | -9/+11 | |
We plan to have two different ports for the network and for the BTS to avoid detecting the BTS and to dynamically allocate the port to have old data not go to a new socket. | |||||
2010-08-05 | mgcp: Group the state for bts/net into a struct and have two instances | Holger Hans Peter Freyther | 1 | -17/+20 | |
Group the data that each end (network/bts) have into a struct and use this struct throughout the sourcecode. | |||||
2010-08-03 | mgcp: Style issue... add a space. | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-08-03 | mgcp: Move the rtp state into a struct | Holger Hans Peter Freyther | 1 | -2/+2 | |
Use a struct to group the rtp state for the up and the down link of the bts. | |||||
2010-08-03 | mgcp: Allow to change the receive (the loopback part) via the VTY | Holger Hans Peter Freyther | 1 | -0/+5 | |
2010-08-03 | mgcp: Implement the "loopback" mode for a connection endpoint. | Holger Hans Peter Freyther | 1 | -7/+2 | |
2010-07-29 | mgcp: Attempt to count missing RTP packets with a basic calculation | Holger Hans Peter Freyther | 1 | -0/+3 | |
This code compares the UDP sequence numbers of two RTP messages and guesses if packets are missing. It is guessing in two ways: 1.) by default the sequence number is 0, so on the first value we ignore the jump... we might ignore a real issue in case of a wrap around which is easily possible as the sequence should be a random number. 2.) the UDP stream might have been reordered on the network and we would see the jump... In any case these two shortcomings are acceptable for the feature that is meant to provide some basic analysis.. | |||||
2010-04-25 | [mgcp] Possible memleak fix for the allowed reallocation case | Holger Hans Peter Freyther | 1 | -0/+1 | |
When allowing to reallocate an allocated endpoint we will need to free it first. When freeing we will free the call id and other ids that we would have leaked otherwise. |