aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/mgcp/mgcp_vty.c
AgeCommit message (Collapse)AuthorFilesLines
2011-03-04prefix sub-directories containing libraries with 'lib'Harald Welte1-742/+0
... and make sure tests work again after restructuring
2011-02-28mgcp: Only allow transcoding on the virtual trunkHolger Hans Peter Freyther1-1/+2
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 Freyther1-30/+53
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 Freyther1-4/+92
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 Freyther1-24/+28
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-01License change: We are now AGPLv3+ instead of GPLv2+Harald Welte1-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-02mgcp: Introduce trans_bts and send BTS packets from this portHolger Hans Peter Freyther1-3/+13
Introduce the trans_bts. Right now only a port is allocated and the packets from the BTS are sent from this socket.
2010-11-01mgcp: Rename transcoder_end to trans_netHolger Hans Peter Freyther1-2/+2
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-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-09-20mgcp: Count the packets that arrive on the transcoderHolger Hans Peter Freyther1-1/+2
2010-09-20mgcp: Make the base port of the transcoder configurableHolger Hans Peter Freyther1-0/+12
The code assumes a static mapping from endpoint to RTP port, be able to configure the start of such a mapping.
2010-09-20mgcp: Forward data from the BTS-in to the transcoderHolger Hans Peter Freyther1-0/+10
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-08-08mgcp: Add a vty command to free a given endpoint.Holger Hans Peter Freyther1-0/+19
2010-08-06mgcp: Enable the tap after configuring it...Holger Hans Peter Freyther1-0/+1
2010-08-06mgcp: Add a call tap feature to forward audio to another forward portHolger Hans Peter Freyther1-0/+45
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-05mgcp: Patch RTP packets again if that is allowed.0.9.3Holger Hans Peter Freyther1-0/+1
2010-08-05mgcp: Allow to dynamically allocate ports from a range..Holger Hans Peter Freyther1-0/+2
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-05mgcp: Allow to have a different port allocation modeHolger Hans Peter Freyther1-10/+50
2010-08-05mgcp: Prepare to have different port allocation strategies.Holger Hans Peter Freyther1-6/+13
2010-08-05mgcp: Allocate a different port for the networking...Holger Hans Peter Freyther1-0/+18
Use the right source port when sending the message.
2010-08-05mgcp: Rename the base port to bts_base as it will be used for the btsHolger Hans Peter Freyther1-6/+10
2010-08-05mgcp: Rename the bind method to show it is only binding for the bts portHolger Hans Peter Freyther1-1/+1
2010-08-05mgcp: Only use early bind for the BTS socket.Holger Hans Peter Freyther1-14/+10
Simplify the code by onlt allowing one way to allocate a socket.
2010-08-05mgcp: Group the state for bts/net into a struct and have two instancesHolger Hans Peter Freyther1-4/+5
Group the data that each end (network/bts) have into a struct and use this struct throughout the sourcecode.
2010-08-05mgcp: Remove the forwarding mode as it was not used.Holger Hans Peter Freyther1-58/+1
2010-08-03mgcp: Move the rtp state into a structHolger Hans Peter Freyther1-2/+2
Use a struct to group the rtp state for the up and the down link of the bts.
2010-08-03mgcp: Fix the documentation entry for the parametersHolger Hans Peter Freyther1-1/+1
2010-08-03mgcp: Allow to change the receive (the loopback part) via the VTYHolger Hans Peter Freyther1-0/+29
2010-07-29mgcp: Provide the RTP packet loss information in the mgcp overviewHolger Hans Peter Freyther1-2/+3
2010-07-27mgcp: Rename TOS to DSCPHolger Hans Peter Freyther1-7/+13
DSCP is the more modern information for TOS and the kernel will set parts of TOS by itself (e.g. for ECN).
2010-06-17Merge branch 'on-waves/mgcp'Holger Hans Peter Freyther1-0/+12
2010-06-17[mgcp] Set the IP_TOS/DSCP on RTP/RTCP IP packets.Holger Hans Peter Freyther1-0/+12
2010-05-25Migrate VTY code to libosmovtyHarald Welte1-2/+2
2010-05-16VTY: decouple telnet_interface from 'struct gsmnet'Harald Welte1-1/+1
We want the VTY and telnet code to be independent from the BSC application(s). As a side note, we also like to eliminate static global variables for 'struct gsm_network' all over the code. As such, telnet_init() is now passed along a "private" pointer, which getst stored in telnet_connection.priv. This telnet_connection is then stored in vty->priv, which in turn gets dereferenced if anyone needs a reference to 'struct gsm_network' from the BSC vty code. Also: * vty_init() now calls cmd_init() * the ugliness that telnet_init() calls back into the application by means of bsc_vty_init() function has been removed. * telnet_init() now returns any errors, so the main program can exit e.g. if the port is already in use.
2010-05-14[VTY] Introduce "end" command that works from any level in configHarald Welte1-0/+1
Using "end" you can always return to the "enable" level, and from there the "show" commands are available. So no more need for exit/exit/exit/exit/disable.
2010-05-14[VTY] Remove OpenBSC specific node-exit handling from src/vtyHarald Welte1-0/+2
The idea is to move the VTY code into libosmocore at some point, and for that we need to eliminate OpenBSC specifics from it
2010-05-14[mgcp] Make show mgcp available in both modes.Holger Hans Peter Freyther1-1/+1
2010-05-14Merge branch 'master' into on-waves/mgcpHolger Hans Peter Freyther1-2/+2
2010-05-14[mgcp] Clean up VTY code, the ranges are checked by the VTY code.Holger Hans Peter Freyther1-20/+0
2010-05-14[mgcp] Use A.B.C.D for the ip addresses inside the vty configHolger Hans Peter Freyther1-4/+4
Make the vty code parse the ip addresses for us and validate them for us.
2010-04-30[misc] Remove spaces, fix indention.Holger Hans Peter Freyther1-2/+2