aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/mgcp/mgcp_vty.c
AgeCommit message (Collapse)AuthorFilesLines
2010-08-05mgcp: Patch RTP packets again if that is allowed.openbsc/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
2010-04-17[mgcp] Fix vty file generation for the BSC nat and other casesHolger Hans Peter Freyther1-6/+8
The current setting was not properly written out, this commit is fixing it. This includes indention, empty bts ip, wrong command for endpoints and the wrong number (+1 as zero is allocated but unused).
2010-04-15[mgcp] Only write audio_name/payload when it is actually set.Holger Hans Peter Freyther1-2/+4
2010-04-09[mgcp] Improve the endpoint display on the vty..Holger Hans Peter Freyther1-1/+1
Make sure one understands the two values for number of incoming packets..
2010-04-07[mgcp] Count incoming RTP packets from the BTS and remoteHolger Hans Peter Freyther1-2/+3
2010-04-05[mgcp] Print the BTS IP addr of the endpoint.Holger Hans Peter Freyther1-2/+3
2010-04-05[mgcp] Add a new config option to set the call agent ip addrHolger Hans Peter Freyther1-0/+14
In the case of the nat we only want to communicate with one upstream call agent and this can now be configured.
2010-03-30[mgcp] The networking code needs a source addrs..Holger Hans Peter Freyther1-0/+5
Make the source address mandantory and complain about complain when it is missing. The address is mandantory as it needs to be put into the MGCP messages...
2010-03-30[mgcp] Move mgcp init into the main method...Holger Hans Peter Freyther1-10/+0
2010-02-26Merge remote branch 'origin/master' into on-waves/mgcpHolger Hans Peter Freyther1-1/+2
Conflicts: openbsc/include/openbsc/Makefile.am openbsc/src/Makefile.am
2010-02-26[mgcp] Print the rtp_port number, do not assume it was already assigned.Holger Hans Peter Freyther1-1/+1
2010-02-22[mgcp] Move away from global variables and split out VTY codeHolger Hans Peter Freyther1-0/+338
In separation of using the MGCP parsing in another context, refactor the code to operate on a struct mgcp_config, split out the vty code from the mgcp_protocol.c, and move the callbacks into the mgcp code. There should be no functional changes.