aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/mgcp_internal.h
AgeCommit message (Collapse)AuthorFilesLines
2011-08-30mgcp: Configure the direction the compression should workHolger Hans Peter Freyther1-0/+1
It needs to be configured correctly on the NAT.
2011-08-30mgcp: Work on compress/uncompress on a per endpoint usage...Holger Hans Peter Freyther1-0/+6
2011-08-30mgcp: Pick a different encoding when we need to handle Marker framesHolger Hans Peter Freyther1-2/+2
Encode a list of packets differently when we are dealing with a marker bit. We now have 7 more bits to store information, we might also want to add a mark to stop using marks.
2011-08-30mgcp: Work on the decompress, compress...Holger Hans Peter Freyther1-1/+1
2011-08-30rtp: Add routine to compress the audio samplesHolger Hans Peter Freyther1-0/+28
No way to undo the compression yet, no integration with the MGCP network code.
2011-05-06src: use namespace prefix osmo_fd* and osmo_select*Pablo Neira Ayuso1-2/+2
Summary of changes: s/struct bsc_fd/struct osmo_fd/g s/bsc_register_fd/osmo_fd_register/g s/bsc_unregister_fd/osmo_fd_unregister/g s/bsc_select_main/osmo_select_main/g
2011-03-23src: use new library libosmogsm and new path to headers in libosmocorePablo Neira Ayuso1-1/+1
libosmogsm is a new library that is distributed in the libosmocore. Now, openbsc depends on it. This patch gets openbsc with this change. This patch also rewrites all include path to the new osmocom/[gsm|core] Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
2011-02-28mgcp: Introduce a trunk config for multiple trunks.Holger Hans Peter Freyther1-0/+3
A trunk will always have 32 endpoints to be used and we allow a sparse allocation of endpoints.
2011-02-28mgcp: Introduce a mgcp_trunk_config enum for endpoint configsHolger Hans Peter Freyther1-3/+9
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-1/+15
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-1/+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: Make transcoding a per Endpoint configurationHolger Hans Peter Freyther1-0/+1
This allows to switch off transcoding on the fly, or only enable it for certain vessels with known problems.
2010-09-20mgcp: Forward data from the BTS-in to the transcoderHolger Hans Peter Freyther1-0/+2
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-08-06mgcp: Remember if the endpoint was allocated...Holger Hans Peter Freyther1-0/+1
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-06mgcp: Make the CI uint32_t all the way to avoid mismatchHolger Hans Peter Freyther1-1/+1
2010-08-06mgcp: Add a call tap feature to forward audio to another forward portHolger Hans Peter Freyther1-0/+18
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/+3
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: Allocate a different port for the networking...Holger Hans Peter Freyther1-0/+1
Use the right source port when sending the message.
2010-08-05mgcp: Move the bfd for rtp/rtcp into the portHolger Hans Peter Freyther1-8/+6
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: Make the function internal, only used by the init/config codeHolger Hans Peter Freyther1-0/+1
2010-08-05mgcp: Attempt to separate the RTP/RTCP port for the Network and for the BTSHolger Hans Peter Freyther1-3/+2
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 Freyther1-13/+14
Group the data that each end (network/bts) have into a struct and use this struct throughout the sourcecode.
2010-08-03mgcp: Only patch the header if we had a change in SSRC0.9.1Holger Hans Peter Freyther1-0/+1
2010-08-03mgcp: Allow switching the audio streams, patch the headerHolger Hans Peter Freyther1-0/+5
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 Freyther1-4/+8
Use a struct to group the rtp state for the up and the down link of the bts.
2010-08-03mgcp: Allow to change the receive (the loopback part) via the VTYHolger Hans Peter Freyther1-0/+1
2010-08-03mgcp: Implement the "loopback" mode for a connection endpoint.Holger Hans Peter Freyther1-0/+9
2010-07-29mgcp: Attempt to count missing RTP packets with a basic calculationHolger Hans Peter Freyther1-0/+6
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] Add a dummy send method...Holger Hans Peter Freyther1-0/+1
This can be used by higher level code to send one dummy message from the audio port to the network. This can be used to make the remote discover the nated port of this endpoint.
2010-04-07[mgcp] Count incoming RTP packets from the BTS and remoteHolger Hans Peter Freyther1-0/+4
2010-04-05[mgcp] Export header parsing via mgcp internalHolger Hans Peter Freyther1-0/+9
This will be used by the NAT code to implement custom protocol handling on top of that.
2010-02-26Merge remote branch 'origin/master' into on-waves/mgcpHolger Hans Peter Freyther1-1/+1
Conflicts: openbsc/include/openbsc/Makefile.am openbsc/src/Makefile.am
2010-02-26[mgcp] Keep track of the local and remote RTP payload typeHolger Hans Peter Freyther1-0/+3
Keep track of which RTP payload type to use for which direction.
2010-02-22[mgcp] Move away from global variables and split out VTY codeHolger Hans Peter Freyther1-0/+61
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.