aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/mgcp
AgeCommit message (Collapse)AuthorFilesLines
2011-03-04prefix sub-directories containing libraries with 'lib'Harald Welte4-2430/+0
... and make sure tests work again after restructuring
2011-03-03Rename bsc_nat -> osmo-bsc_nat and bsc_mgcp -> osmo-bsc_mgcpHarald Welte1-283/+0
This now enforces a unique structure: All of our main daemon programs start with an "osmo-" prefix.
2011-03-03re-structure the OpenBSC directory layoutHarald Welte1-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-28mgcp: Only allow transcoding on the virtual trunkHolger Hans Peter Freyther2-2/+3
2011-02-28mgcp: Fix the static allocation of E1 trunks for the BTS/NET sideHolger Hans Peter Freyther1-9/+14
2011-02-28mgcp: Allocate the endpoints for the E1 trunks as well.Holger Hans Peter Freyther2-36/+56
2011-02-28mgcp: Look up the E1 trunks through the trunk configurationHolger Hans Peter Freyther1-4/+15
2011-02-28mgcp: Implement find_trunk to find the E1 trunks as well.Holger Hans Peter Freyther1-4/+26
2011-02-28mgcp: Make show mgcp print the new trunks we have.Holger Hans Peter Freyther1-0/+11
2011-02-28mgcp: Introduce a trunk config for multiple trunks.Holger Hans Peter Freyther2-4/+125
A trunk will always have 32 endpoints to be used and we allow a sparse allocation of endpoints.
2011-02-28mgcp: Update the commands to work on more than the virtual trunkHolger Hans Peter Freyther1-25/+58
2011-02-28mgcp: Prepare the show mgcp command to work on multiple trunksHolger Hans Peter Freyther1-7/+15
2011-02-28mgcp: Introduce a mgcp_trunk_config enum for endpoint configsHolger Hans Peter Freyther4-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-19Fix various compiler warnings all over the codeHarald Welte1-2/+3
2011-01-25mgcp: Be able to parse RQNT messages and reply to themHolger Hans Peter Freyther1-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-07mgcp: Return with NULL if we fail the size check.Holger Hans Peter Freyther1-0/+1
2011-01-07mgcp: We want to count trunks starting from one.Holger Hans Peter Freyther1-3/+3
2011-01-06mgcp: Parse a Digital Trunk endpoint name.Holger Hans Peter Freyther1-5/+43
2011-01-06mgcp: Include a MGCP Response String in the responseHolger Hans Peter Freyther1-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-01License change: We are now AGPLv3+ instead of GPLv2+Harald Welte4-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-02mgcp: Send data from the network to the transcoder tooHolger Hans Peter Freyther2-16/+12
We now should be able to transcode in both directions.
2010-11-02mgcp: Use the calculated remote port from the mgcp_rtp_endHolger Hans Peter Freyther1-4/+2
2010-11-02mgcp: Make the transcoding forwarding work for BTS/NETHolger Hans Peter Freyther1-19/+33
Share the implementation for the transcoded packets and forward them to the network and the bts.
2010-11-02mgcp: Refactor the network binding routinesHolger Hans Peter Freyther1-47/+26
Create another wrapper function that takes most of the arguments from the caller.
2010-11-02mgcp: Introduce trans_bts and send BTS packets from this portHolger Hans Peter Freyther3-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-02mgcp: Keep the local_port like it was set on allocationHolger Hans Peter Freyther1-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-01mgcp: Rename transcoder_end to trans_netHolger Hans Peter Freyther3-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-01mgcp: Allow to disable the transcoder in a running system.Holger Hans Peter Freyther1-0/+15
2010-11-01mgcp: Make transcoding a per Endpoint configurationHolger Hans Peter Freyther2-9/+15
This allows to switch off transcoding on the fly, or only enable it for certain vessels with known problems.
2010-11-01mgcp: Fix the indetion of this code. it should use tabsHolger Hans Peter Freyther1-1/+1
2010-10-12misc: Replace the idiom for replacing a string with a function callHolger Hans Peter Freyther1-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-12misc: Attempt to determine byte order in a cross-platform wayHolger Hans Peter Freyther1-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-24mgcp: Return 0 in case transcoding is disabled.Holger Hans Peter Freyther1-1/+1
In case transcoding is disabled no error has happened, return a zero. This is fixing starting the nat without transcoding.
2010-09-20mgcp: Count the packets that arrive on the transcoderHolger Hans Peter Freyther2-1/+3
2010-09-20mgcp: Remove code duplication for filling out the sockaddr_inHolger Hans Peter Freyther1-22/+15
Share the send to transcoder sockaddr sending routines.
2010-09-20nat: Send a transcoder reset on start up.Holger Hans Peter Freyther1-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-20mgcp: Make the base port of the transcoder configurableHolger Hans Peter Freyther3-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-20mgcp: Prepare the CRCX/MDCX/DLCX messages for the transcoder.Holger Hans Peter Freyther1-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-20mgcp: Forward data from the BTS-in to the transcoderHolger Hans Peter Freyther3-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-20mgcp: Add ports for the transcoder as wellHolger Hans Peter Freyther1-0/+27
2010-09-20mgcp: Share the range parsing code for net/btsHolger Hans Peter Freyther1-14/+20
2010-09-20mgcp: Add a transcoder-mgw command to store the addressHolger Hans Peter Freyther1-0/+17
2010-09-20mgcp: Keep the gw_fd inside the mgcp_configHolger Hans Peter Freyther1-12/+11
Move the bfd from a static var into the mgcp_config.
2010-09-20mgcp: Be able to parse 'sendonly' for the connection mode.Holger Hans Peter Freyther1-0/+2
2010-09-20mgcp: Switch the default audio codec to AMRHolger Hans Peter Freyther1-2/+2
2010-09-18janitor: Move the * to the variable nameHolger Hans Peter Freyther2-3/+3
2010-09-11vty: Use \r\n in the copyright messagesHolger Hans Peter Freyther1-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-04vty: Add the config node code to everyone.Holger Hans Peter Freyther1-0/+1
2010-08-25Introduce '-D' commandline option to daemonize processesHarald Welte1-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-08mgcp: Add a vty command to free a given endpoint.Holger Hans Peter Freyther1-0/+19