aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/mgcp
AgeCommit message (Collapse)AuthorFilesLines
2010-08-05mgcp: Get the for network/for bts flag right.openbsc/0.9.20.9.2Holger Hans Peter Freyther1-2/+2
2010-08-05mgcp: Be more strict on the source addr/source port of the btsHolger Hans Peter Freyther1-0/+15
Once we have discovered the bts we will not accept data from anything else. The call will drop if the BTS is changing the ip address of the nat anyway.
2010-08-05mgcp: Only discover the bts once, the extra check got lostHolger Hans Peter Freyther1-3/+3
2010-08-05mgcp: Allow to dynamically allocate ports from a range..Holger Hans Peter Freyther3-7/+81
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 Freyther2-10/+18
2010-08-05mgcp: Fix the signature of the change_cb to not carry the port.Holger Hans Peter Freyther1-1/+1
2010-08-05mgcp: Separate recv from net/bts and remove autodetectionHolger Hans Peter Freyther1-41/+64
This allows a more strict check on the source of RTP messages and we can more easily reject those. For the BTS without an ip address we will also update the ip address.
2010-08-05mgcp: Move the loopback code into the common send as well.Holger Hans Peter Freyther1-8/+9
2010-08-05mgcp: Remove the receive code into a new method.Holger Hans Peter Freyther1-11/+25
2010-08-05mgcp: Move the selection of the right source port to a new methodHolger Hans Peter Freyther1-31/+31
2010-08-05mgcp: Allocate a different port for the networking...Holger Hans Peter Freyther3-33/+68
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 Freyther2-8/+12
2010-08-05mgcp: Move the bfd for rtp/rtcp into the portHolger Hans Peter Freyther2-25/+32
Stop using the memset in the mgcp_rtp_end_reset as we will reset the list pointers and then have a mess..
2010-08-05mgcp: Rename the bind method to show it is only binding for the bts portHolger Hans Peter Freyther2-3/+2
2010-08-05mgcp: Only use early bind for the BTS socket.Holger Hans Peter Freyther2-24/+12
Simplify the code by onlt allowing one way to allocate a socket.
2010-08-05mgcp: Attempt to separate the RTP/RTCP port for the Network and for the BTSHolger Hans Peter Freyther2-16/+19
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-05mgcp: Group the state for bts/net into a struct and have two instancesHolger Hans Peter Freyther3-39/+43
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 Freyther2-59/+2
2010-08-05mgcp: Fix the payload_type... it broke in ↵Holger Hans Peter Freyther1-2/+2
7cdc62c01223570441e60ec6d0dd7a92e622677b
2010-08-04mgcp: Fix the reversed net/bts... which has not cause any issue..Holger Hans Peter Freyther1-2/+2
2010-08-04mgcp: Pass the whole endpoint to the patch method.Holger Hans Peter Freyther1-12/+10
2010-08-04mgcp: Fix the order of the arguments...Holger Hans Peter Freyther1-3/+3
2010-08-04mgcp: Print the conn mode as wellHolger Hans Peter Freyther1-5/+5
2010-08-04mgcp: Disable the actual patching... this is a temporary hackHolger Hans Peter Freyther1-1/+1
2010-08-04mgcp: Print the system for the duplicate SSRC...Holger Hans Peter Freyther1-5/+12
2010-08-03mgcp: Only patch the header if we had a change in SSRCopenbsc/0.9.10.9.1Holger Hans Peter Freyther1-5/+8
2010-08-03mgcp: Style issue... add a space.Holger Hans Peter Freyther1-1/+1
2010-08-03mgcp: Allow switching the audio streams, patch the headerHolger Hans Peter Freyther1-3/+25
Patch the sequence number, the SSRC and the timestamp to allow to mix various voice streams, e.g. toggling the loop during the call.
2010-08-03mgcp: Move the rtp state into a structHolger Hans Peter Freyther3-14/+13
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 Freyther2-0/+34
2010-08-03mgcp: Implement the "loopback" mode for a connection endpoint.Holger Hans Peter Freyther2-7/+6
2010-07-29mgcp: Attempt to count lost packets better...Holger Hans Peter Freyther1-1/+1
2010-07-29mgcp: Provide the RTP packet loss information in the mgcp overviewHolger Hans Peter Freyther1-2/+3
2010-07-29mgcp: Attempt to count missing RTP packets with a basic calculationHolger Hans Peter Freyther2-4/+21
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-07-27mgcp: Rename TOS to DSCPHolger Hans Peter Freyther2-9/+15
DSCP is the more modern information for TOS and the kernel will set parts of TOS by itself (e.g. for ECN).
2010-07-23mgcp: u_int8_t -> uint8_tHolger Hans Peter Freyther1-4/+4
2010-07-23mgcp: u_int16_t -> uint16_tHolger Hans Peter Freyther1-1/+1
2010-07-23mgcp: u_int32_t -> uint32_tHolger Hans Peter Freyther1-2/+2
2010-06-17Merge branch 'on-waves/mgcp'Holger Hans Peter Freyther2-2/+27
2010-06-17[mgcp] Set the IP_TOS/DSCP on RTP/RTCP IP packets.Holger Hans Peter Freyther2-0/+23
2010-06-17[mgcp] Only patch RTP packets when they arrived on the RTP portHolger Hans Peter Freyther1-2/+4
Do not attempt to patch RTCP packets...
2010-06-09misc: Fix the return type of the go back vty function...Holger Hans Peter Freyther1-1/+1
Without this we will get warnings about incompatible assignments
2010-05-25[VTY] use new struct vty_app_info in libvtyHarald Welte1-1/+9
2010-05-25Migrate VTY code to libosmovtyHarald Welte2-4/+4
2010-05-16VTY: separate VTY logging commands and OpenBSC node exit codeHarald Welte1-1/+1
2010-05-16VTY: decouple telnet_interface from 'struct gsmnet'Harald Welte2-14/+8
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-16VTY: pass program name, version and copyright to vty_init()Harald Welte1-10/+4
This enables us to make the VTY completely independent of any compile-time program-specific information, i.e. one step closer to using VTY as a shared library from multiple programs.
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.